GHSA-x32j-25w6-p7m4MediumCVSS 5.5
In the Linux kernel, the following vulnerability has been resolved: selinux: avoid dereference...
🔗 CVE IDs covered (1)
📋 Description
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.
🔗 References (8)
- https://nvd.nist.gov/vuln/detail/CVE-2024-35904
- https://git.kernel.org/stable/c/37801a36b4d68892ce807264f784d818f8d0d39b
- https://git.kernel.org/stable/c/477ed6789eb9f3f4d3568bb977f90c863c12724e
- https://git.kernel.org/stable/c/68784a5d01b8868ff85a7926676b6729715fff3c
- http://www.openwall.com/lists/oss-security/2024/05/30/1
- http://www.openwall.com/lists/oss-security/2024/05/30/2
- https://git.kernel.org/stable/c/563e631a18c5b2bbab674a58154bcf41a6d90f13
- https://github.com/advisories/GHSA-x32j-25w6-p7m4