smb: client: delete compound mids on send failure before unlock
In the Linux kernel, the following vulnerability has been resolved: smb: client: delete compound mids on send failure before unlock When sending a compound request fails, smb_send_rqst() kicks off a reconnect. compound_send_recv() still has those mids on pending_mid_q, but it unlocks the server without removing them first. During reconnect, cifs_abort_connection() walks pending_mid_q and runs each mid callback. With no response yet, those callbacks return credits and drop in_flight. Then compound_send_recv()'s send-error path returns the same credits again. in_flight ends up decremented twice and smb2_add_credits() WARNs. syzbot hits this during SMB2_negotiate when the socket send fails. cifs_call_async() already calls delete_mid() before unlock on send failure. Do the same for compound chains and set cancelled_mid[] so the out: path does not delete them again.
CVE-2026-98449
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-98449
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "ee258d79159afed52ca9372aeb9c1a51e89b32ee",
"lessThan": "70783946f3b5d0c06ec7df0f5e7bec2bfad24efb",
"versionType": "git"
},
{
"status": "affected",
"version": "ee258d79159afed52ca9372aeb9c1a51e89b32ee",
"lessThan": "8f6f8a48399f82f4a83f7b9f25b9707e0062a4f9",
"versionType": "git"
},
{
"status": "affected",
"version": "3c57a0be487088b08d9c88998f911eb4a7ba36e4",
"versionType": "git"
},
{
"status": "affected",
"version": "4.20.11",
"lessThan": "4.21",
"versionType": "semver"
}
],
"programFiles": [
"fs/smb/client/transport.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.0"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "7.2.9",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"fs/smb/client/transport.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98449
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #38507 · Revision 1
- Added to Heist Feed
- Publisher date