CVE-2025-38617

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

Published Aug 22, 2025 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4327-1 linux security update
Debian DLA Debian DLA DLA-4328-1 linux-6.1 security update
EUVD EUVD EUVD-2025-26086 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.
Ubuntu USN Ubuntu USN USN-7791-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7792-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7793-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7795-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7796-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7797-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7791-2 Linux kernel (Real-time) vulnerabilities
Ubuntu USN Ubuntu USN USN-7798-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7792-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-7799-1 Linux kernel (Real-time) vulnerabilities
Ubuntu USN Ubuntu USN USN-7800-1 Linux kernel (Raspberry Pi Real-time) vulnerabilities
Ubuntu USN Ubuntu USN USN-7793-2 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-7793-3 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7793-4 Linux kernel (Real-time) vulnerabilities
Ubuntu USN Ubuntu USN USN-7801-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-7795-2 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7796-2 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7796-3 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7797-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7791-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7801-2 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-7792-3 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7808-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7809-1 Linux kernel (Azure, N-Series) vulnerabilities
Ubuntu USN Ubuntu USN USN-7793-5 Linux kernel (GKE) vulnerabilities
Ubuntu USN Ubuntu USN USN-7810-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7811-1 Linux kernel (NVIDIA Tegra IGX) vulnerabilities
Ubuntu USN Ubuntu USN USN-7795-3 Linux kernel (AWS FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7819-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7796-4 Linux kernel (Azure FIPS) kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7820-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-7791-4 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-7821-1 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-7808-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7810-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7810-3 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7801-3 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-7797-3 Linux kernel (AWS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7819-2 Linux kernel (Azure FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7795-4 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-7854-1 Linux kernel (KVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-7795-5 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-7865-1 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-7875-1 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-7933-1 Linux kernel (KVM) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared Debian
Debian debian Linux
Weaknesses CWE-362
CPEs cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.6.12:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.6.12:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.6.12:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.6.12:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.6.12:rc5:*:*:*:*:*:*
Vendors & Products Debian
Debian debian Linux
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
First Time appeared Linux
Linux linux Kernel
Vendors & Products Linux
Linux linux Kernel
Type Values Removed Values Added
Weaknesses CWE-366
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Description 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.
Title net/packet: fix a race in packet_set_ring() and packet_notifier()
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 15, 2026, 10:02 PM
Reserved
Apr 16, 2025, 4:51 AM
Status
Modified
Published
Aug 22, 2025, 2:15 PM
Modified
Oct 15, 2026, 10:18 PM
Severity
Moderate
Public date
Aug 22, 2025, 12:00 AM