Logo
vulnerabilityCVE-2024-31852
Name
CVE-2024-31852
Source
NVD ( link)Debian ( link)
Description
LLVM before 18.1.3 generates code in which the LR register can be overwritten without data being saved to the stack, and thus there can sometimes be an exploitable error in the flow of control. This affects the ARM backend and can be demonstrated with Clang. NOTE: the vendor perspective is "we don't have strong objections for a CVE to be created ... It does seem that the likelihood of this miscompile enabling an exploit remains very low, because the miscompile resulting in this JOP gadget is such that the function is most likely to crash on most valid inputs to the function. So, if this function is covered by any testing, the miscompile is most likely to be discovered before the binary is shipped to production."
CWEs
-
Published Date
Updated Date
Workaround
-
Advisories

Analysis#


Affected Component
Analysis
llvm
Patched

Vulnerability Ratings#


5.9
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
15.0.7
Not Affected
buildroot
master
22.1.8
Not Affected
openwrt
master
22.1.5
Not Affected
openwrt
openwrt-25.12
21.1.3
Not Affected
yocto
master
22.1.8
Not Affected
yocto
scarthgap
18.1.8
Not Affected

Resolved with patches#


llvm (yocto:kirkstone)

#
Title
Author
Resolve
1
Patch #1
Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
CVE-2024-31852
2
Patch #2
Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
CVE-2024-31852