CVE-2024-43843
Linux Debian vulnerability analysis and mitigation

Overview

A vulnerability has been discovered in the Linux kernel's RISC-V BPF subsystem, identified as CVE-2024-43843. The issue involves an out-of-bounds problem when preparing trampoline images. The vulnerability affects Linux kernel versions from 6.8 up to (excluding) 6.10.3. The issue was discovered and patched in August 2024 (NVD).

Technical details

The vulnerability stems from inconsistent handling of the im argument between the dry run and real patch phases when preparing trampoline images. After the implementation of commit 26ef208c209a ("bpf: Use archbpftrampolinesize"), the emitimm function in RV64 could generate a different number of instructions when generating the 'im' address, potentially leading to out-of-bounds issues. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could potentially allow an attacker to cause out-of-bounds memory access, which could lead to system crashes, information disclosure, or potential code execution. The high CVSS score indicates significant potential impact on the confidentiality, integrity, and availability of the affected system (NVD).

Mitigation and workarounds

The vulnerability has been fixed by modifying the code to emit the maximum number of instructions for the "im" address during the dry run phase. Users should update their Linux kernel to version 6.10.3 or later. The fix involves ensuring consistent instruction generation between the dry run and real patch phases (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-59030HIGH7.5
  • Linux DebianLinux Debian
  • pdns-recursor
NoYesDec 09, 2025
CVE-2025-59029MEDIUM5.3
  • Linux DebianLinux Debian
  • pdns-recursor
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-devel
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-trace
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management