CVE-2024-35904
mediumIn the Linux kernel, the following vulnerability has been resolved: selinux: avoid dereference of garbage after mount failure In case kern_mount() fails and…
Vendor / product: Linux — linux kernel
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
5.5
5.5 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2024-05-19 09:15
Modified: 2026-10-30 13:17
NVD status: Modified
Last synced 3 days ago
Verified against the source API 2026-10-30 13:38 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).
Affected products
linux / linux_kernel ≥4.17 <6.6.26, ≥6.7 <6.8.5, 6.9
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
Patch / mitigation: https://git.kernel.org/stable/c/37801a36b4d68892ce807264f784d818f8d0d39b
Patch / mitigation: https://git.kernel.org/stable/c/477ed6789eb9f3f4d3568bb977f90c863c12724e
Patch / mitigation: https://git.kernel.org/stable/c/68784a5d01b8868ff85a7926676b6729715fff3c
Patch / mitigation: https://git.kernel.org/stable/c/37801a36b4d68892ce807264f784d818f8d0d39b
Patch / mitigation: https://git.kernel.org/stable/c/477ed6789eb9f3f4d3568bb977f90c863c12724e
Patch / mitigation: https://git.kernel.org/stable/c/68784a5d01b8868ff85a7926676b6729715fff3c
References
- https://git.kernel.org/stable/c/37801a36b4d68892ce807264f784d818f8d0d39b 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- https://git.kernel.org/stable/c/477ed6789eb9f3f4d3568bb977f90c863c12724e 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- https://git.kernel.org/stable/c/563e631a18c5b2bbab674a58154bcf41a6d90f13 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- https://git.kernel.org/stable/c/68784a5d01b8868ff85a7926676b6729715fff3c 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- http://www.openwall.com/lists/oss-security/2024/05/30/1 af854a3a-2127-422b-91ae-364da2661108
- http://www.openwall.com/lists/oss-security/2024/05/30/2 af854a3a-2127-422b-91ae-364da2661108
- https://git.kernel.org/stable/c/37801a36b4d68892ce807264f784d818f8d0d39b af854a3a-2127-422b-91ae-364da2661108
- https://git.kernel.org/stable/c/477ed6789eb9f3f4d3568bb977f90c863c12724e af854a3a-2127-422b-91ae-364da2661108
- https://git.kernel.org/stable/c/68784a5d01b8868ff85a7926676b6729715fff3c af854a3a-2127-422b-91ae-364da2661108
Data sources
NVD CVE API 2.0 — fetched 2026-10-30 13:38 UTC · record ↗
