Executive Summary

Informations
Name CVE-2024-43840 First vendor Publication 2024-08-17
Vendor Cve Last vendor Modification 2024-10-29

Security-Database Scoring CVSS v3

Cvss vector : CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Overall CVSS Score 5.5
Base Score 5.5 Environmental Score 5.5
impact SubScore 3.6 Temporal Score 5.5
Exploitabality Sub Score 1.8
 
Attack Vector Local Attack Complexity Low
Privileges Required Low User Interaction None
Scope Unchanged Confidentiality Impact None
Integrity Impact None Availability Impact High
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector :
Cvss Base Score N/A Attack Range N/A
Cvss Impact Score N/A Attack Complexity N/A
Cvss Expoit Score N/A Authentication N/A
Calculate full CVSS 2.0 Vectors scores

Detail

In the Linux kernel, the following vulnerability has been resolved:

bpf, arm64: Fix trampoline for BPF_TRAMP_F_CALL_ORIG

When BPF_TRAMP_F_CALL_ORIG is set, the trampoline calls __bpf_tramp_enter() and __bpf_tramp_exit() functions, passing them the struct bpf_tramp_image *im pointer as an argument in R0.

The trampoline generation code uses emit_addr_mov_i64() to emit instructions for moving the bpf_tramp_image address into R0, but emit_addr_mov_i64() assumes the address to be in the vmalloc() space and uses only 48 bits. Because bpf_tramp_image is allocated using kzalloc(), its address can use more than 48-bits, in this case the trampoline will pass an invalid address to __bpf_tramp_enter/exit() causing a kernel crash.

Fix this by using emit_a64_mov_i64() in place of emit_addr_mov_i64() as it can work with addresses that are greater than 48-bits.

Original Source

Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-43840

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 8
Os 3645

Sources (Detail)

https://git.kernel.org/stable/c/19d3c179a37730caf600a97fed3794feac2b197b
https://git.kernel.org/stable/c/6d218fcc707d6b2c3616b6cd24b948fd4825cfec
Source Url

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
5
6
7
8
9
10
11
Date Informations
2025-01-08 03:04:32
  • Multiple Updates
2025-01-07 03:04:06
  • Multiple Updates
2024-12-25 03:02:43
  • Multiple Updates
2024-12-12 03:05:40
  • Multiple Updates
2024-11-23 03:02:42
  • Multiple Updates
2024-11-22 03:00:53
  • Multiple Updates
2024-11-20 02:59:13
  • Multiple Updates
2024-11-14 02:59:31
  • Multiple Updates
2024-11-09 02:59:32
  • Multiple Updates
2024-10-29 21:28:17
  • Multiple Updates
2024-08-19 17:27:25
  • Multiple Updates
2024-08-17 17:27:28
  • First insertion