CVE-2026-98453 PUBLISHED

smb: client: close handle after create-context parsing failure

Assigner: Linux
Reserved: 25.09.2026 Published: 18.10.2026 Updated: 18.10.2026

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

smb: client: close handle after create-context parsing failure

SMB2_open() accounts a successful CREATE response as a remote open before parsing its create contexts. If smb2_parse_contexts() rejects malformed context data, SMB2_open() returns without closing the handle, leaving the server-side handle open and num_remote_opens elevated.

Close the handle after a post-CREATE context parsing failure so the error path releases the remote resource and balances the open count.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from af1689a9b7701d9907dfc84d2a4b57c4bc907144 to 80c67cc71d32ccafc89a29b669243b40d81b930f (excl.)
  • affected from af1689a9b7701d9907dfc84d2a4b57c4bc907144 to f09875ff901e933e7b22c913daf51d21e9d93a45 (excl.)
  • affected from af1689a9b7701d9907dfc84d2a4b57c4bc907144 to cdb36b09fb1f86d638d0afb44d621ed3f7c1d8eb (excl.)
  • affected from af1689a9b7701d9907dfc84d2a4b57c4bc907144 to 566820af017e81497fb5e9d3ad6e7ffe2828bc8b (excl.)
  • Version 6726429c18c62dbf5e96ebbd522f262e016553fb is affected
  • Version 13fb0fc4917621f3dfa285a27eaf7151d770b5e5 is affected
  • Version 890bc4fac3c0973a49cac35f634579bebba7fe48 is affected
  • Version 1ae3c59355dc9882e09c020afe8ffbd895ad0f29 is affected
  • Version 17a0f64cc02d4972e21c733d9f21d1c512963afa is affected
  • affected from 5.4.277 to 5.5 (excl.)
  • affected from 5.10.211 to 5.11 (excl.)
  • affected from 5.15.150 to 5.16 (excl.)
  • affected from 6.1.79 to 6.2 (excl.)
  • affected from 6.6.8 to 6.7 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.7 is affected
  • unaffected from 0 to 6.7 (excl.)
  • unaffected from 6.12.113 to 6.12.* (incl.)
  • unaffected from 6.18.56 to 6.18.* (incl.)
  • unaffected from 7.2.9 to 7.2.* (incl.)
  • unaffected from 7.3-rc5 to * (incl.)

References