Executive Summary

Informations
Name CVE-2024-42161 First vendor Publication 2024-07-30
Vendor Cve Last vendor Modification 2024-11-21

Security-Database Scoring CVSS v3

Cvss vector : CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H
Overall CVSS Score 6.3
Base Score 6.3 Environmental Score 6.3
impact SubScore 5.5 Temporal Score 6.3
Exploitabality Sub Score 0.8
 
Attack Vector Local Attack Complexity Low
Privileges Required High User Interaction None
Scope Unchanged Confidentiality Impact Low
Integrity Impact High 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: Avoid uninitialized value in BPF_CORE_READ_BITFIELD

[Changes from V1:
- Use a default branch in the switch statement to initialize `val'.]

GCC warns that `val' may be used uninitialized in the BPF_CRE_READ_BITFIELD macro, defined in bpf_core_read.h as:

[...]
unsigned long long val; \
[...] \
switch (__CORE_RELO(s, field, BYTE_SIZE)) { \
case 1: val = *(const unsigned char *)p; break; \
case 2: val = *(const unsigned short *)p; break; \
case 4: val = *(const unsigned int *)p; break; \
case 8: val = *(const unsigned long long *)p; break; \
} \
[...]
val; \
} \

This patch adds a default entry in the switch statement that sets `val' to zero in order to avoid the warning, and random values to be used in case __builtin_preserve_field_info returns unexpected values for BPF_FIELD_BYTE_SIZE.

Tested in bpf-next master. No regressions.

Original Source

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

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 8
Os 3635

Sources (Detail)

https://git.kernel.org/stable/c/009367099eb61a4fc2af44d4eb06b6b4de7de6db
https://git.kernel.org/stable/c/3364c2ed1c241989847f19cf83e3db903ce689e3
https://git.kernel.org/stable/c/7e5471b5efebc30dd0bc035cda86693a5c73d45f
https://git.kernel.org/stable/c/a21d76bd0b0d39518e9a4c19f6cf7c042a974aff
https://git.kernel.org/stable/c/b694989bb13ed5f166e633faa1eb0f21c6d261a6
https://git.kernel.org/stable/c/ff941a8449e712eaf7efca1a13bfb9afd3d99fc2
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
12
13
14
15
16
17
18
19
20
21
22
23
24
Date Informations
2025-01-08 03:04:10
  • Multiple Updates
2025-01-07 03:03:43
  • Multiple Updates
2024-12-25 03:02:21
  • Multiple Updates
2024-12-12 03:05:17
  • Multiple Updates
2024-11-25 09:23:16
  • Multiple Updates
2024-11-22 21:22:30
  • Multiple Updates
2024-11-21 21:22:02
  • Multiple Updates
2024-11-20 02:58:53
  • Multiple Updates
2024-11-14 02:59:12
  • Multiple Updates
2024-11-09 02:59:13
  • Multiple Updates
2024-10-26 02:56:36
  • Multiple Updates
2024-10-25 02:58:31
  • Multiple Updates
2024-10-23 02:57:43
  • Multiple Updates
2024-10-02 17:27:49
  • Multiple Updates
2024-10-02 00:28:02
  • Multiple Updates
2024-09-25 21:27:47
  • Multiple Updates
2024-09-15 02:49:08
  • Multiple Updates
2024-09-12 02:48:40
  • Multiple Updates
2024-09-07 02:47:40
  • Multiple Updates
2024-09-06 02:46:50
  • Multiple Updates
2024-09-04 02:50:02
  • Multiple Updates
2024-08-22 02:47:54
  • Multiple Updates
2024-08-06 00:27:26
  • Multiple Updates
2024-07-30 17:27:23
  • Multiple Updates
2024-07-30 13:27:26
  • First insertion