| From bippy-5f407fcff5a0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2023-53006: cifs: Fix oops due to uncleared server->smbd_conn in reconnect |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| cifs: Fix oops due to uncleared server->smbd_conn in reconnect |
| |
| In smbd_destroy(), clear the server->smbd_conn pointer after freeing the |
| smbd_connection struct that it points to so that reconnection doesn't get |
| confused. |
| |
| The Linux kernel CVE team has assigned CVE-2023-53006 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 4.16 with commit 8ef130f9ec27973f7b49e20c5a3b9134ca33026c and fixed in 4.19.272 with commit a9640c0b268405f2540e8203a545e930ea88bb7d |
| Issue introduced in 4.16 with commit 8ef130f9ec27973f7b49e20c5a3b9134ca33026c and fixed in 5.4.231 with commit 91be54849d5392050f5b847b42bd5e6221551ac8 |
| Issue introduced in 4.16 with commit 8ef130f9ec27973f7b49e20c5a3b9134ca33026c and fixed in 5.10.166 with commit e037baee16e0b9ace7e730888fcae9cec11daff2 |
| Issue introduced in 4.16 with commit 8ef130f9ec27973f7b49e20c5a3b9134ca33026c and fixed in 5.15.91 with commit 4b83bc6f87eedab4599b0123e572a422689444be |
| Issue introduced in 4.16 with commit 8ef130f9ec27973f7b49e20c5a3b9134ca33026c and fixed in 6.1.9 with commit 5109607a4ece7cd8536172bf7549eb4dce1f3576 |
| Issue introduced in 4.16 with commit 8ef130f9ec27973f7b49e20c5a3b9134ca33026c and fixed in 6.2 with commit b7ab9161cf5ddc42a288edf9d1a61f3bdffe17c7 |
| |
| Please see https://www.kernel.org for a full list of currently supported |
| kernel versions by the kernel community. |
| |
| Unaffected versions might change over time as fixes are backported to |
| older supported kernel versions. The official CVE entry at |
| https://cve.org/CVERecord/?id=CVE-2023-53006 |
| will be updated if fixes are backported, please check that for the most |
| up to date information about this issue. |
| |
| |
| Affected files |
| ============== |
| |
| The file(s) affected by this issue are: |
| fs/cifs/smbdirect.c |
| |
| |
| Mitigation |
| ========== |
| |
| The Linux kernel CVE team recommends that you update to the latest |
| stable kernel version for this, and many other bugfixes. Individual |
| changes are never tested alone, but rather are part of a larger kernel |
| release. Cherry-picking individual commits is not recommended or |
| supported by the Linux kernel community at all. If however, updating to |
| the latest release is impossible, the individual changes to resolve this |
| issue can be found at these commits: |
| https://git.kernel.org/stable/c/a9640c0b268405f2540e8203a545e930ea88bb7d |
| https://git.kernel.org/stable/c/91be54849d5392050f5b847b42bd5e6221551ac8 |
| https://git.kernel.org/stable/c/e037baee16e0b9ace7e730888fcae9cec11daff2 |
| https://git.kernel.org/stable/c/4b83bc6f87eedab4599b0123e572a422689444be |
| https://git.kernel.org/stable/c/5109607a4ece7cd8536172bf7549eb4dce1f3576 |
| https://git.kernel.org/stable/c/b7ab9161cf5ddc42a288edf9d1a61f3bdffe17c7 |