CVE-2024-35904

selinux: avoid dereference of garbage after mount failure

published May 19, 2024

CVSS
—
EPSS
0%
Percentile
12.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00228 · 12.8th percentile
Published
2024-05-19T08:34Z
EPSS history
Timeline
  • 19 MAY 08:34Z
    selinux: avoid dereference of garbage after mount failure
    cvelistv5