PT-2024-33993 · Linux+2 · Linux Kernel+2

Published

2024-10-09

·

Updated

2025-02-28

·

CVE-2024-50161

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions: Linux kernel versions prior to 6.11.0-rc4+
Description: The issue is related to the Linux kernel's BPF (Berkeley Packet Filter) functionality, specifically with the repetition of BTF (BPF Type Format) fields for arrays of nested structs. The problem arises when the value of ret * nelems exceeds BTF FIELDS MAX, causing an out-of-bounds array access. This results in a UBSAN (Undefined Behavior Sanitizer) error, reporting an array-index-out-of-bounds in the btf.c file. The estimated number of potentially affected devices is not specified.
Recommendations: To resolve the issue, update to a version of the Linux kernel that includes the fix for the out-of-bounds array access in the BPF functionality. As a temporary workaround, consider restricting the use of the BPF functionality until a patch is available.

Exploit

Fix

Improper Validation of Array Index

Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-13908
CVE-2024-50161
OPENSUSE-SU-2024:14500-1
OPENSUSE-SU-2025:14705-1
USN-7276-1
USN-7277-1
USN-7310-1

Affected Products

Linuxmint
Linux Kernel
Ubuntu