Back
CVE-2024-35904selinux: avoid dereference of garbage after mount failure
- 5.5MediumCVSS base score
- 0.23%Exploitation in 30 daysEPSS · top 86% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 2 days later
· 2 days later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.23% · top 86% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 0619f0f5e36f12e100ef294f5980cfe7c93ff23e – < 563e631a18c5b2bbab674a58154bcf41a6d90f13
- affected 0619f0f5e36f12e100ef294f5980cfe7c93ff23e – < 477ed6789eb9f3f4d3568bb977f90c863c12724e
- affected 0619f0f5e36f12e100ef294f5980cfe7c93ff23e – < 68784a5d01b8868ff85a7926676b6729715fff3c
- affected 0619f0f5e36f12e100ef294f5980cfe7c93ff23e – < 37801a36b4d68892ce807264f784d818f8d0d39b
- affected 4.17
- unaffected < 4.17
- unaffected 6.1.191 – ≤ 6.1.*
- unaffected 6.6.26 – ≤ 6.6.*
- unaffected 6.8.5 – ≤ 6.8.*
- unaffected 6.9 – ≤ *
References
References6
- https://git.kernel.org/stable/c/563e631a18c5b2bbab674a58154bcf41a6d90f13 (opens in a new tab)
- https://git.kernel.org/stable/c/477ed6789eb9f3f4d3568bb977f90c863c12724e (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/68784a5d01b8868ff85a7926676b6729715fff3c (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/37801a36b4d68892ce807264f784d818f8d0d39b (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2024/05/30/2 (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2024/05/30/1 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-35622 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-35904)Record last updated .