Skip to main content
← All vulnerabilities
CVE-2024-35904

selinux: avoid dereference of garbage after mount failure

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.6.26, 6.8.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    Version range not reported

  • Linux Linux

    4.17

  • KernelLinux

    From 4.17.0 · fixed in 6.6.26; From 6.7.0 · fixed in 6.8.5

References 4

git.kernel.org