{"api_version":"1","generated_at":"2026-11-20T07:30:00+00:00","cve":"CVE-2026-99737","urls":{"html":"https://cve.report/CVE-2026-99737","api":"https://cve.report/api/cve/CVE-2026-99737.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99737","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99737"},"summary":{"title":"mm/shmem: fix truncate loop after boundary swapin failure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/shmem: fix truncate loop after boundary swapin failure\n\nIf swapping in a large entry at the new EOF fails, shmem_undo_range()\nleaves the entry in place. Its final scan skips the entry, then restarts\nfrom the same start index and finds it again. Truncation can loop forever\nwhile holding i_rwsem.\n\nAdvance start past the skipped entry so that a restarted scan can finish,\nas we already do for folios that cannot be split.\n\nNote that this does not fix the missing zeroing when boundary swapin fails,\nit merely prevents the endless loop.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 06:18:11","updated_at":"2026-11-20 06:18:11"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/d4d46430852caf5e7dbca1386fc6621ecf8fe2b0","name":"https://git.kernel.org/stable/c/d4d46430852caf5e7dbca1386fc6621ecf8fe2b0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5f1ec2cf92a7d655a8eb39711987822f9b1f9d67","name":"https://git.kernel.org/stable/c/5f1ec2cf92a7d655a8eb39711987822f9b1f9d67","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e6e9ba49679e5f33f62615fb57ec103045fbc8f9","name":"https://git.kernel.org/stable/c/e6e9ba49679e5f33f62615fb57ec103045fbc8f9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb","name":"https://git.kernel.org/stable/c/7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99737","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99737","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected a99f9a4669a04662c8f9efe0e62cafc598153139 7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b23bee8cdb7aabce5701a7f57414db5a354ae8ed d4d46430852caf5e7dbca1386fc6621ecf8fe2b0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8a1968bd997f45a9b11aefeabdd1232e1b6c7184 e6e9ba49679e5f33f62615fb57ec103045fbc8f9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8a1968bd997f45a9b11aefeabdd1232e1b6c7184 5f1ec2cf92a7d655a8eb39711987822f9b1f9d67 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12.69 6.12.118 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18.9 6.18.64 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.19","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.5 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["mm/shmem.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb","status":"affected","version":"a99f9a4669a04662c8f9efe0e62cafc598153139","versionType":"git"},{"lessThan":"d4d46430852caf5e7dbca1386fc6621ecf8fe2b0","status":"affected","version":"b23bee8cdb7aabce5701a7f57414db5a354ae8ed","versionType":"git"},{"lessThan":"e6e9ba49679e5f33f62615fb57ec103045fbc8f9","status":"affected","version":"8a1968bd997f45a9b11aefeabdd1232e1b6c7184","versionType":"git"},{"lessThan":"5f1ec2cf92a7d655a8eb39711987822f9b1f9d67","status":"affected","version":"8a1968bd997f45a9b11aefeabdd1232e1b6c7184","versionType":"git"},{"lessThan":"6.12.118","status":"affected","version":"6.12.69","versionType":"semver"},{"lessThan":"6.18.64","status":"affected","version":"6.18.9","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["mm/shmem.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.19"},{"lessThan":"6.19","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"6.12.69","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"6.18.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.5","versionStartIncluding":"6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"6.19","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/shmem: fix truncate loop after boundary swapin failure\n\nIf swapping in a large entry at the new EOF fails, shmem_undo_range()\nleaves the entry in place. Its final scan skips the entry, then restarts\nfrom the same start index and finds it again. Truncation can loop forever\nwhile holding i_rwsem.\n\nAdvance start past the skipped entry so that a restarted scan can finish,\nas we already do for folios that cannot be split.\n\nNote that this does not fix the missing zeroing when boundary swapin fails,\nit merely prevents the endless loop."}],"providerMetadata":{"dateUpdated":"2026-11-20T05:51:10.519Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/7f1bbb9c6a8ed3fed72bf7efc906ebe31e92feeb"},{"url":"https://git.kernel.org/stable/c/d4d46430852caf5e7dbca1386fc6621ecf8fe2b0"},{"url":"https://git.kernel.org/stable/c/e6e9ba49679e5f33f62615fb57ec103045fbc8f9"},{"url":"https://git.kernel.org/stable/c/5f1ec2cf92a7d655a8eb39711987822f9b1f9d67"}],"title":"mm/shmem: fix truncate loop after boundary swapin failure","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99737","datePublished":"2026-11-20T05:51:10.519Z","dateReserved":"2026-09-25T10:25:14.431Z","dateUpdated":"2026-11-20T05:51:10.519Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 06:18:11","lastModifiedDate":"2026-11-20 06:18:11","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99737","Ordinal":"1","Title":"mm/shmem: fix truncate loop after boundary swapin failure","CVE":"CVE-2026-99737","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99737","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/shmem: fix truncate loop after boundary swapin failure\n\nIf swapping in a large entry at the new EOF fails, shmem_undo_range()\nleaves the entry in place. Its final scan skips the entry, then restarts\nfrom the same start index and finds it again. Truncation can loop forever\nwhile holding i_rwsem.\n\nAdvance start past the skipped entry so that a restarted scan can finish,\nas we already do for folios that cannot be split.\n\nNote that this does not fix the missing zeroing when boundary swapin fails,\nit merely prevents the endless loop.","Type":"Description","Title":"mm/shmem: fix truncate loop after boundary swapin failure"}]}}}