# CVE-2026-98450: smb: client: close completed creates on compound wait errors

- 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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-10-18T15:15:00.649Z
- Modified: 2026-10-30T13:21:13.967Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

smb: client: close completed creates on compound wait errors

compound_send_recv() waits for responses in order. If a later wait is
interrupted, or if a later MID fails during response synchronization, an
earlier CREATE may already have opened a remote handle. The earlier mid
is then released without invoking handle_cancelled_mid(), leaving the
remote handle open because no FID was copied to the caller.

Mark completed earlier mids as cancelled when a compound wait or MID
synchronization aborts. Keep their response buffers attached while the
MIDs are synchronized, and transfer them only after synchronization of
the processed responses, so the release path can inspect successful
CREATE responses and queue SMB2_close() after a later failure. Account for
a remote open only after the close work is allocated and before it is
queued, since the caller has not yet updated num_remote_opens. Mark the
create+close compound used by smb2_unlink() so it is not closed again.
Non-CREATE responses and compounds that already include a close keep their
existing behavior.

(As written by CVE List.)

## Affected

- Linux Linux: from e0bba0b8548179b696e86c158ea8f45f2ef6ad14 before da83fed81241b03fd0e7ccf0091b051cf420d8d2; from e0bba0b8548179b696e86c158ea8f45f2ef6ad14 before e94370cf2b76e913a997e9a633ab521a45029284; from e0bba0b8548179b696e86c158ea8f45f2ef6ad14 before c8c6c7e665af4dba75a02f4c9bad3ae2ce341619; from e0bba0b8548179b696e86c158ea8f45f2ef6ad14 before 8afc80156b1d9e2cfd02d42c255305fad95b59fc; from e0bba0b8548179b696e86c158ea8f45f2ef6ad14 before 2cb07d1a6a30283dbfc809c8036bc1fd103d59fa; from e0bba0b8548179b696e86c158ea8f45f2ef6ad14 before 224b56b7c02b2bfb1f5bee18d5f56ae6b052be44; from e0bba0b8548179b696e86c158ea8f45f2ef6ad14 before 253612499ce9b4cd7bb922fe507ec204bddd9313; from e0bba0b8548179b696e86c158ea8f45f2ef6ad14 before 6c5c547f037bc18f0b8d0b5db5a648f8f630ce85; 4.19 (not affected: before 4.19; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.56 up to 6.18.*; from 7.2.9 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/da83fed81241b03fd0e7ccf0091b051cf420d8d2>
- <https://git.kernel.org/stable/c/e94370cf2b76e913a997e9a633ab521a45029284>
- <https://git.kernel.org/stable/c/c8c6c7e665af4dba75a02f4c9bad3ae2ce341619>
- <https://git.kernel.org/stable/c/8afc80156b1d9e2cfd02d42c255305fad95b59fc>
- <https://git.kernel.org/stable/c/2cb07d1a6a30283dbfc809c8036bc1fd103d59fa>
- <https://git.kernel.org/stable/c/224b56b7c02b2bfb1f5bee18d5f56ae6b052be44>
- <https://git.kernel.org/stable/c/253612499ce9b4cd7bb922fe507ec204bddd9313>
- <https://git.kernel.org/stable/c/6c5c547f037bc18f0b8d0b5db5a648f8f630ce85>

## Sources

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

---

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