Name | CVE-2024-31852 |
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." |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1070380, 1070381, 1070382, 1070383, 1070384 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
llvm-toolchain-14 (PTS) | bookworm | 1:14.0.6-12 | vulnerable |
sid | 1:14.0.6-20 | vulnerable | |
llvm-toolchain-15 (PTS) | bookworm | 1:15.0.6-4 | vulnerable |
trixie | 1:15.0.7-15 | vulnerable | |
llvm-toolchain-16 (PTS) | bullseye | 1:16.0.6-15~deb11u2 | vulnerable |
bookworm | 1:16.0.6-15~deb12u1 | vulnerable | |
sid, trixie | 1:16.0.6-27 | vulnerable | |
llvm-toolchain-17 (PTS) | sid, trixie | 1:17.0.6-18 | vulnerable |
llvm-toolchain-18 (PTS) | sid, trixie | 1:18.1.8-12 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
llvm-toolchain-14 | source | (unstable) | (unfixed) | unimportant | 1070384 | |
llvm-toolchain-15 | source | (unstable) | (unfixed) | unimportant | 1070383 | |
llvm-toolchain-16 | source | (unstable) | (unfixed) | unimportant | 1070382 | |
llvm-toolchain-17 | source | (unstable) | (unfixed) | unimportant | 1070381 | |
llvm-toolchain-18 | source | (unstable) | 1:18.1.3-1 | unimportant | 1070380 |
https://github.com/llvm/llvm-project/issues/80287
https://bugs.chromium.org/p/llvm/issues/detail?id=69
https://github.com/llvmbot/llvm-project/commit/0e16af8e4cf3a66ad5d078d52744ae2776f9c4b2
Negligible security impact