PT-2024-33898 · Linux+7 · Linux Kernel+7

Xu Kuohai

·

Published

2024-07-29

·

Updated

2026-05-26

·

CVE-2024-50063

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: Linux kernel versions prior to 6.6.58
Description: The issue concerns the Linux kernel, where a vulnerability has been resolved related to the bpf (Berkeley Packet Filter) functionality. Specifically, the problem arises when bpf programs attached to different kernel functions or hooks can bypass ctx access or return value verification through tail calls. For instance, if a program attached to one function takes only one parameter and another program attached to a different function takes two parameters, the verifier may allow the second program to access the second parameter, assuming it was constructed based on the second function's prototype. However, if the first program passes its context to the second via a tail call, the context is actually constructed from the first function, bypassing the assumption for ctx access verification. A similar issue occurs with return value rules for different hooks. This vulnerability could potentially be exploited to bypass security checks.
Recommendations: To resolve the issue, update the Linux kernel to version 6.6.58 or later. As a temporary workaround, consider restricting the use of bpf programs attached to different hooks to prevent tail calls between them. Additionally, restrict access to sensitive kernel functions and hooks to minimize the risk of exploitation.

Exploit

Fix

Weakness Enumeration

Related Identifiers

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2024-17211
ALT-PU-2025-12647
AZL-53741
BDU:2025-04684
CVE-2024-50063
DLA-4193-1
DSA-5907-1
ECHO-265F-A6CB-AA84
MGASA-2024-0344
MGASA-2024-0345
OESA-2024-2367
OESA-2024-2368
OESA-2024-2369
OESA-2024-2371
OPENSUSE-SU-2024:14500-1
OPENSUSE-SU-2024_3983-1
OPENSUSE-SU-2024_3984-1
OPENSUSE-SU-2024_3985-1
OPENSUSE-SU-2024_3986-1
OPENSUSE-SU-2025:14705-1
SUSE-SU-2024:3983-1
SUSE-SU-2024:3984-1
SUSE-SU-2024:3985-1
SUSE-SU-2024:3986-1
SUSE-SU-2024:4318-1
SUSE-SU-2024:4364-1
SUSE-SU-2024:4387-1
SUSE-SU-2025:20163-1
SUSE-SU-2025:20164-1
SUSE-SU-2025:20246-1
SUSE-SU-2025:20247-1
USN-7276-1
USN-7277-1
USN-7310-1
USN-7383-1
USN-7383-2
USN-7384-1
USN-7384-2
USN-7385-1
USN-7386-1
USN-7403-1
USN-7451-1
USN-7468-1
USN-7523-1
USN-7524-1

Affected Products

Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu