# CVE-2026-98449: smb: client: delete compound mids on send failure before unlock

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-10-18T15:14:59.772Z
- Modified: 2026-11-23T08:17:26.263Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from ee258d79159afed52ca9372aeb9c1a51e89b32ee before 4e9a1d5c763f751fcc2928f7131f143251e01760; from ee258d79159afed52ca9372aeb9c1a51e89b32ee before ae288482a10fb0782b606f20ca4bf32d79efec2b; from ee258d79159afed52ca9372aeb9c1a51e89b32ee before 36a2ba21d38a86bae84441e4c8d5b10653ef341a; from ee258d79159afed52ca9372aeb9c1a51e89b32ee before 59d30bdc3dd6fd3a8990f59bc7a137b1cbb3ed4e; from ee258d79159afed52ca9372aeb9c1a51e89b32ee before 70783946f3b5d0c06ec7df0f5e7bec2bfad24efb; from ee258d79159afed52ca9372aeb9c1a51e89b32ee before 8f6f8a48399f82f4a83f7b9f25b9707e0062a4f9; 3c57a0be487088b08d9c88998f911eb4a7ba36e4; from 4.20.11 before 4.21; 5.0 (not affected: before 5.0; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.2.9 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/4e9a1d5c763f751fcc2928f7131f143251e01760>
- <https://git.kernel.org/stable/c/ae288482a10fb0782b606f20ca4bf32d79efec2b>
- <https://git.kernel.org/stable/c/36a2ba21d38a86bae84441e4c8d5b10653ef341a>
- <https://git.kernel.org/stable/c/59d30bdc3dd6fd3a8990f59bc7a137b1cbb3ed4e>
- <https://git.kernel.org/stable/c/70783946f3b5d0c06ec7df0f5e7bec2bfad24efb>
- <https://git.kernel.org/stable/c/8f6f8a48399f82f4a83f7b9f25b9707e0062a4f9>

## Sources

- CVE List: [CVE-2026-98449](https://www.cve.org/CVERecord?id=CVE-2026-98449), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-98449](https://nvd.nist.gov/vuln/detail/CVE-2026-98449), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-98449 · Whole record: https://cve.day/CVE-2026-98449.json · Rebuilt by cve.day 2026-11-25T22:59:45.185Z
