Home/CVE/In the Linux kernel, the following vulnerability has been resolved: cifs: Fix server re-repick on subrequest retry Whe
CVE

CVE-2024-42256

In the Linux kernel, the following vulnerability has been resolved: cifs: Fix server re-repick on subrequest retry Whe

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 [cifs] ... RIP: 0010:smb2_add_credits+0x3f0/0x9e0 [cifs] ... smb2_writev_callback+0x334/0x560 [cifs] cifs_demultiplex_thread+0x77a/0x11b0 [cifs] kthread+0x187/0x1d0 ret_from_fork+0x34/0x60 ret_from_fork_asm+0x1a/0x30 Which may be triggered by a number of different xfstests running against an Azure server in multichannel mode. generic/249 seems the most repeatable, but generic/215, generic/249 and generic/308 may also show it.

CRITICAL · CVSS 9.8 EPSS 0.00094
Schedule remediation
  • CVSS base score ≥ 7.0
Sigma rules0 YARA rules0
Look this up elsewhere - one-click external pivots
How to read a CVE - triage first, then detect and patch
This page is every public fact about CVE-2024-42256, cross-linked. Its job is to answer one question fast - does this need my attention now? - and then hand you the two things you do about it. Here is how an analyst reads it.
Triage: should I act now? Four signals, and they are not interchangeable:
CVSSseverity - how bad it is IF exploited, 0-10. A high CVSS alone is not urgency; a flaw can be a perfect 10 and never actually be attacked. EPSSprobability - a model’s estimate of the chance it is exploited in the next 30 days, 0-1. This is the “will it actually happen” signal. CISA KEVconfirmed - it is being exploited in the wild right now. The strongest signal on the page; KEV beats any score. Weaponisedavailability - public exploits / PoCs, and especially Metasploit modules rated Excellent / Great. Reliable, packaged exploit code means low-skill attackers can use it today.
How they combine: KEV, or a dependable Metasploit module, means patch now regardless of CVSS. High CVSS + low EPSS + no exploit is real but not an emergency - schedule it. Low CVSS but KEV-listed still gets patched now. The verdict above already weighed these for you; this is how it got there.
Then what - two workflows:
Detectwhen you cannot patch today, follow this CVE to the ATT&CK techniques it enables, then Build a SIEM detection (the green button) - author a rule, test it in Atomic, deploy it. That buys visibility while the patch waits. PatchAffected products / packages tell you if you are exposed; Fixed versions by distribution and Vendor advisories give the exact version that closes it.
Reading order for the panels below: verdict + badges, then Public exploits / Metasploit (is it weaponised), then ATT&CK techniques + Sigma / IDS rules (can I detect it), then Affected products / packages + Fixed versions (am I exposed, what patches it), then Threat actors / IOCs (who uses it), then Scoring & timeline / references (the evidence).

ATT&CK techniques

1

Techniques this CVE enables - linked via CWECAPECATT&CK. High◆ = named directly in ATT&CK or Nuclei templates.

▤ Build a SIEM detection for these techniques

Affected Products & Versions

1
linux kernel>= 6.10 and < 6.10.1

Affected Packages

