CVE-2024-35904: selinux: avoid dereference of garbage after mount failure
Vulnerability summary
CVE-2024-35904 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 14.6% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 32 · Related 30Timeline
- 19-05-2024PublishedVulnerability first disclosed.
- 30-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.23% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu119 products
- linux< 5.4.0-202.222 | < 5.15.0-127.137 | < 6.8.0-38.38
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.4.0-1136.146 | < 5.15.0-1073.79 | < 6.8.0-1011.12
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 0619f0f5e36f12e100ef294f5980cfe7c93ff23e, < 563e631a18c5b2bbab674a58154bcf41a6d90f13 | ≥ 0619f0f5e36f12e100ef294f5980cfe7c93ff23e, < 477ed6789eb9f3f4d3568bb977f90c863c12724e | ≥ 0619f0f5e36f12e100ef294f5980cfe7c93ff23e, < 68784a5d01b8868ff85a7926676b6729715fff3c | ≥ 0619f0f5e36f12e100ef294f5980cfe7c93ff23e, < 37801a36b4d68892ce807264f784d818f8d0d39b | 4.17
- linux_kernel≥ 4.17, < 6.6.26 | ≥ 6.7, < 6.8.5 | 6.9:rc1 | 6.9:rc2
Debian1 product
- linuxAll versions (No fix recorded) | < 6.1.192-1 | < 6.8.9-1
3 vendors · 122 products