Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential UAF and double free in smb2_open_file() Zero out @err_iov and @err_buftype before retrying SMB2_open() to prevent an UAF bug if @data != NULL, otherwise a double free.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 743f70406264348c0830f38409eb6c40a42fb2db before 96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74; affected 3a6d6b332f92990958602c1e35ce0173e2dd62e9 before 7425453ea16dbc3bbb0f6cac4d60b537e5e4d151; affected b64e3b5d8d759dd4333992e4ba4dadf9359952c8 before 4d339b219004869e96c4ce56b8891f83a38da4c0; affected 9ee608a64e37cea5b4b13e436c559dd0fb2ad1b5 before e66dcf7bb9c4df5582c82bc3582725abcbfbea73; affected e3a43633023e3cacaca60d4b8972d084a2b06236 before 639deb962986ef2f5e2a6d5a600c66f922471e81; affected e3a43633023e3cacaca60d4b8972d084a2b06236 before ebbbc4bfad4cb355d17c671223d0814ee3ef4eda; affected 6.1.163 before 6.1.165; affected 6.6.124 before 6.6.128; affected 6.12.70 before 6.12.75; affected 6.18.10 before 6.18.14 |
| Linux / Linux | affected 6.19; unaffected 0 before 6.19; unaffected 6.1.165 through 6.1.*; unaffected 6.6.128 through 6.6.*; unaffected 6.12.75 through 6.12.*; unaffected 6.18.14 through 6.18.*; unaffected 6.19.4 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74
- https://git.kernel.org/stable/c/7425453ea16dbc3bbb0f6cac4d60b537e5e4d151
- https://git.kernel.org/stable/c/4d339b219004869e96c4ce56b8891f83a38da4c0
- https://git.kernel.org/stable/c/e66dcf7bb9c4df5582c82bc3582725abcbfbea73
- https://git.kernel.org/stable/c/639deb962986ef2f5e2a6d5a600c66f922471e81
- https://git.kernel.org/stable/c/ebbbc4bfad4cb355d17c671223d0814ee3ef4eda
ADP enrichment
A flaw was found in the Linux kernel's Server Message Block (SMB) client. This vulnerability, within the `smb2_open_file()` function, could allow an attacker to cause memory corruption due to improper handling of memory during file open operations. This could lead to system instability or potentially enable an attacker to execute arbitrary code.
No English description supplied.
No references supplied.