CVE-2024-35904: selinux: avoid dereference of garbage after mount failure
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.
Security readout for executives and security teams
CVE-2024-35904 is a Linux kernel SELinux bug where a failed internal mount can leave an invalid error pointer that is later dereferenced. The sources confirm kernel fixes, but do not state business impact, attacker requirements, or exploitability. Treat it as a kernel patch-management item until distro guidance clarifies exposure. Exposure is most likely on Linux systems running affected kernel builds before the referenced stable fixes. Exact exposure depends on vendor backports and distribution kernel packages, which are not detailed in the provided sources. Moderate operational priority pending vendor severity. No active exploitation is evidenced, but kernel flaws can require coordinated patching and reboots, so include it in the next Linux maintenance cycle. Mitigation focus: Apply Linux kernel updates from your distribution or vendor.; Verify updates include one of the referenced stable fixes or equivalent backport.; Prioritize internet-facing and multi-user Linux systems once vendor severity is known..
Prepared
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2024-35904 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.