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

Published

2024-11-07

·

Updated

2025-10-03

·

CVE-2024-50162

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.6.61
Description: The issue is related to the Linux kernel's BPF (Berkeley Packet Filter) functionality, specifically with the devmap redirect feature. When a BPF program is executed after a redirect via BPF MAP TYPE DEVMAP, it does not have access to the rxq (receive queue) pointer, which contains information about the device from where the redirect happened. This can lead to a NULL pointer dereference when trying to access the ingress ifindex, resulting in a kernel crash. The vulnerability is particularly problematic because it can be triggered by accessing the ingress ifindex in a BPF program.
Recommendations: To resolve the issue, update the Linux kernel to version 6.6.61 or later. As a temporary workaround, consider disabling the BPF program that is executed after a redirect via BPF MAP TYPE DEVMAP until a patch is available. Restrict access to the vulnerable BPF functionality to minimize the risk of exploitation. Avoid using the ingress ifindex variable in BPF programs until the issue is resolved.

Exploit

Fix

NULL Pointer Dereference

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

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-53492
AZL-53658
BDU:2025-03482
CVE-2024-50162
DLA-4008-1
INFSA-2025_6966
MGASA-2024-0368
MGASA-2024-0369
OESA-2024-2492
OPENSUSE-SU-2024:14500-1
OPENSUSE-SU-2025:14705-1
OPENSUSE-SU-2025_01614-1
OPENSUSE-SU-2025_01707-1
RHSA-2025:6966
RHSA-2025_6966
SUSE-SU-2025:01614-1
SUSE-SU-2025:01707-1
SUSE-SU-2025:01919-1
SUSE-SU-2025:01964-1
SUSE-SU-2025:20343-1
SUSE-SU-2025:20344-1
SUSE-SU-2025:20354-1
SUSE-SU-2025:20355-1
SUSE-SU-2025_01614-1
SUSE-SU-2025_01707-1
SUSE-SU-2025_01964-1
USN-7276-1
USN-7277-1
USN-7288-1
USN-7288-2
USN-7289-1
USN-7289-2
USN-7289-3
USN-7289-4
USN-7291-1
USN-7305-1
USN-7308-1
USN-7310-1
USN-7331-1
USN-7388-1
USN-7389-1
USN-7390-1
USN-7449-1
USN-7449-2
USN-7450-1
USN-7451-1
USN-7452-1
USN-7453-1
USN-7458-1
USN-7468-1
USN-7523-1
USN-7524-1

Affected Products

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