Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-50162

9.8 · CRITICAL
Published Nov 7, 2024 linux EPSS 0.52% (42th pctl)

Overview

CVE-2024-50162 is a critical-severity vulnerability affecting linux linux_kernel. It was published on November 7, 2024 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

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

bpf: devmap: provide rxq after redirect

rxq contains a pointer to the device from where

the redirect happened. Currently, the BPF program

that was executed after a redirect via BPF_MAP_TYPE_DEVMAP*

does not have it set.

This is particularly bad since accessing ingress_ifindex, e.g.

SEC("xdp")

int prog(struct xdp_md *pkt)

{

return bpf_redirect_map(&dev_redirect_map, 0, 0);

}

SEC("xdp/devmap")

int prog_after_redirect(struct xdp_md *pkt)

{

bpf_printk("ifindex %i", pkt->ingress_ifindex);

return XDP_PASS;

}

depends on access to rxq, so a NULL pointer gets dereferenced:

<1>[ 574.475170] BUG: kernel NULL pointer dereference, address: 0000000000000000

<1>[ 574.475188] #PF: supervisor read access in kernel mode

<1>[ 574.475194] #PF: error_code(0x0000) - not-present page

<6>[ 574.475199] PGD 0 P4D 0

<4>[ 574.475207] Oops: Oops: 0000 [#1] PREEMPT SMP NOPTI

<4>[ 574.475217] CPU: 4 UID: 0 PID: 2

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 5.14, < 5.15.170 Affected

Frequently Asked Questions

What is CVE-2024-50162?

CVE-2024-50162 is a critical-severity vulnerability affecting linux linux_kernel. It was published on November 7, 2024 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

How severe is CVE-2024-50162?

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-50162?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-50162?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-50162 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.