| 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-50241: NFSD: Initialize struct nfsd4_copy earlier |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| NFSD: Initialize struct nfsd4_copy earlier |
| |
| Ensure the refcount and async_copies fields are initialized early. |
| cleanup_async_copy() will reference these fields if an error occurs |
| in nfsd4_copy(). If they are not correctly initialized, at the very |
| least, a refcount underflow occurs. |
| |
| The Linux kernel CVE team has assigned CVE-2024-50241 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 6.11.3 with commit 6a488ad7745b8f64625c6d3a24ce7e448e83f11b and fixed in 6.11.7 with commit e30a9a2f69c34a00a3cb4fd45c5d231929e66fb1 |
| Issue introduced in 6.10.14 with commit b4e21431a0db4854b5023cd5af001be557e6c3db |
| |
| 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-50241 |
| 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/nfsd/nfs4proc.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/059434d23c4578d9d02efb92d848ea21bc640112 |
| https://git.kernel.org/stable/c/7267625baf365a969f1b25ded6f07b64bc90ec5b |
| https://git.kernel.org/stable/c/c3074003fa6837c2b89a34d8d12d9463b59d22d6 |
| https://git.kernel.org/stable/c/421f1a2a1afb47d88de09457ef7687e1df7bc997 |
| https://git.kernel.org/stable/c/e30a9a2f69c34a00a3cb4fd45c5d231929e66fb1 |
| https://git.kernel.org/stable/c/63fab04cbd0f96191b6e5beedc3b643b01c15889 |