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

5.5 · MEDIUM
Published Sep 13, 2024 linux CWE-835 EPSS 0.19% (9th pctl)

Overview

CVE-2024-46701 is a medium-severity vulnerability affecting linux linux_kernel. It was published on September 13, 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:

libfs: fix infinite directory reads for offset dir

After we switch tmpfs dir operations from simple_dir_operations to

simple_offset_dir_operations, every rename happened will fill new dentry

to dest dir's maple tree(&SHMEM_I(inode)->dir_offsets->mt) with a free

key starting with octx->newx_offset, and then set newx_offset equals to

free key + 1. This will lead to infinite readdir combine with rename

happened at the same time, which fail generic/736 in xfstests(detail show

as below).

1. create 5000 files(1 2 3...) under one dir

2. call readdir(man 3 readdir) once, and get one entry

3. rename(entry, "TEMPFILE"), then rename("TEMPFILE", entry)

4. loop 2~3, until readdir return nothing or we loop too many

times(tmpfs break test with the second condition)

We choose the same logic what commit 9b378f6ad48cf ("btrfs: fix infinite

directory reads") to fix it, record the last_index when we open dir, and

do not emit the en

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 >= 6.6, < 6.10.7 Affected

Frequently Asked Questions

What is CVE-2024-46701?

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

How severe is CVE-2024-46701?

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

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

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