CVE-2024-50203

High

Description

In the Linux kernel, the following vulnerability has been resolved: bpf, arm64: Fix address emission with tag-based KASAN enabled When BPF_TRAMP_F_CALL_ORIG is enabled, the address of a bpf_tramp_image struct on the stack is passed during the size calculation pass and an address on the heap is passed during code generation. This may cause a heap buffer overflow if the heap address is tagged because emit_a64_mov_i64() will emit longer code than it did during the size calculation pass. The same problem could occur without tag-based KASAN if one of the 16-bit words of the stack address happened to be all-ones during the size calculation pass. Fix the problem by assuming the worst case (4 instructions) when calculating the size of the bpf_tramp_image address emission.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedNov 8, 2024
First seenNov 8, 2024

How to fix

Update
  • linux linux_kernel6.11, 6.11.6 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel6.10.3 ≤ v < 6.11, 6.11 ≤ v < 6.11.6, 6.126.11, 6.11.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-50203 · Linux Kernel · Dark Radar