Vulnerability

CVE-2024-35904

mediumCVSS 3.1 5.5Published 19 May 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Linux linux kernel

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning