CVE-2026-98450

smb: client: close completed creates on compound wait errors

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e0bba0b8548179b696e86c158ea8f45f2ef6ad14 to before da83fed81241b03fd0e7ccf0091b051cf420d8d2Affected
  • e0bba0b8548179b696e86c158ea8f45f2ef6ad14 to before e94370cf2b76e913a997e9a633ab521a45029284Affected
  • e0bba0b8548179b696e86c158ea8f45f2ef6ad14 to before c8c6c7e665af4dba75a02f4c9bad3ae2ce341619Affected
  • e0bba0b8548179b696e86c158ea8f45f2ef6ad14 to before 8afc80156b1d9e2cfd02d42c255305fad95b59fcAffected
  • e0bba0b8548179b696e86c158ea8f45f2ef6ad14 to before 2cb07d1a6a30283dbfc809c8036bc1fd103d59faAffected
  • e0bba0b8548179b696e86c158ea8f45f2ef6ad14 to before 224b56b7c02b2bfb1f5bee18d5f56ae6b052be44Affected
  • e0bba0b8548179b696e86c158ea8f45f2ef6ad14 to before 253612499ce9b4cd7bb922fe507ec204bddd9313Affected
  • e0bba0b8548179b696e86c158ea8f45f2ef6ad14 to before 6c5c547f037bc18f0b8d0b5db5a648f8f630ce85Affected
LinuxLinux
  • 4.19Affected
  • before 4.19Not affected
  • 5.10.273 through 5.10.*Not affected
  • 5.15.224 through 5.15.*Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.113 through 6.12.*Not affected
  • 6.18.56 through 6.18.*Not affected
  • 7.2.9 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.