{"id":"CVE-2025-38617","published":"2025-08-22T13:01:23Z","modified":"2026-10-15T22:02:26Z","title":"net/packet: fix a race in packet_set_ring() and packet_notifier()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/packet: fix a race in packet_set_ring() and packet_notifier()\n\nWhen packet_set_ring() releases po->bind_lock, another thread can\nrun packet_notifier() and process an NETDEV_UP event.\n\nThis race and the fix are both similar to that of commit 15fe076edea7\n(\"net/packet: fix a race in packet_bind() and packet_notifier()\").\n\nThere too the packet_notifier NETDEV_UP event managed to run while a\npo->bind_lock critical section had to be temporarily released. And\nthe fix was similarly to temporarily set po->num to zero to keep\nthe socket unhooked until the lock is retaken.\n\nThe po->bind_lock in packet_set_ring and packet_notifier precede the\nintroduction of git history.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00375,"percentile":0.2341,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/18f13f2a83eb81be349a9757ba2141ff1da9ad73","tags":[]},{"url":"https://git.kernel.org/stable/c/7da733f117533e9b2ebbd530a22ae4028713955c","tags":[]},{"url":"https://git.kernel.org/stable/c/ba2257034755ae773722f15f4c3ad1dcdad15ca9","tags":[]},{"url":"https://git.kernel.org/stable/c/7de07705007c7e34995a5599aaab1d23e762d7ca","tags":[]},{"url":"https://git.kernel.org/stable/c/88caf46db8239e6471413d28aabaa6b8bd552805","tags":[]},{"url":"https://git.kernel.org/stable/c/f2e8fcfd2b1bc754920108b7f2cd75082c5a18df","tags":[]},{"url":"https://git.kernel.org/stable/c/e50ccfaca9e3c671cae917dcb994831a859cf588","tags":[]},{"url":"https://git.kernel.org/stable/c/f1791fd7b845bea0ce9674fcf2febee7bc87a893","tags":[]},{"url":"https://git.kernel.org/stable/c/01d3c8417b9c1b884a8a981a3b886da556512f36","tags":[]},{"url":"https://blog.calif.io/p/a-race-within-a-race-exploiting-cve","tags":[]},{"url":"https://github.com/google/security-research/pull/339","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":[]}],"priority":{"score":10.1,"factors":[{"name":"EPSS percentile","points":4.68},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 18f13f2a83eb81be349a9757ba2141ff1da9ad73",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7da733f117533e9b2ebbd530a22ae4028713955c",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ba2257034755ae773722f15f4c3ad1dcdad15ca9",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7de07705007c7e34995a5599aaab1d23e762d7ca",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 88caf46db8239e6471413d28aabaa6b8bd552805",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f2e8fcfd2b1bc754920108b7f2cd75082c5a18df",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e50ccfaca9e3c671cae917dcb994831a859cf588",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f1791fd7b845bea0ce9674fcf2febee7bc87a893",">= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 01d3c8417b9c1b884a8a981a3b886da556512f36"]},{"vendor":"Linux","product":"Linux","versions":["2.6.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-15T21:52:21.634455Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-26086","exploited":false,"provenance":"source"}}