Junglewise Threat Intelligence

CVE-2024-50010: Linux kernel race condition in exec path_noexec check

CVE-2024-50010 · Severity: medium · CVSS 4.7 · Published 2024-10-21

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's execution handling could allow a local user to trigger system warnings and potential instability. This occurs due to a technical race condition when checking file permissions during the execution of a program. While it does not directly allow data theft, it can impact system reliability and operational monitoring.

Technical details

A race condition existed in the Linux kernel's exec component within the path_noexec() check. Previously, the kernel used WARN_ON_ONCE to validate that a file being executed was a regular file and not on a noexec-mounted filesystem, but these checks were redundant with earlier validation steps. Because the path_noexec check was performed without sufficient synchronization against concurrent flag changes, it could trigger spurious kernel warnings (kernel oops/warnings) if another process modified the mount flags simultaneously. The fix removes the WARN_ON wrapper while maintaining the functional check to prevent unnecessary system alerts and potential automated reboot-on-warn scenarios.

Affected products

  • Linux Linux kernel up to 6.11.3

Timeline

  • 2024-10-21: disclosed
  • 2024-10-21: advisory

References

Related threats