CVE-2024-35904

MEDIUM

Linux Kernel < 6.6.26 - NULL Pointer Dereference

Title source: rule

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.0003
EPSS Percentile 7.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE
CWE-476
Status published

Affected Products (5)

linux/linux_kernel < 6.6.26
linux/linux_kernel
linux/linux_kernel
linux/Kernel < 6.6.26linux
linux/Kernel < 6.8.5linux

Timeline

Published May 19, 2024
Tracked Since Feb 18, 2026