CVE-2024-35904
MEDIUM 5.5CVSS 3.1In 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.
- Published
- 19 May 2024
- Last modified
- 30 Oct 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-476
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.17, < 6.6.26 | 6.6.26 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.8.5 | 6.8.5 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:* |
= 6.9 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:* |
= 6.9 |
References
- https://git.kernel.org/stable/c/37801a36b4d68892ce807264f784d818f8d0d39b · Patch
- https://git.kernel.org/stable/c/477ed6789eb9f3f4d3568bb977f90c863c12724e · Patch
- https://git.kernel.org/stable/c/563e631a18c5b2bbab674a58154bcf41a6d90f13
- https://git.kernel.org/stable/c/68784a5d01b8868ff85a7926676b6729715fff3c · Patch
- http://www.openwall.com/lists/oss-security/2024/05/30/1 · Mailing List
- http://www.openwall.com/lists/oss-security/2024/05/30/2 · Mailing List
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 19 May 2024)