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

5.5 · MEDIUM
Published Oct 21, 2024 linux CWE-476 EPSS 0.25% (16th pctl)

Overview

CVE-2024-49881 is a medium-severity vulnerability affecting linux linux_kernel. It was published on October 21, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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:

ext4: update orig_path in ext4_find_extent()

In ext4_find_extent(), if the path is not big enough, we free it and set

*orig_path to NULL. But after reallocating and successfully initializing

the path, we don't update *orig_path, in which case the caller gets a

valid path but a NULL ppath, and this may cause a NULL pointer dereference

or a path memory leak. For example:

ext4_split_extent

path = *ppath = 2000

ext4_find_extent

if (depth > path[0].p_maxdepth)

kfree(path = 2000);

*orig_path = path = NULL;

path = kcalloc() = 3000

ext4_split_extent_at(*ppath = NULL)

path = *ppath;

ex = path[depth].p_ext;

// NULL pointer dereference!

==================================================================

BUG: kernel NULL pointer dereference, address: 0000000000000010

CPU: 6 UID: 0 PID: 576 Comm: fsstress Not tainted 6.11.0-rc2-dirty #847

RIP: 0010:ext4_split_extent_at+0x6d/0x560

Call Trac

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 >= 3.18, < 5.10.227 Affected

Frequently Asked Questions

What is CVE-2024-49881?

CVE-2024-49881 is a medium-severity vulnerability affecting linux linux_kernel. It was published on October 21, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2024-49881?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. 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-49881?

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

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