CVE-2024-35904: Linux kernel · selinux: avoid dereference of garbage after mount failure
Affects Linux kernelSource GCVE Database
Not known to be exploited.
Data as of 30 Oct 2026, 13:33 UTC
Rated by Threat Radar · No CVSS score from NVD or the CNA
Thin evidence
One scorer or noneExploitation evidence
Disclosed: evidence found.
CVE published 19 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
Description
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.
References
- git.kernel.org/stable/c/563e631a18c5b2bbab674a58154bcf41a6d90f13 (opens in a new tab)
- git.kernel.org/stable/c/477ed6789eb9f3f4d3568bb977f90c863c12724e (opens in a new tab)
- git.kernel.org/stable/c/68784a5d01b8868ff85a7926676b6729715fff3c (opens in a new tab)
- git.kernel.org/stable/c/37801a36b4d68892ce807264f784d818f8d0d39b (opens in a new tab)
- openwall.com/lists/oss-security/2024/05/30/2 (opens in a new tab)
- openwall.com/lists/oss-security/2024/05/30/1 (opens in a new tab)