| 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-2022-49097: NFS: Avoid writeback threads getting stuck in mempool_alloc() |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| NFS: Avoid writeback threads getting stuck in mempool_alloc() |
| |
| In a low memory situation, allow the NFS writeback code to fail without |
| getting stuck in infinite loops in mempool_alloc(). |
| |
| The Linux kernel CVE team has assigned CVE-2022-49097 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Fixed in 5.10.111 with commit c74e2f6ecc51bd08bb5b0335477dba954a50592e |
| Fixed in 5.15.34 with commit ea029e4ce760f786919d06ef52efa2e50ea92a5f |
| Fixed in 5.16.20 with commit 1b3fa9a3c420c31e77b406ddc28f3a627100516c |
| Fixed in 5.17.3 with commit a6caeddd68977a1aaaf62fbd1955b41dd5c3c5d3 |
| Fixed in 5.18 with commit 0bae835b63c53f86cdc524f5962e39409585b22c |
| |
| 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-2022-49097 |
| 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/nfs/pagelist.c |
| fs/nfs/write.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/c74e2f6ecc51bd08bb5b0335477dba954a50592e |
| https://git.kernel.org/stable/c/ea029e4ce760f786919d06ef52efa2e50ea92a5f |
| https://git.kernel.org/stable/c/1b3fa9a3c420c31e77b406ddc28f3a627100516c |
| https://git.kernel.org/stable/c/a6caeddd68977a1aaaf62fbd1955b41dd5c3c5d3 |
| https://git.kernel.org/stable/c/0bae835b63c53f86cdc524f5962e39409585b22c |