CVE-2025-38617 json
net/packet: fix a race in packet_set_ring() and packet_notifier()
published 2025-08-22 14 mo ago modified 2026-10-15 24 d ago also EUVD-2025-26086
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 34%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.4.297, 5.10.241, 5.15.190, 6.1.148, 6.6.102, 6.12.42, 6.15.10, 6.16.1, 6.17
- linux Debian 12 6.1.148-1
- linux Debian 13 6.12.43-1
- linux Debian 14 6.16.3-1
debian advisories DEBIAN-CVE-2025-38617
- linux Ubuntu 22.04 LTS 5.15.0-157.167
- linux Ubuntu 24.04 LTS 6.8.0-85.85
- linux-aws Ubuntu 22.04 LTS 5.15.0-1093.100
- linux-aws Ubuntu 24.04 LTS 6.8.0-1040.42
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1093.102
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1041.43
- linux-gke Ubuntu 22.04 LTS 5.15.0-1090.96
- linux-gke Ubuntu 24.04 LTS 6.8.0-1037.41
ubuntu advisories UBUNTU-CVE-2025-38617
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-livepatch-SLE16_Update_0 SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 5-160000.4.3
- kernel-livepatch-SLE16-RT_Update_0 Linux Micro 6.2 4-160000.3.4
- kernel-rt Linux Micro 6.2 6.12.0-160000.6.1
- kernel-64kb SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 6.12.0-160000.6.1
- kernel-source SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 6.12.0-160000.6.1
- kernel-default SLES 16.0, SLE High Availability Extension 16.0, Linux Micro 6.2 +1 more 6.12.0-160000.6.1
- kernel-default-base SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 6.12.0-160000.6.1.160000.2.4
- kernel-syms SLES 16.0, Linux Micro Extras 6.2, SLES for SAP applications 16.0 6.12.0-160000.6.1
suse advisories SUSE-SU-2026:20149-1SUSE-SU-2026:20169-1SUSE-SU-2026:20164-1SUSE-SU-2025:4315-1SUSE-SU-2025:21074-1SUSE-SU-2025:21139-1
- kernel-rt openSUSE Leap 16.0 6.12.0-160000.6.1
- dtb-aarch64 openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-64kb openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-syms openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-obs-qa openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-source openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-default openSUSE Leap 16.0 6.12.0-160000.6.1
- kernel-kvmsmall openSUSE Leap 16.0 6.12.0-160000.6.1
opensuse advisories openSUSE-SU-2025:20081-1
- kernel Azure Linux 3.0 6.6.104.2-1
- kernel CBL-Mariner 2.0 5.15.200.1-1
azure linux advisories AZL-66608AZL-73611
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- git.kernel.org/stable/c/18f13f2a83eb81be349a9757ba2141ff1da9ad73 commit
- git.kernel.org/stable/c/7da733f117533e9b2ebbd530a22ae4028713955c commit
- git.kernel.org/stable/c/ba2257034755ae773722f15f4c3ad1dcdad15ca9 commit
- git.kernel.org/stable/c/7de07705007c7e34995a5599aaab1d23e762d7ca commit
- git.kernel.org/stable/c/88caf46db8239e6471413d28aabaa6b8bd552805 commit
- git.kernel.org/stable/c/f2e8fcfd2b1bc754920108b7f2cd75082c5a18df commit
- git.kernel.org/stable/c/e50ccfaca9e3c671cae917dcb994831a859cf588 commit
- git.kernel.org/stable/c/f1791fd7b845bea0ce9674fcf2febee7bc87a893 commit
- git.kernel.org/stable/c/01d3c8417b9c1b884a8a981a3b886da556512f36 commit
- github.com/google/security-research#339 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-38617 updated cvss 4.1
kernel: net/packet: fix a race in packet_set_ring() and packet_notifier()
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelaffected: no fix available
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 24 d ago
Exploit prediction
0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
- Technology feeds
References
-
git.kernel.org
/stable/c/18f13f2a83eb81be349a9757ba2141ff1da9ad73
patch
-
git.kernel.org
/stable/c/7da733f117533e9b2ebbd530a22ae4028713955c
patch
-
git.kernel.org
/stable/c/ba2257034755ae773722f15f4c3ad1dcdad15ca9
patch
-
git.kernel.org
/stable/c/7de07705007c7e34995a5599aaab1d23e762d7ca
patch
-
git.kernel.org
/stable/c/88caf46db8239e6471413d28aabaa6b8bd552805
patch
-
git.kernel.org
/stable/c/f2e8fcfd2b1bc754920108b7f2cd75082c5a18df
patch
-
git.kernel.org
/stable/c/e50ccfaca9e3c671cae917dcb994831a859cf588
patch
-
git.kernel.org
/stable/c/f1791fd7b845bea0ce9674fcf2febee7bc87a893
patch
-
git.kernel.org
/stable/c/01d3c8417b9c1b884a8a981a3b886da556512f36
patch
- github.com /google/security-research/pull/339
- blog.calif.io /p/a-race-within-a-race-exploiting-cve
-
lists.debian.org
/debian-lts-announce/2025/10/msg00008.html
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2025/10/msg00007.html
third-party-advisory
Sources
- CVE List CVE-2025-38617
- NVD CVE-2025-38617
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.