CVE-2024-53125

Aliases:UBUNTU-CVE-2024-53125DEBIAN-CVE-2024-53125
Advisory lineage Upstream: 0 Downstream: 67
Modified
Published: 04 Dec 2024, 14:11
Last modified:05 Aug 2026, 11:43

Vulnerability Summary

Overall Risk (default)
medium
31/100
CVSS Score
7.8 HIGH
v3.1 (cve.org)
EPSS Score
0.23% LOW
0% probability +0.22%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

04 Dec 2024, 14:11
Published
Vulnerability first disclosed
05 Aug 2026, 11:43
Last Modified
Vulnerability information updated

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: sync_linked_regs() must preserve subreg_def Range propagation must not affect subreg_def marks, otherwise the following example is rewritten by verifier incorrectly when BPF_F_TEST_RND_HI32 flag is set: 0: call bpf_ktime_get_ns call bpf_ktime_get_ns 1: r0 &= 0x7fffffff after verifier r0 &= 0x7fffffff 2: w1 = w0 rewrites w1 = w0 3: if w0 < 10 goto +0 --------------> r11 = 0x2f5674a6 (r) 4: r1 >>= 32 r11 <<= 32 (r) 5: r0 = r1 r1 |= r11 (r) 6: exit; if w0 < 0xa goto pc+0 r1 >>= 32 r0 = r1 exit (or zero extension of w1 at (2) is missing for architectures that require zero extension for upper register half). The following happens w/o this patch: - r0 is marked as not a subreg at (0); - w1 is marked as subreg at (2); - w1 subreg_def is overridden at (3) by copy_register_state(); - w1 is read at (5) but mark_insn_zext() does not mark (2) for zero extension, because w1 subreg_def is not set; - because of BPF_F_TEST_RND_HI32 flag verifier inserts random value for hi32 bits of (2) (marked (r)); - this random value is read at (5).

CVSS Metrics

  • v3.1MEDIUMScore: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • v3.1HIGHScore: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Trends

Current EPSS score: 0.23% Percentile: 14%

Affected Systems

  • debianlinux

    < 5.10.234-1 | < 6.1.123-1 | < 6.11.6-1 | < 6.11.6-1

  • debianlinux-6.1

    < 6.1.128-1~deb11u1

  • ubuntulinux

    < 5.15.0-135.146 | < 6.8.0-60.63

  • ubuntulinux-allwinner-5.19

    all

  • ubuntulinux-aws

    < 5.15.0-1080.87 | < 6.8.0-1029.31

  • ubuntulinux-aws-5.0

    all

  • ubuntulinux-aws-5.11

    all

  • ubuntulinux-aws-5.13

    all

  • ubuntulinux-aws-5.15

    < 5.15.0-1080.87~20.04.1

  • ubuntulinux-aws-5.19

    all

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.8

    all

  • ubuntulinux-aws-6.2

    all

  • ubuntulinux-aws-6.5

    all

  • ubuntulinux-aws-6.8

    < 6.8.0-1029.31~22.04.1

  • ubuntulinux-aws-fips

    all | < 5.15.0-1080.87+fips1

  • ubuntulinux-azure

    all | < 5.15.0-1084.93 | < 6.8.0-1029.34

  • ubuntulinux-azure-5.11

    all

  • ubuntulinux-azure-5.13

    all

  • ubuntulinux-azure-5.15

    < 5.15.0-1086.95~20.04.1

  • ubuntulinux-azure-5.19

    all

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.8

    all

  • ubuntulinux-azure-6.11

    < 6.11.0-1012.12~24.04.1

  • ubuntulinux-azure-6.2

    all

  • ubuntulinux-azure-6.5

    all

  • ubuntulinux-azure-6.8

    < 6.8.0-1029.34~22.04.1

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fde

    all | all

  • ubuntulinux-azure-fde-5.19

    all

  • ubuntulinux-azure-fde-6.2

    all

  • ubuntulinux-azure-fips

    all | < 5.15.0-1083.92+fips1

  • ubuntulinux-azure-nvidia

    < 6.8.0-1016.17

  • ubuntulinux-bluefield

    all | < 5.15.0-1062.64

  • ubuntulinux-fips

    all | < 5.15.0-135.146+fips1 | < 6.8.0-78.78+fips1

  • ubuntulinux-gcp

    all | < 5.15.0-1079.88 | < 6.8.0-1030.32

  • ubuntulinux-gcp-5.11

    all

  • ubuntulinux-gcp-5.13

    all

  • ubuntulinux-gcp-5.15

    < 5.15.0-1081.90~20.04.1

  • ubuntulinux-gcp-5.19

    all

  • ubuntulinux-gcp-5.3

    all

  • ubuntulinux-gcp-5.8

    all

  • ubuntulinux-gcp-6.11

    < 6.11.0-1011.11~24.04.1

  • ubuntulinux-gcp-6.2

    all

  • ubuntulinux-gcp-6.5

    all

  • ubuntulinux-gcp-6.8

    < 6.8.0-1030.32~22.04.1

  • ubuntulinux-gcp-fips

    all | < 5.15.0-1079.88+fips1

  • ubuntulinux-gke

    all | < 5.15.0-1077.83 | < 6.8.0-1025.29

  • ubuntulinux-gke-4.15

    all

  • ubuntulinux-gke-5.15

    all

Showing first 50 affected entries in server-rendered view.

References (37)