smb: client: close handle after create-context parsing failure
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f09875ff901e933e7b22c913daf51d21e9d93a45, Kernel 5.15.224, Kernel 5.5 and 13 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=af1689a9b7701d9907dfc84d2a4b57c4bc907144 <f09875ff901e933e7b22c913daf51d21e9d93a45, >=5.15.150 <5.15.224, >=5.4.277 <5.5, >=6.1.79 <6.1.191, >=6.6.8 <6.6.160, >=890bc4fac3c0973a49cac35f634579bebba7fe48 <ee61f1dc516d97afa79908140d0a8c556c2fe90c, >=af1689a9b7701d9907dfc84d2a4b57c4bc907144 <566820af017e81497fb5e9d3ad6e7ffe2828bc8b, >=af1689a9b7701d9907dfc84d2a4b57c4bc907144 <80c67cc71d32ccafc89a29b669243b40d81b930f, >=af1689a9b7701d9907dfc84d2a4b57c4bc907144 <cdb36b09fb1f86d638d0afb44d621ed3f7c1d8eb, =6.7, =6726429c18c62dbf5e96ebbd522f262e016553fb, >=13fb0fc4917621f3dfa285a27eaf7151d770b5e5 <d4c05b5cb0a3132453e36a300d45de44bf6783c4, >=17a0f64cc02d4972e21c733d9f21d1c512963afa <eaa97a196a107d4ef8775df2248181624151812e, >=1ae3c59355dc9882e09c020afe8ffbd895ad0f29 <007b87f6a7c38959ed79cf7d3fd7b3b4eb5f67fd, >=5.10.211 <5.10.273 | f09875ff901e933e7b22c913daf51d21e9d93a45, 5.15.224, 5.5, 6.1.191, 6.6.160, ee61f1dc516d97afa79908140d0a8c556c2fe90c, 566820af017e81497fb5e9d3ad6e7ffe2828bc8b, 80c67cc71d32ccafc89a29b669243b40d81b930f, cdb36b09fb1f86d638d0afb44d621ed3f7c1d8eb, d4c05b5cb0a3132453e36a300d45de44bf6783c4, eaa97a196a107d4ef8775df2248181624151812e, 007b87f6a7c38959ed79cf7d3fd7b3b4eb5f67fd, 5.10.273 |
| linux-kernel: Kernel | >=5.15.150 <5.15.224, >=5.4.277 <5.5, >=6.1.79 <6.1.191, >=6.13.0 <6.18.56, >=6.19.0 <7.2.9, >=6.6.8 <6.6.160, >=6.7.0 <6.12.113, >=5.10.211 <5.10.273 | 5.15.224, 5.5, 6.1.191, 6.18.56, 7.2.9, 6.6.160, 6.12.113, 5.10.273 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket