CVE Explore

NULL pointer dereference in Linux

CVE-2024-35904

CVSS v3
5.5 Medium
Public exploits
None known
EPSS
0.002 · 13.8th percentile
Published
2024-05-19

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

Attack Vector
Local AV:L
Attack Complexity
Low AC:L
Privileges Required
Low PR:L
User Interaction
None UI:N
Scope
Unchanged S:U
Confidentiality
None C:N
Integrity
None I:N
Availability
High A:H

EPSS exploit prediction

EPSS 0.002, 13.8th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 0619f0f5e36f12e100ef294f5980cfe7c93ff23e, 4.17, 0
  • Linux Kernel — versions 6.9

Weakness classification (CWE)

References