CVE-2024-35904
selinux: avoid dereference of garbage after mount failure
Reported by linux · Published May 19, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.8.5, 6.6.26 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 0619f0f5e36f12e100ef294f5980cfe7c93ff23e, 0619f0f5e36f12e100ef294f5980cfe7c93ff23e, 0619f0f5e36f12e100ef294f5980cfe7c93ff23e |
| Linux | Linux | 4.17, 0, 6.1.191 |
| Linux | Linux | 6.9, 0, 6.1.191 |
| linux | linux_kernel | 4.17, 4.17, 4.17 |
Timeline
- May 19, 2024 CVE Published
- May 20, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (14 in total, the first dated here)
- Dec 16, 2025 PoC Published
- Jan 10, 2026 Security Advisory (456 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (350 in total, the first dated here)
- Oct 30, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-35904
vulnetix vdb fixes CVE-2024-35904
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-35904/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart