CVE-2026-98449

smb: client: delete compound mids on send failure before unlock

Published Oct 18, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

In the Linux kernel, this flaw occurs when a compound SMB request fails while the client is connected. The send routine initiates a reconnection but leaves pending mid identifiers on the queue before unlocking the server. As the reconnect walks the queue it releases resources twice, decrementing the in-flight counter twice and causing a WARN. This double decrement is a violation of proper resource accounting, an instance of the CWE-459 weakness (Arbitrary Resource Release), which can corrupt internal accounting and lead to further kernel instability or denial of service in SMB operations.

Affected Systems

Linux systems running the Linux kernel prior to the patch that addressed this SMB client issue. The bug is present in all kernel releases containing the errant code path and affects any SMB client usage on those kernels.

Risk and Exploitability

The CVSS score is 6.5 and the EPSS score is less than 1%, but the bug is logged as a WARNING rather than an outright crash. There is no indication of remote code execution or privilege escalation. Exploitation would require an attacker able to force a send failure in an SMB transaction and then observe or rely on the inconsistent counter, making it a low likelihood attack vector. The vulnerability is not listed in CISA’s KEV catalog, suggesting it has not yet been widely exploited in the wild.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the SMB client fix for this issue and reboot the system
  • Monitor kernel logs for any WARN or error messages related to SMB resource accounting and investigate persistent problems
  • If the patch cannot be applied immediately, consider temporarily disabling SMB client traffic or restricting access until the update is applied

Generated by OpenCVE AI on October 20, 2026 at 13:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4927-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-459
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Description 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.
Title smb: client: delete compound mids on send failure before unlock
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 23, 2026, 7:59 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:16 PM
Modified
Nov 23, 2026, 8:17 AM
Severity
Moderate
Public date
Oct 18, 2026, 12:00 AM