cbcvebase.
CVE-2024-43843
published 2024-08-17

CVE-2024-43843: In the Linux kernel, the following vulnerability has been resolved: riscv, bpf: Fix out-of-bounds issue when preparing trampoline image We get the size of the…

PriorityP338high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.20%
10.6th percentile
In the Linux kernel, the following vulnerability has been resolved: riscv, bpf: Fix out-of-bounds issue when preparing trampoline image We get the size of the trampoline image during the dry run phase and allocate memory based on that size. The allocated image will then be populated with instructions during the real patch phase. But after commit 26ef208c209a ("bpf: Use arch_bpf_trampoline_size"), the `im` argument is inconsistent in the dry run and real patch phase. This may cause emit_imm in RV64 to generate a different number of instructions when generating the 'im' address, potentially causing out-of-bounds issues. Let's emit the maximum number of instructions for the "im" address during dry run to fix this problem.

Affected

8 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.10.3-1 (forky)linux 6.10.3-1 (forky)
linuxlinux
linuxlinux>= 26ef208c209a0e6eed8942a5d191b39dccfa6e38 < 3e6a1b1b179abb643ec3560c02bc3082bc92285f3e6a1b1b179abb643ec3560c02bc3082bc92285f
linuxlinux>= 26ef208c209a0e6eed8942a5d191b39dccfa6e38 < 9f1e16fb1fc9826001c69e0551d51fbbcd2d74e99f1e16fb1fc9826001c69e0551d51fbbcd2d74e9
linuxlinux_kernel>= 0 < 6.10.3-16.10.3-1
linuxlinux_kernel>= 0 < 6.10.3-16.10.3-1
linuxlinux_kernel>= 0 < 6.8.0-50.516.8.0-50.51
linuxlinux_kernel>= 6.8 < 6.10.36.10.3

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8LOW
vendor_redhat7.8HIGH
vendor_ubuntu5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.