Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2024-35904

medium

In 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

Data sources

NVD CVE API 2.0 — fetched 2026-10-30 13:38 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs