What’s Vulnerable › Vulnerabilities

CVE-2024-35904: selinux: avoid dereference of garbage after mount failure

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.6.26, 6.8.5; Linux 6.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-35904 or the next vulnerability affects your stack