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

5.5 · MEDIUM
Published Sep 11, 2024 linux CWE-787 EPSS 0.24% (14th pctl)

Overview

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

fix bitmap corruption on close_range() with CLOSE_RANGE_UNSHARE

copy_fd_bitmaps(new, old, count) is expected to copy the first

count/BITS_PER_LONG bits from old->full_fds_bits[] and fill

the rest with zeroes. What it does is copying enough words

(BITS_TO_LONGS(count/BITS_PER_LONG)), then memsets the rest.

That works fine, *if* all bits past the cutoff point are

clear. Otherwise we are risking garbage from the last word

we'd copied.

For most of the callers that is true - expand_fdtable() has

count equal to old->max_fds, so there's no open descriptors

past count, let alone fully occupied words in ->open_fds[],

which is what bits in ->full_fds_bits[] correspond to.

The other caller (dup_fd()) passes sane_fdtable_size(old_fdt, max_fds),

which is the smallest multiple of BITS_PER_LONG that covers all

opened descriptors below max_fds. In the common case (copying on

fork()) max_fds is ~0U, so all opened descriptors wil

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 >= 0, < 4.19.321 Affected

Frequently Asked Questions

What is CVE-2024-45025?

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

How severe is CVE-2024-45025?

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

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

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