CVE-2024-35904: Linux Kernel

Medium severity, CVSS 5.5. EPSS: 0.2% chance of exploitation in the next 30 days.

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

  • Linux Linux Kernel: from 4.17, before 6.6.26 (fixed in 6.6.26); from 6.7, before 6.8.5 (fixed in 6.8.5); version 6.9 only

Published 2024-05-19. Last modified 2026-06-17.