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

7.5 · HIGH
Published Aug 8, 2024 linux EPSS 0.69% (50th pctl)

Overview

CVE-2024-42256 is a high-severity vulnerability affecting linux linux_kernel. It was published on August 8, 2024 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

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

cifs: Fix server re-repick on subrequest retry

When a subrequest is marked for needing retry, netfs will call

cifs_prepare_write() which will make cifs repick the server for the op

before renegotiating credits; it then calls cifs_issue_write() which

invokes smb2_async_writev() - which re-repicks the server.

If a different server is then selected, this causes the increment of

server->in_flight to happen against one record and the decrement to happen

against another, leading to misaccounting.

Fix this by just removing the repick code in smb2_async_writev(). As this

is only called from netfslib-driven code, cifs_prepare_write() should

always have been called first, and so server should never be NULL and the

preparatory step is repeated in the event that we do a retry.

The problem manifests as a warning looking something like:

WARNING: CPU: 4 PID: 72896 at fs/smb/client/smb2ops.c:97 smb2_add_credits+0x3f0/0x9e0 [ci

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.10, < 6.10.1 Affected

Frequently Asked Questions

What is CVE-2024-42256?

CVE-2024-42256 is a high-severity vulnerability affecting linux linux_kernel. It was published on August 8, 2024 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2024-42256?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

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

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

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