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.
CVE-2024-35904
CVSS base score
5.5 (v3.1)
Severity
MEDIUM
Attack vector
Local
Weakness
CWE-476
Last modified
October 30, 2026
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected products
linux linux kernel
References
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org
- git.kernel.org Patch
- www.openwall.com Mailing List
- www.openwall.com Mailing List
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch