NetSight
medium5.5

CVE-2024-35904

In the Linux kernel, the following vulnerability has been resolved: selinux: avoid dereference of garbage after mount failure In case kern_mount() fails and re…

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
from 4.17 before 6.6.26
from 6.7 before 6.8.5
Version 6.9

Weakness classification

References