llvm-toolchain-18: LLVM before 18.1.3 generates code in which the LR register can be overwritten without data being saved to the stack,...
CVE-2024-31852 is fixed in llvm-toolchain-18 on 1 platform by DEBIAN-CVE-2024-31852 (version 1:18.1.3-1), released April 5, 2024. It is not reported as exploited. Patch Radar priority: Routine.
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."
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| llvm-toolchain-18 · Debian 13.5 (trixie) | 1:18.1.3-1 | DEBIAN-CVE-2024-31852 | Apr 5, 2024 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.