{"id":"CVE-2022-49097","state":"PUBLISHED","title":"NFS: Avoid writeback threads getting stuck in mempool_alloc()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFS: Avoid writeback threads getting stuck in mempool_alloc()\n\nIn a low memory situation, allow the NFS writeback code to fail without\ngetting stuck in infinite loops in mempool_alloc().","publishedAt":"2025-02-26T01:54:49.601Z","updatedAt":"2026-05-11T18:53:02.814Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2b17d725f9be59a1bfa0583af690c463fca1f385","status":"affected","lessThan":"c74e2f6ecc51bd08bb5b0335477dba954a50592e","versionType":"git"},{"version":"2b17d725f9be59a1bfa0583af690c463fca1f385","status":"affected","lessThan":"ea029e4ce760f786919d06ef52efa2e50ea92a5f","versionType":"git"},{"version":"2b17d725f9be59a1bfa0583af690c463fca1f385","status":"affected","lessThan":"1b3fa9a3c420c31e77b406ddc28f3a627100516c","versionType":"git"},{"version":"2b17d725f9be59a1bfa0583af690c463fca1f385","status":"affected","lessThan":"a6caeddd68977a1aaaf62fbd1955b41dd5c3c5d3","versionType":"git"},{"version":"2b17d725f9be59a1bfa0583af690c463fca1f385","status":"affected","lessThan":"0bae835b63c53f86cdc524f5962e39409585b22c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfs/pagelist.c","fs/nfs/write.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.3","versionType":"semver"},{"version":"5.10.111","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.34","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.16.20","status":"unaffected","lessThanOrEqual":"5.16.*","versionType":"semver"},{"version":"5.17.3","status":"unaffected","lessThanOrEqual":"5.17.*","versionType":"semver"},{"version":"5.18","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfs/pagelist.c","fs/nfs/write.c"]}],"references":["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"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/49xxx/CVE-2022-49097.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-49097","state":"PUBLISHED","datePublished":"2025-02-26T01:54:49.601Z","dateUpdated":"2026-05-11T18:53:02.814Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-02-26T01:49:39.249Z"},"containers":{"cna":{"title":"NFS: Avoid writeback threads getting stuck in mempool_alloc()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFS: Avoid writeback threads getting stuck in mempool_alloc()\n\nIn a low memory situation, allow the NFS writeback code to fail without\ngetting stuck in infinite loops in mempool_alloc()."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2b17d725f9be59a1bfa0583af690c463fca1f385","status":"affected","lessThan":"c74e2f6ecc51bd08bb5b0335477dba954a50592e","versionType":"git"},{"version":"2b17d725f9be59a1bfa0583af690c463fca1f385","status":"affected","lessThan":"ea029e4ce760f786919d06ef52efa2e50ea92a5f","versionType":"git"},{"version":"2b17d725f9be59a1bfa0583af690c463fca1f385","status":"affected","lessThan":"1b3fa9a3c420c31e77b406ddc28f3a627100516c","versionType":"git"},{"version":"2b17d725f9be59a1bfa0583af690c463fca1f385","status":"affected","lessThan":"a6caeddd68977a1aaaf62fbd1955b41dd5c3c5d3","versionType":"git"},{"version":"2b17d725f9be59a1bfa0583af690c463fca1f385","status":"affected","lessThan":"0bae835b63c53f86cdc524f5962e39409585b22c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfs/pagelist.c","fs/nfs/write.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.3","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.3","versionType":"semver"},{"version":"5.10.111","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.34","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.16.20","status":"unaffected","lessThanOrEqual":"5.16.*","versionType":"semver"},{"version":"5.17.3","status":"unaffected","lessThanOrEqual":"5.17.*","versionType":"semver"},{"version":"5.18","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nfs/pagelist.c","fs/nfs/write.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c74e2f6ecc51bd08bb5b0335477dba954a50592e"},{"url":"https://git.kernel.org/stable/c/ea029e4ce760f786919d06ef52efa2e50ea92a5f"},{"url":"https://git.kernel.org/stable/c/1b3fa9a3c420c31e77b406ddc28f3a627100516c"},{"url":"https://git.kernel.org/stable/c/a6caeddd68977a1aaaf62fbd1955b41dd5c3c5d3"},{"url":"https://git.kernel.org/stable/c/0bae835b63c53f86cdc524f5962e39409585b22c"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T18:53:02.814Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"5.10.111"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"5.15.34"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"5.16.20"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"5.17.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.3","versionEndExcluding":"5.18"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}