CVE-2024-35904

selinux: avoid dereference of garbage after mount failure

MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.23 % · percentile 14 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 0619f0f5e36f12e100ef294f5980cfe7c93ff23e < 477ed6789eb9f3f4d3568bb977f90c863c12724e ; affected 0619f0f5e36f12e100ef294f5980cfe7c93ff23e < 68784a5d01b8868ff85a7926676b6729715fff3c ; affected 0619f0f5e36f12e100ef294f5980cfe7c93ff23e < 37801a36b4d68892ce807264f784d818f8d0d39b
Linux · Linuxaffected 4.17 ; unaffected 0 < 4.17 ; unaffected 6.6.26 ≤ 6.6.* ; unaffected 6.8.5 ≤ 6.8.* ; unaffected 6.9 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD