Vulnerabilities · 2025 · Linux
CVE-2025-38617
Linux Kernel vulnerability
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 products
Linux Kernel, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/01d3c8417b9c1b884a8a981a3b886da556512f36 · Patch
- git.kernel.org/stable/c/18f13f2a83eb81be349a9757ba2141ff1da9ad73 · Patch
- git.kernel.org/stable/c/7da733f117533e9b2ebbd530a22ae4028713955c · Patch
- git.kernel.org/stable/c/7de07705007c7e34995a5599aaab1d23e762d7ca · Patch
- git.kernel.org/stable/c/88caf46db8239e6471413d28aabaa6b8bd552805 · Patch
- git.kernel.org/stable/c/ba2257034755ae773722f15f4c3ad1dcdad15ca9 · Patch
- git.kernel.org/stable/c/e50ccfaca9e3c671cae917dcb994831a859cf588 · Patch
- git.kernel.org/stable/c/f1791fd7b845bea0ce9674fcf2febee7bc87a893 · Patch
- nvd.nist.gov/vuln/detail/CVE-2025-38617
- cve.org/CVERecord?id=CVE-2025-38617
More vulnerabilities in Linux products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.