CVE-2025-38617CWE-362

CVE-2025-38617

High · published August 22, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
32.8
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

net/packet: fix a race in packet_set_ring() and packet_notifier()

When packet_set_ring() releases po->bind_lock, another thread can

run packet_notifier() and process an NETDEV_UP event.

This race and the fix are both similar to that of commit 15fe076edea7

("net/packet: fix a race in packet_bind() and packet_notifier()").

There too the packet_notifier NETDEV_UP event managed to run while a

po->bind_lock critical section had to be temporarily released. And

the fix was similarly to temporarily set po->num to zero to keep

the socket unhooked until the lock is retaken.

The po->bind_lock in packet_set_ring and packet_notifier precede the

introduction of git history.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00398 · 32.8th percentile
Weakness
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Published
2025-08-22T18:15Z
Affected products (14)
ProductVersionsFixed in
linux/linux_kernel≥ 2.6.13, < 5.4.2975.4.297
linux/linux_kernel≥ 5.5, < 5.10.2415.10.241
linux/linux_kernel≥ 5.11, < 5.15.1905.15.190
linux/linux_kernel≥ 5.16, < 6.1.1486.1.148
linux/linux_kernel≥ 6.2, < 6.6.1026.6.102
linux/linux_kernel≥ 6.7, < 6.12.426.12.42
linux/linux_kernel≥ 6.13, < 6.15.106.15.10
linux/linux_kernel≥ 6.16, < 6.16.16.16.1
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
debian/debian_linuxall versions—
References (13)
EPSS history
Timeline
  • 22 AUG 13:01Z
    net/packet: fix a race in packet_set_ring() and packet_notifier()
    cvelistv5