Skip to content
Fencer Vulns
high 7.3

CVE-2024-50099 json

arm64: probes: Remove broken LDR (literal) uprobe support

published 2024-11-05 2 y ago modified 2026-08-05 3 mo ago also EUVD-2024-44574

cvss
7.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 19%
public exploits
0
none known

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.

Patch / fix

  • Linux Linux 4.19.323, 5.4.285, 5.10.228, 5.15.169, 6.1.114, 6.6.58, 6.11.5, 6.12
  • linux Debian 12 6.1.115-1
  • linux Debian 14, Debian 13 6.11.5-1

debian advisories DEBIAN-CVE-2024-50099

  • linux Ubuntu 20.04 LTS 5.4.0-208.228
  • linux Ubuntu 22.04 LTS 5.15.0-133.144
  • linux Ubuntu 24.04 LTS 6.8.0-56.58
  • linux-aws Ubuntu 20.04 LTS 5.4.0-1140.150
  • linux-aws Ubuntu 22.04 LTS 5.15.0-1078.85
  • linux-aws Ubuntu 24.04 LTS 6.8.0-1025.27
  • linux-gcp Ubuntu 20.04 LTS 5.4.0-1143.152
  • linux-gcp Ubuntu 22.04 LTS 5.15.0-1077.86

ubuntu advisories UBUNTU-CVE-2024-50099

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel RHEL 9 5.14.0-503.19.1.el9_5
  • rv RHEL 9 5.14.0-503.19.1.el9_5
  • perf RHEL 9 5.14.0-503.19.1.el9_5
  • rtla RHEL 9 5.14.0-503.19.1.el9_5
  • bpftool RHEL 9 7.4.0-503.19.1.el9_5
  • libperf RHEL 9 5.14.0-503.19.1.el9_5
  • kernel-rt RHEL 9 5.14.0-503.19.1.el9_5
  • kernel-64k RHEL 9 5.14.0-503.19.1.el9_5

red hat advisories RHSA-2025:2270RHSA-2024:11486RHSA-2024:10943RHSA-2024:10944

  • kernel-source Linux Micro 6.1, Linux Micro 6.0 6.4.0-24.1
  • kernel-default Linux Micro 6.1, Linux Micro 6.0 6.4.0-24.1
  • kernel-kvmsmall Linux Micro 6.1, Linux Micro 6.0 6.4.0-24.1
  • kernel-default-base Linux Micro 6.1, Linux Micro 6.0 6.4.0-24.1.21.4
  • kernel-livepatch-MICRO-6-0_Update_4 Linux Micro 6.1, Linux Micro 6.0 1-1.2
  • kernel-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-22.1
  • kernel-source-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-22.1
  • kernel-livepatch-MICRO-6-0-RT_Update_4 Linux Micro 6.1, Linux Micro 6.0 1-1.1

suse advisories SUSE-SU-2025:20164-1SUSE-SU-2025:20247-1SUSE-SU-2025:20163-1SUSE-SU-2025:20246-1SUSE-SU-2025:0035-1SUSE-SU-2024:4387-1

  • kernel-source-longterm openSUSE Tumbleweed 6.12.11-1.1
  • kernel-source openSUSE Tumbleweed 6.11.8-1.1

opensuse advisories openSUSE-SU-2025:14705-1openSUSE-SU-2024:14500-1

  • kernel AlmaLinux 9 5.14.0-503.19.1.el9_5
  • rv AlmaLinux 9 5.14.0-503.19.1.el9_5
  • perf AlmaLinux 9 5.14.0-503.19.1.el9_5
  • rtla AlmaLinux 9 5.14.0-503.19.1.el9_5
  • bpftool AlmaLinux 9 7.4.0-503.19.1.el9_5
  • libperf AlmaLinux 9 5.14.0-503.19.1.el9_5
  • kernel-rt AlmaLinux 9 5.14.0-503.19.1.el9_5
  • kernel-64k AlmaLinux 9 5.14.0-503.19.1.el9_5

almalinux advisories ALSA-2024:11486ALSA-2024:10943ALSA-2024:10944

  • kernel-rt Rocky Linux 8 4.18.0-553.32.1.rt7.373.el8_10
  • kernel Rocky Linux 8 4.18.0-553.32.1.el8_10

rocky linux advisories RLSA-2024:10944RLSA-2024:10943

  • kernel CBL-Mariner 2.0 5.15.173.1-1
  • kernel Azure Linux 3.0 6.6.64.2-1

azure linux advisories AZL-52555AZL-52578

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

cisa ICSA-25-226-07 updated

Siemens Third-Party Components in SINEC OS

  • Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family
    not affected

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
13 mo ago

Exploit prediction

0.27% chance of exploitation in the next 30 days, higher than 19% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
CISA ADP 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

  • Linux Linux

Classification

Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.