arm64: probes: Remove broken LDR (literal) uprobe support
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · Low · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
In the Linux kernel, the following vulnerability has been resolved: arm64: probes: Remove broken LDR (literal) uprobe support The simulate_ldr_literal() and simulate_ldrsw_literal() functions are unsafe to use for uprobes. Both functions were originally written for use with kprobes, and access memory with plain C accesses. When uprobes was added, these were reused unmodified even though they cannot safely access user memory. There are three key problems: 1) The plain C accesses do not have corresponding extable entries, and thus if they encounter a fault the kernel will treat these as unintentional accesses to user memory, resulting in a BUG() which will kill the kernel thread, and likely lead to further issues (e.g. lockup or panic()). 2) The plain C accesses are subject to HW PAN and SW PAN, and so when either is in use, any attempt to simulate an access to user memory will fault. Thus neither simulate_ldr_literal() nor simulate_ldrsw_literal() can do anything useful when simulating a user instruction on any system with HW PAN or SW PAN. 3) The plain C accesses are privileged, as they run in kernel context, and in practice can access a small range of kernel virtual addresses. The instructions they simulate have a range of +/-1MiB, and since the simulated instructions must itself be a user instructions in the TTBR0 address range, these can address the final 1MiB of the TTBR1 acddress range by wrapping downwards from an address in the first 1MiB of the TTBR0 address range. In contemporary kernels the last 8MiB of TTBR1 address range is reserved, and accesses to this will always fault, meaning this is no worse than (1). Historically, it was theoretically possible for the linear map or vmemmap to spill into the final 8MiB of the TTBR1 address range, but in practice this is extremely unlikely to occur as this would require either: * Having enough physical memory to fill the entire linear map all the way to the final 1MiB of the TTBR1 address range. * Getting unlucky with KASLR randomization of the linear map such that the populated region happens to overlap with the last 1MiB of the TTBR address range. ... and in either case if we were to spill into the final page there would be larger problems as the final page would alias with error pointers. Practically speaking, (1) and (2) are the big issues. Given there have been no reports of problems since the broken code was introduced, it appears that no-one is relying on probing these instructions with uprobes. Avoid these issues by not allowing uprobes on LDR (literal) and LDRSW (literal), limiting the use of simulate_ldr_literal() and simulate_ldrsw_literal() to kprobes. Attempts to place uprobes on LDR (literal) and LDRSW (literal) will be rejected as arm_probe_decode_insn() will return INSN_REJECTED. In future we can consider introducing working uprobes support for these instructions, but this will require more significant work.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.10 and later | 4.19.323, 5.4.285, 5.10.228, 5.15.169, 6.1.114, 6.6.58, 6.11.5, 6.12 | Patch available | CNA |
- Linux VendorLinux Affected 4.10 and later Fixed in 4.19.323, 5.4.285, 5.10.228, 5.15.169, 6.1.114, 6.6.58, 6.11.5, 6.12 Patch available CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.10 to before 4.19.323; 4.20 to before 5.4.285; 5.5 to before 5.10.228; 5.11 to before 5.15.169; 5.16 to before 6.1.114; 6.2 to before 6.6.58; 6.7 to before 6.11.5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:* | 6.12 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:* | 6.12 rc2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:* | 6.12 rc3 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.10 to before 4.19.323; 4.20 to before 5.4.285; 5.5 to before 5.10.228; 5.11 to before 5.15.169; 5.16 to before 6.1.114; 6.2 to before 6.6.58; 6.7 to before 6.11.5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:* Versions 6.12 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:* Versions 6.12 rc2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:* Versions 6.12 rc3 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 4.19.323, 5.4.285, 5.10.228, 5.15.169, 6.1.114, 6.6.58, 6.11.5, 6.12
Red Hat 4 advisories
- RHSA-2025:2270 Released 2025-03-05 · Red Hat rating Moderatekernel security update
- Red Hat CodeReady Linux Builder EUS (v.9.4) kernel-tools-libs-devel-5.14.0-427.57.1.el9_4, libperf-5.14.0-427.57.1.el9_4
- Red Hat Enterprise Linux AppStream EUS (v.9.4) kernel-64k-debug-devel-5.14.0-427.57.1.el9_4, kernel-64k-debug-devel-matched-5.14.0-427.57.1.el9_4, kernel-64k-devel-5.14.0-427.57.1.el9_4 +11
- Red Hat Enterprise Linux BaseOS EUS (v.9.4) bpftool-7.3.0-427.57.1.el9_4, kernel-5.14.0-427.57.1.el9_4, kernel-64k-5.14.0-427.57.1.el9_4 +29
- Red Hat Enterprise Linux Real Time EUS (v.9.4) kernel-rt-5.14.0-427.57.1.el9_4, kernel-rt-core-5.14.0-427.57.1.el9_4, kernel-rt-debug-5.14.0-427.57.1.el9_4 +9
- Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4) kernel-rt-5.14.0-427.57.1.el9_4, kernel-rt-core-5.14.0-427.57.1.el9_4, kernel-rt-debug-5.14.0-427.57.1.el9_4 +11
- RHSA-2024:11486 Released 2024-12-19 · Red Hat rating Moderatekernel security update
- Red Hat CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-503.19.1.el9_5, libperf-5.14.0-503.19.1.el9_5
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-503.19.1.el9_5, kernel-64k-debug-devel-matched-5.14.0-503.19.1.el9_5, kernel-64k-devel-5.14.0-503.19.1.el9_5 +11
- Red Hat Enterprise Linux BaseOS (v. 9) bpftool-7.4.0-503.19.1.el9_5, kernel-5.14.0-503.19.1.el9_5, kernel-64k-5.14.0-503.19.1.el9_5 +30
- Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-503.19.1.el9_5, kernel-rt-core-5.14.0-503.19.1.el9_5, kernel-rt-debug-5.14.0-503.19.1.el9_5 +9
- Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-503.19.1.el9_5, kernel-rt-core-5.14.0-503.19.1.el9_5, kernel-rt-debug-5.14.0-503.19.1.el9_5 +11
- RHSA-2024:10943 Released 2024-12-11 · Red Hat rating Moderatekernel security update
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-553.32.1.el8_10, kernel-4.18.0-553.32.1.el8_10, kernel-abi-stablelists-4.18.0-553.32.1.el8_10 +19
- Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-553.32.1.el8_10
Show 1 more Red Hat advisories
- RHSA-2024:10944 Released 2024-12-11 · Red Hat rating Moderatekernel-rt security update
- Red Hat Enterprise Linux NFV (v. 8) kernel-rt-4.18.0-553.32.1.rt7.373.el8_10, kernel-rt-core-4.18.0-553.32.1.rt7.373.el8_10, kernel-rt-debug-4.18.0-553.32.1.rt7.373.el8_10 +9
- Red Hat Enterprise Linux RT (v. 8) kernel-rt-4.18.0-553.32.1.rt7.373.el8_10, kernel-rt-core-4.18.0-553.32.1.rt7.373.el8_10, kernel-rt-debug-4.18.0-553.32.1.rt7.373.el8_10 +7
Vendor assessments
Red Hat
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat CodeReady Linux Builder (v. 9) | Fixed | RHSA-2024:11486 |
| Red Hat CodeReady Linux Builder EUS (v.9.4) | Fixed | RHSA-2025:2270 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2024:11486 |
| Red Hat Enterprise Linux AppStream EUS (v.9.4) | Fixed | RHSA-2025:2270 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2024:10943 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2024:11486 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.4) | Fixed | RHSA-2025:2270 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2024:10943 |
| Red Hat Enterprise Linux NFV (v. 8) | Fixed | RHSA-2024:10944 |
| Red Hat Enterprise Linux RT (v. 8) | Fixed | RHSA-2024:10944 |
| Red Hat Enterprise Linux Real Time (v. 9) | Fixed | RHSA-2024:11486 |
| Red Hat Enterprise Linux Real Time EUS (v.9.4) | Fixed | RHSA-2025:2270 |
| Red Hat Enterprise Linux Real Time for NFV (v. 9) | Fixed | RHSA-2024:11486 |
| Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4) | Fixed | RHSA-2025:2270 |
Not affected: 2 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2024-50099
- 2026-10-03 Alias added: GHSA-pj67-hxcx-g74v
- 2026-10-29 Affected versions changed · Red Hat
References
Patch 8
- https://git.kernel.org/stable/c/cc86f2e9876c8b5300238cec6bf0bd8c842078ee
- https://git.kernel.org/stable/c/ae743deca78d9e4b7f4f60ad2f95e20e8ea057f9
- https://git.kernel.org/stable/c/3728b4eb27910ffedd173018279a970705f2e03a
- https://git.kernel.org/stable/c/ad4bc35a6d22e9ff9b67d0d0c38bce654232f195
- https://git.kernel.org/stable/c/bae792617a7e911477f67a3aff850ad4ddf51572
- https://git.kernel.org/stable/c/9f1e7735474e7457a4d919a517900e46868ae5f6
- https://git.kernel.org/stable/c/20cde998315a3d2df08e26079a3ea7501abce6db
- https://git.kernel.org/stable/c/acc450aa07099d071b18174c22a1119c57da8227
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2024-50099 · CVE Program
- CVE-2024-50099 · NVD
- FIRST EPSS
- GHSA-pj67-hxcx-g74v · GitHub Advisory Database · CC BY 4.0
- CVE-2024-50099 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences