Vulnerabilities · 2024 · Linux
CVE-2024-38566
Linux Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix verifier assumptions about socket->sk The verifier assumes that 'sk' field in 'struct socket' is valid and non-NULL when 'socket' pointer itself is trusted and non-NULL. That may not be the case when socket was just created and passed to LSM socket_accept hook. Fix this verifier assumption and adjust tests.
Affected products
Linux Kernel. 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/0db63c0b86e981a1e97d2596d64ceceba1a5470e · Patch
- git.kernel.org/stable/c/39f8a29330f433000e716eefc4b9abda05b71a82 · Patch
- git.kernel.org/stable/c/6f5ae91172a93abac9720ba94edf3ec8f4d7f24f · Patch
- git.kernel.org/stable/c/c58ccdd2483a1d990748cdaf94206b5d5986a001 · Patch
- nvd.nist.gov/vuln/detail/CVE-2024-38566
- cve.org/CVERecord?id=CVE-2024-38566
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.