PT-2024-7067 · Linux+10 · Linux Kernel+10
Suman Maity
·
Published
2024-07-03
·
Updated
2025-09-29
·
CVE-2024-42240
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to the x86/bhi mitigation in the Linux kernel. When BHI mitigation is enabled and SYSENTER is invoked with the TF flag set, the
entry SYSENTER compat() function uses CLEAR BRANCH HISTORY and calls clear bhb loop() before the TF flag is cleared. This causes the #DB handler (exc debug kernel()) to issue a warning because single-step is used outside the entry SYSENTER compat() function. The problem can be reproduced with a specific sequence of assembly code instructions. The kernel log shows a warning and a call trace indicating the issue.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
DoS
Infinite Loop
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Almalinux
Astra Linux
Centos
Linuxmint
Linux Kernel
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu