CVE-2024-35904

MEDIUM

Linux Kernel 4.17-6.6.25, 6.7.0-6.8.4, >=6.9 - NULL Pointer Dereference in SELinux Mount Failure Handling

Title source: llm
STIX 2.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.

Scores

CVSS v3 5.5
EPSS 0.0023
EPSS Percentile 13.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-476
Status published
Products (12)
linux/Kernel 4.17.0 - 6.6.26linux
linux/Kernel 6.7.0 - 6.8.5linux
Linux/Linux < 4.17
Linux/Linux 0619f0f5e36f12e100ef294f5980cfe7c93ff23e - 37801a36b4d68892ce807264f784d818f8d0d39b
Linux/Linux 0619f0f5e36f12e100ef294f5980cfe7c93ff23e - 477ed6789eb9f3f4d3568bb977f90c863c12724e
Linux/Linux 0619f0f5e36f12e100ef294f5980cfe7c93ff23e - 68784a5d01b8868ff85a7926676b6729715fff3c
Linux/Linux 4.17
Linux/Linux 6.6.26 - 6.6.*
Linux/Linux 6.8.5 - 6.8.*
Linux/Linux 6.9
... and 2 more
Published May 19, 2024
Tracked Since Feb 18, 2026