{"id":"CVE-2026-99738","aliases":[],"cve":{"records":[{"id":"CVE-2026-99738","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-25T10:25:14.431Z","published":"2026-11-20T05:51:11.250Z","modified":"2026-11-20T05:51:11.250Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-11-20T05:51:11.250Z"}],"references":[{"url":"https://git.kernel.org/stable/c/680afc486db200e7b08307cb28be4f90766afcff","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/f4ce23b1feef16d435aa1188b6c2a637a5373ed5","tags":[],"source":"Linux"}],"weaknesses":[],"applicability":[{"source":"Linux","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"7.3.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.17","versionEndExcluding":"7.4-rc2"}]}]}]}],"prioritization":[]},"title":"mm/shmem: preserve allocation errors when swapping in large entries","titleSource":"Linux","descriptionSource":"Linux","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/shmem: preserve allocation errors when swapping in large entries\n\nshmem_swapin_folio() adjusts swap to the requested slot within a large\nswap entry before allocating a folio. If allocation or charging fails,\nthe error path compares this adjusted value with the original entry\nstill stored in the XArray in shmem_confirm_swap().\n\nUnless the index is at the start of the entry, this turns -ENOMEM into\n-EEXIST even though nothing changed.\n\nThe caller retries -EEXIST, so persistent allocation failures can leave\nthe task spinning instead of returning the error.\n\nRestore swap to index_entry on allocation failure so the existing error\npath checks the original entry. This preserves the allocation error if\nthe entry is unchanged and still retries if it changed concurrently.","score":null,"severity":"unknown","published":"2026-11-20T05:51:11.250Z","modified":"2026-11-20T05:51:11.250Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"91ab656ece137c368a3189dfd42f8c9203a6285c","status":"affected","lessThan":"680afc486db200e7b08307cb28be4f90766afcff","versionType":"git"},{"version":"91ab656ece137c368a3189dfd42f8c9203a6285c","status":"affected","lessThan":"f4ce23b1feef16d435aa1188b6c2a637a5373ed5","versionType":"git"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99738"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"6.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.17","versionType":"semver"},{"version":"7.3.5","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99738"}],"remediation":[],"references":["https://git.kernel.org/stable/c/680afc486db200e7b08307cb28be4f90766afcff","https://git.kernel.org/stable/c/f4ce23b1feef16d435aa1188b6c2a637a5373ed5"],"sources":[{"name":"CVE","id":"CVE-2026-99738","modified":"2026-11-20T05:51:11.250Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99738"}],"assessments":[],"sourceAffected":[],"observedAt":"2026-11-20T06:18:56.341Z","kev":{"status":"not-listed","checkedAt":"2026-11-22T13:00:31.692Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-21T09:30:43.337Z","attemptedAt":"2026-11-21T09:30:43.337Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-21T08:50:36.500Z","attemptedAt":"2026-11-21T08:50:36.500Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-21T08:35:35.085Z","attemptedAt":"2026-11-21T08:35:35.085Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-21T05:40:36.867Z","attemptedAt":"2026-11-21T05:40:36.867Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-99738","url":"https://www.first.org/epss/","probability":0.00156,"percentile":0.04821,"date":"2026-11-20","checkedAt":"2026-11-21T05:40:36.867Z"},{"source":"ENISA EUVD","id":"EUVD-2026-130854","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-130854","modified":"Nov 20, 2026, 5:51:11 AM","checkedAt":"2026-11-21T08:35:35.085Z"},{"source":"GitHub Advisory Database","id":"GHSA-p2c5-p9qm-m686","url":"https://github.com/advisories/GHSA-p2c5-p9qm-m686","modified":"2026-11-20T06:32:18Z","checkedAt":"2026-11-21T08:50:36.500Z"},{"source":"NVD","id":"CVE-2026-99738","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99738","modified":"2026-11-20T06:18:11.470","checkedAt":"2026-11-21T09:30:43.337Z"}],"aiSummary":null}