40
Language-ecosystem packages (from OSV) tied to this CVE, with the version that fixes it - the dependency-level detail NVD doesn’t carry.
Ubuntu:20.04:LTS linux fixed in 5.4.0-9.12
Ubuntu:20.04:LTS linux-aws fixed in 5.4.0-1005.5
Ubuntu:20.04:LTS linux-aws-5.11
Ubuntu:20.04:LTS linux-aws-5.13
Ubuntu:20.04:LTS linux-aws-5.15 fixed in 5.15.0-1014.18~20.04.1
Ubuntu:20.04:LTS linux-aws-5.8
Ubuntu:20.04:LTS linux-azure fixed in 5.4.0-1006.6
Ubuntu:20.04:LTS linux-azure-5.11
Ubuntu:20.04:LTS linux-azure-5.13
Ubuntu:20.04:LTS linux-azure-5.15 fixed in 5.15.0-1007.8~20.04.1
Ubuntu:20.04:LTS linux-azure-5.8
Ubuntu:20.04:LTS linux-azure-fde
Ubuntu:20.04:LTS linux-azure-fde-5.15 fixed in 5.15.0-1019.24~20.04.1.1
Ubuntu:20.04:LTS linux-bluefield fixed in 5.4.0-1007.10
Ubuntu:20.04:LTS linux-gcp fixed in 5.4.0-1005.5
Ubuntu:20.04:LTS linux-gcp-5.11
Ubuntu:20.04:LTS linux-gcp-5.13
Ubuntu:20.04:LTS linux-gcp-5.15 fixed in 5.15.0-1006.9~20.04.1
Ubuntu:20.04:LTS linux-gcp-5.8
Ubuntu:20.04:LTS linux-gke
Ubuntu:20.04:LTS linux-gke-5.15
Ubuntu:20.04:LTS linux-gkeop fixed in 5.4.0-1008.9
Ubuntu:20.04:LTS linux-gkeop-5.15 fixed in 5.15.0-1003.5~20.04.2
Ubuntu:20.04:LTS linux-hwe-5.11
Ubuntu:20.04:LTS linux-hwe-5.13
Ubuntu:20.04:LTS linux-hwe-5.15 fixed in 5.15.0-33.34~20.04.1
Ubuntu:20.04:LTS linux-hwe-5.8
Ubuntu:20.04:LTS linux-ibm fixed in 5.4.0-1003.4
Ubuntu:20.04:LTS linux-ibm-5.15 fixed in 5.15.0-1033.36~20.04.1
Ubuntu:20.04:LTS linux-intel-5.13
Ubuntu:20.04:LTS linux-intel-iotg-5.15 fixed in 5.15.0-1003.5~20.04.1
Ubuntu:20.04:LTS linux-iot fixed in 5.4.0-1001.3
Ubuntu:20.04:LTS linux-kvm fixed in 5.4.0-1004.4
Ubuntu:20.04:LTS linux-lowlatency-hwe-5.15 fixed in 5.15.0-33.34~20.04.1
Ubuntu:20.04:LTS linux-oem-5.10
Ubuntu:20.04:LTS linux-oem-5.13
Ubuntu:20.04:LTS linux-oem-5.14
Ubuntu:20.04:LTS linux-oem-5.6
Ubuntu:20.04:LTS linux-oracle fixed in 5.4.0-1005.5
Ubuntu:20.04:LTS linux-oracle-5.11
📦

Fixed versions by distribution

12
The package version that resolves this CVE on each Linux distribution, from the vendor’s published security data. fixed in shows a patched version exists; open means the package is listed as affected with no fix yet.
suse sle15kernel-default open
suse sle15kernel-default-base open
suse sle15kernel-default-devel open
suse sle15kernel-default-man open
suse sle15kernel-devel open
suse sle15kernel-devel-azure open
suse sle15kernel-devel-rt open
suse sle15kernel-macros open
suse sle15kernel-source open
suse sle15kernel-source-azure open
suse sle15kernel-source-rt open
suse sle15reiserfs-kmp-default open

Scoring & Timeline

9.8
CRITICAL · CVSS v3.1 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View on NVD
Attack Vector
Network Adjacent Local Physical
Attack Complexity
Low High
Privileges Required
None Low High
User Interaction
None Required
Scope
Unchanged Changed
Confidentiality
None Low High
Integrity
None Low High
Availability
None Low High
Published to NVD08 Aug 2024 · 09:15 AM
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
SSVC triage · cisa-vulnrichment
Exploitation
none
Automatable
no
Technical impact
partial
SSVC asks the questions that actually drive patch urgency: is it being exploited, can attacks be automated, and how total is the impact.
🔗

References & Sources

2
Source URLs (vendor pages, mailing lists, write-ups). Exploit/PoC links are in their own section above to avoid duplication.
SOC and Response
CVE triage
Stack monitoring
Am I affected
IOC triage
KEV catalog
Recently exploited
Daily brief
Change tracking
Detection Engineering
Coverage workspace
Detection coverage
Coverage check
Telemetry ceiling
SIEM query builder
Sigma rules
SIEM rules
YARA rules
Network rules
D3FEND
Threat Hunting
Threat actors
ATT&CK techniques
Attack paths
Indicators
Atomic tests
Red Team and Pentest
Exploitability triage
Recon pack
Attack paths
CAPEC patterns
Adversary emulation
Compliance and GRC
Framework mapping
Control assessment
Audit view
Atlas Search Threat actors Techniques Tools & malware CWE CAPEC KEV catalog Package vulns
About All capabilities Pricing API docs Live status Privacy policy Terms of service
threatengine.sh