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-49861

7.8 · HIGH
Published Oct 21, 2024 linux EPSS 0.23% (14th pctl)

Overview

CVE-2024-49861 is a high-severity vulnerability affecting linux linux_kernel. It was published on October 21, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

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

bpf: Fix helper writes to read-only maps

Lonial found an issue that despite user- and BPF-side frozen BPF map

(like in case of .rodata), it was still possible to write into it from

a BPF program side through specific helpers having ARG_PTR_TO_{LONG,INT}

as arguments.

In check_func_arg() when the argument is as mentioned, the meta->raw_mode

is never set. Later, check_helper_mem_access(), under the case of

PTR_TO_MAP_VALUE as register base type, it assumes BPF_READ for the

subsequent call to check_map_access_type() and given the BPF map is

read-only it succeeds.

The helpers really need to be annotated as ARG_PTR_TO_{LONG,INT} | MEM_UNINIT

when results are written into them as opposed to read out of them. The

latter indicates that it's okay to pass a pointer to uninitialized memory

as the memory is written to anyway.

However, ARG_PTR_TO_{LONG,INT} is a special case of ARG_PTR_TO_FIXED_SIZE_MEM

just with additional al

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.2, < 6.6.54 Affected

Frequently Asked Questions

What is CVE-2024-49861?

CVE-2024-49861 is a high-severity vulnerability affecting linux linux_kernel. It was published on October 21, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-49861?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

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

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-49861?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-49861 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.