Vulnerability · Published Aug 22, 2025 · Assigned by Linux
CVE-2025-38617net/packet: fix a race in packet_set_ring() and packet_notifier()
High 7.8
In plain English
A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.148-1 | DEBIAN-CVE-2025-38617 |
| Debian:13 | linux | 6.12.43-1 | DEBIAN-CVE-2025-38617 |
| Debian:14 | linux | 6.16.3-1 | DEBIAN-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux | 5.15.0-157.167 | USN-7793-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-157.167 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux | 6.8.0-85.85 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux | 6.8.0-85.85 | USN-7792-1 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1093.100 | USN-7793-1 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1093.100 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1040.42 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1040.42 | USN-7792-1 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-aws-6.14 | 6.14.0-1014.14~24.04.1 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-aws-6.14 | 6.14.0-1014.14~24.04.1 | USN-7791-1 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1040.42~22.04.1 | USN-7792-3 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1040.42~22.04.1 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1097.106 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1097.106 | USN-7810-1 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1040.46 | USN-7808-1 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1040.46 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-azure-6.14 | 6.14.0-1013.13~24.04.1 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1040.46~22.04.1 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1040.46~22.04.1 | USN-7808-2 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1098.107.1 | UBUNTU-CVE-2025-38617 |
| Ubuntu:25.10 | linux-azure-fde | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-azure-nvidia | 6.8.0-1025.27 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-azure-nvidia-6.14 | 6.14.0-1007.7 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1093.102 | USN-7793-1 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1093.102 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1041.43 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1041.43 | USN-7792-1 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-gcp-6.14 | 6.14.0-1017.18~24.04.1 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-gcp-6.14 | 6.14.0-1017.18~24.04.1 | USN-7791-3 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1041.43~22.04.1 | USN-7792-1 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1041.43~22.04.1 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1090.96 | USN-7793-5 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1090.96 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1037.41 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1037.41 | USN-7792-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1076.84 | USN-7793-1 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1076.84 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1024.26 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1024.26 | USN-7792-1 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-hwe-6.14 | 6.14.0-33.33~24.04.1 | USN-7791-1 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-85.85~22.04.1 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1087.90 | USN-7793-1 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1087.90 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1038.38 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1038.38 | USN-7792-1 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1038.38~22.04.1 | USN-7792-1 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1038.38~22.04.1 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-intel | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1088.94 | USN-7793-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1088.94 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1089.94 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-157.167 | USN-7793-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-157.167 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-85.85.1 | USN-7792-1 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-85.85.1 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-85.85.1~22.04.1 | USN-7792-1 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-85.85.1~22.04.1 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1088.89 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1088.89 | USN-7793-1 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1040.43 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1040.43 | USN-7792-1 |
| Ubuntu:24.04:LTS | linux-nvidia-6.11 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1040.43~22.04.1 | USN-7792-1 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1040.43~22.04.1 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1040.43.1 | USN-7792-1 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1040.43.1 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1046.46 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1046.46 | USN-7793-1 |
| Ubuntu:24.04:LTS | linux-nvidia-tegra | 6.8.0-1012.12 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1035.35 | USN-7811-1 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1035.35 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-oem-6.14 | 6.14.0-1013.13 | USN-7791-3 |
| Ubuntu:24.04:LTS | linux-oem-6.14 | 6.14.0-1013.13 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1091.97 | USN-7793-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1091.97 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1037.38 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-oracle-6.14 | 6.14.0-1014.14~24.04.1 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-oracle-6.14 | 6.14.0-1014.14~24.04.1 | USN-7791-4 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1037.38~22.04.1 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1087.90 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1087.90 | USN-7793-1 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1040.44 | USN-7792-2 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1040.44 | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-riscv-6.14 | 6.14.0-33.33.1~24.04.1 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-riscv-6.8 | 6.8.0-86.87~22.04.1 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2025-38617 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1018.19 | UBUNTU-CVE-2025-38617 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1057.61 | USN-7793-1 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1057.61 | UBUNTU-CVE-2025-38617 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 18f13f2a83eb81be349a9757ba2141ff1da9ad731da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 7da733f117533e9b2ebbd530a22ae4028713955c1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before ba2257034755ae773722f15f4c3ad1dcdad15ca91da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 7de07705007c7e34995a5599aaab1d23e762d7ca1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before 88caf46db8239e6471413d28aabaa6b8bd5528051da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before f2e8fcfd2b1bc754920108b7f2cd75082c5a18df1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before e50ccfaca9e3c671cae917dcb994831a859cf5881da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – before f1791fd7b845bea0ce9674fcf2febee7bc87a893 |
| Linux | Linux | 2.6.12 |
References
- https://git.kernel.org/stable/c/18f13f2a83eb81be349a9757ba2141ff1da9ad73
- https://git.kernel.org/stable/c/7da733f117533e9b2ebbd530a22ae4028713955c
- https://git.kernel.org/stable/c/ba2257034755ae773722f15f4c3ad1dcdad15ca9
- https://git.kernel.org/stable/c/7de07705007c7e34995a5599aaab1d23e762d7ca
- https://git.kernel.org/stable/c/88caf46db8239e6471413d28aabaa6b8bd552805
- https://git.kernel.org/stable/c/f2e8fcfd2b1bc754920108b7f2cd75082c5a18df
- https://git.kernel.org/stable/c/e50ccfaca9e3c671cae917dcb994831a859cf588
- https://git.kernel.org/stable/c/f1791fd7b845bea0ce9674fcf2febee7bc87a893
- https://git.kernel.org/stable/c/01d3c8417b9c1b884a8a981a3b886da556512f36
- https://blog.calif.io/p/a-race-within-a-race-exploiting-cve
- https://github.com/google/security-research/pull/339
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html