| 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-2024-56688: sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reset transport |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reset transport |
| |
| Since transport->sock has been set to NULL during reset transport, |
| XPRT_SOCK_UPD_TIMEOUT also needs to be cleared. Otherwise, the |
| xs_tcp_set_socket_timeouts() may be triggered in xs_tcp_send_request() |
| to dereference the transport->sock that has been set to NULL. |
| |
| The Linux kernel CVE team has assigned CVE-2024-56688 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 4.11 with commit 7196dbb02ea05835b9ee56910ee82cb55422c7f1 and fixed in 5.4.287 with commit cc91d59d34ff6a6fee1c0b48612081a451e05e9a |
| Issue introduced in 4.11 with commit 7196dbb02ea05835b9ee56910ee82cb55422c7f1 and fixed in 5.10.231 with commit 86a1f9fa24804cd7f9d7dd3f24af84fc7f8ec02e |
| Issue introduced in 4.11 with commit 7196dbb02ea05835b9ee56910ee82cb55422c7f1 and fixed in 5.15.174 with commit fe6cbf0b2ac3cf4e21824a44eaa336564ed5e960 |
| Issue introduced in 4.11 with commit 7196dbb02ea05835b9ee56910ee82cb55422c7f1 and fixed in 6.1.120 with commit 87a95ee34a48dfad198a2002e4966e1d63d53f2b |
| Issue introduced in 4.11 with commit 7196dbb02ea05835b9ee56910ee82cb55422c7f1 and fixed in 6.6.64 with commit 3811172e8c98ceebd12fe526ca6cb37a1263c964 |
| Issue introduced in 4.11 with commit 7196dbb02ea05835b9ee56910ee82cb55422c7f1 and fixed in 6.11.11 with commit 638a8fa5a7e641f9401346c57e236f02379a0c40 |
| Issue introduced in 4.11 with commit 7196dbb02ea05835b9ee56910ee82cb55422c7f1 and fixed in 6.12.2 with commit 66d11ca91bf5100ae2e6b5efad97e58d8448843a |
| Issue introduced in 4.11 with commit 7196dbb02ea05835b9ee56910ee82cb55422c7f1 and fixed in 6.13 with commit 4db9ad82a6c823094da27de4825af693a3475d51 |
| |
| 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-2024-56688 |
| 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: |
| net/sunrpc/xprtsock.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/cc91d59d34ff6a6fee1c0b48612081a451e05e9a |
| https://git.kernel.org/stable/c/86a1f9fa24804cd7f9d7dd3f24af84fc7f8ec02e |
| https://git.kernel.org/stable/c/fe6cbf0b2ac3cf4e21824a44eaa336564ed5e960 |
| https://git.kernel.org/stable/c/87a95ee34a48dfad198a2002e4966e1d63d53f2b |
| https://git.kernel.org/stable/c/3811172e8c98ceebd12fe526ca6cb37a1263c964 |
| https://git.kernel.org/stable/c/638a8fa5a7e641f9401346c57e236f02379a0c40 |
| https://git.kernel.org/stable/c/66d11ca91bf5100ae2e6b5efad97e58d8448843a |
| https://git.kernel.org/stable/c/4db9ad82a6c823094da27de4825af693a3475d51 |