Vulnerabilities · 2024 · Linux
CVE-2024-35904
Linux Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: selinux: avoid dereference of garbage after mount failure In case kern_mount() fails and returns an error pointer return in the error branch instead of continuing and dereferencing the error pointer. While on it drop the never read static variable selinuxfs_mount.
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/37801a36b4d68892ce807264f784d818f8d0d39b · Patch
- git.kernel.org/stable/c/477ed6789eb9f3f4d3568bb977f90c863c12724e · Patch
- git.kernel.org/stable/c/68784a5d01b8868ff85a7926676b6729715fff3c · Patch
- www.openwall.com/lists/oss-security/2024/05/30/1
- www.openwall.com/lists/oss-security/2024/05/30/2
- git.kernel.org/stable/c/563e631a18c5b2bbab674a58154bcf41a6d90f13
- nvd.nist.gov/vuln/detail/CVE-2024-35904
- cve.org/CVERecord?id=CVE-2024-35904
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.