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

4.7 · MEDIUM
Published Jul 30, 2024 linux CWE-369 EPSS 0.26% (17th pctl)

Overview

CVE-2024-42102 is a medium-severity vulnerability affecting linux linux_kernel. It was published on July 30, 2024 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.7, 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:

Revert "mm/writeback: fix possible divide-by-zero in wb_dirty_limits(), again"

Patch series "mm: Avoid possible overflows in dirty throttling".

Dirty throttling logic assumes dirty limits in page units fit into

32-bits. This patch series makes sure this is true (see patch 2/2 for

more details).

This patch (of 2):

This reverts commit 9319b647902cbd5cc884ac08a8a6d54ce111fc78.

The commit is broken in several ways. Firstly, the removed (u64) cast

from the multiplication will introduce a multiplication overflow on 32-bit

archs if wb_thresh * bg_thresh >= 1<<32 (which is actually common - the

default settings with 4GB of RAM will trigger this). Secondly, the

div64_u64() is unnecessarily expensive on 32-bit archs. We have

div64_ul() in case we want to be safe & cheap. Thirdly, if dirty

thresholds are larger than 1<<32 pages, then dirty balancing is going to

blow up in many other spectacular ways anyway so trying t

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 >= 4.19.307, < 4.19.318 Affected

Frequently Asked Questions

What is CVE-2024-42102?

CVE-2024-42102 is a medium-severity vulnerability affecting linux linux_kernel. It was published on July 30, 2024 and has a CVSS 3.1 base score of 4.7 (MEDIUM).

How severe is CVE-2024-42102?

This vulnerability has a CVSS 3.1 base score of 4.7, 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-42102?

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

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