Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-35904

selinux: avoid dereference of garbage after mount failure

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 0619f0f5e36f12e100ef294f5980cfe7c93ff23e to < 477ed6789eb9f3f4d3568bb977f90c863c12724eaffected
  • 0619f0f5e36f12e100ef294f5980cfe7c93ff23e to < 68784a5d01b8868ff85a7926676b6729715fff3caffected
  • 0619f0f5e36f12e100ef294f5980cfe7c93ff23e to < 37801a36b4d68892ce807264f784d818f8d0d39baffected

Linux Linux

Default version status: affected

  • 4.17affected
  • 0 to < 4.17unaffected
  • 6.6.26 to ≤ 6.6.*unaffected
  • 6.8.5 to ≤ 6.8.*unaffected
  • 6.9 to ≤ *unaffected

References