# CVE-2025-38617: net/packet: fix a race in packet\_set\_ring() and packet\_notifier()

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-08-22 · Modified: 2026-10-15
- Aliases: UBUNTU-CVE-2025-38617, DEBIAN-CVE-2025-38617
- Record: https://cvemate.com/vulnerability/CVE-2025-38617 · JSON: https://cvemate.com/vulnerability/CVE-2025-38617/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.454%, percentile 41.14%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 150)

- debian linux (Debian): \< 6.1.148-1 \| \< 6.12.43-1 \| \< 6.16.3-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.4.0-273.307 \| \< 4.15.0-242.254 \| \< 5.4.0-222.242 \| \< 5.15.0-157.167 \| \< 6.8.0-85.85
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1148.154 \| \< 4.4.0-1186.201 \| \< 4.15.0-1185.198 \| \< 5.4.0-1151.161 \| \< 5.15.0-1093.100 \| \< 6.8.0-1040.42
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1093.100~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1151.161~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): \< 6.14.0-1014.14~24.04.1
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1040.42~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2123.129 \| All versions (No fix recorded) \| \< 5.4.0-1151.161+fips1 \| \< 5.15.0-1093.100+fips1 \| \< 6.8.0-1040.42+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1185.198~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1193.208~14.04.1 \| \< 4.15.0-1193.208~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1154.161 \| \< 5.15.0-1097.106 \| \< 6.8.0-1040.46
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1193.208

## References (first 20 of 62)

- <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>
- <https://ubuntu.com/security/CVE-2025-38617>
- <https://www.cve.org/CVERecord?id=CVE-2025-38617>
- <https://git.kernel.org/linus/01d3c8417b9c1b884a8a981a3b886da556512f36>
- <https://ubuntu.com/security/notices/USN-7791-1>
- <https://ubuntu.com/security/notices/USN-7792-1>
- <https://ubuntu.com/security/notices/USN-7793-1>
- <https://ubuntu.com/security/notices/USN-7795-1>

---

Data as of 2026-12-05T03:09:51.886Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
