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
- git.kernel.org/stable/c/477ed6789eb9f3f4d3568bb977f90c863c12724e (Patch)
- git.kernel.org/stable/c/68784a5d01b8868ff85a7926676b6729715fff3c (Patch)
- git.kernel.org/stable/c/37801a36b4d68892ce807264f784d818f8d0d39b (Patch)
- www.openwall.com/lists/oss-security/2024/05/30/1 (Mailing List)
- www.openwall.com/lists/oss-security/2024/05/30/2 (Mailing List)
- git.kernel.org/stable/c/563e631a18c5b2bbab674a58154bcf41a6d90f13