smb: client: close handle after create-context parsing failure
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 5.5, 5.11, 5.16, 6.2, and 3 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 17a0f64cc02d4972e21c733d9f21d1c512963afa · fixed in eaa97a196a107d4ef8775df2248181624151812e; From af1689a9b7701d9907dfc84d2a4b57c4bc907144 · fixed in 80c67cc71d32ccafc89a29b669243b40d81b930f; From af1689a9b7701d9907dfc84d2a4b57c4bc907144 · fixed in f09875ff901e933e7b22c913daf51d21e9d93a45; From af1689a9b7701d9907dfc84d2a4b57c4bc907144 · fixed in cdb36b09fb1f86d638d0afb44d621ed3f7c1d8eb; From af1689a9b7701d9907dfc84d2a4b57c4bc907144 · fixed in 566820af017e81497fb5e9d3ad6e7ffe2828bc8b; From 6.6.8 · fixed in 6.6.160; From 5.4.277 · fixed in 5.5; From 5.10.211 · fixed in 5.11; From 5.15.150 · fixed in 5.16; From 6.1.79 · fixed in 6.2
- Linux Linux
6.7
- KernelLinux
fixed in 6.6.160; From 6.7.0 · fixed in 6.12.113; fixed in 6.18.56; From 6.13.0 · fixed in 7.2.9