VDB

CVE-2026-89755

CVE-2026-89755 PUBLISHED CVSS 7.8 HIGH

mm/migrate_device: clear stale mapping after freeing swapcache

Reported by linux · Published September 11, 2026

In the Linux kernel, the following vulnerability has been resolved: mm/migrate_device: clear stale mapping after freeing swapcache __migrate_device_pages() reads the folio mapping before calling folio_free_swap(). When folio_free_swap() succeeds, the folio is removed from the swap cache, but the saved mapping still points to swap_space. Passing the stale mapping to folio_migrate_mapping() makes it use the mapped-folio path for a folio that is no longer in swapcache. It can then operate on swap_space.i_pages with invalid reference accounting, eventually triggering a folio reference count BUG. After a successful split, nr still contains the number of pages in the original large folio, although each resulting page is now a separate order-0 folio. Reset nr to 1 so each split folio is processed separately, including its own swapcache removal and mapping lookup. Refresh the saved mapping after folio_free_swap() so the current folio state is used during migration.

EPSS 0.16% · 4.9th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-tools-develAmazon Linux1:6.12.111-136.204.amzn2023
perf6.12Amazon Linux1:6.12.111-136.204.amzn2023

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.16%
4.9th percentile

Affected products

VendorProductVersions
LinuxLinuxdf263d9a7dffee94ca5391120ee3b0587efa07f1, df263d9a7dffee94ca5391120ee3b0587efa07f1, df263d9a7dffee94ca5391120ee3b0587efa07f1
LinuxLinux6.6, 0, 6.6.160
amazon:2023kernel6.12-tools-devel0
amazon:2023perf6.120
LinuxLinux6.6.160, 6.12.111, 6.18.61
amazon:2023python3-perf6.120
amazon:2023kernel6.120
amazon:2023kernel-livepatch-6.12.111-136.2040
amazon:2023bpftool6.120
amazon:2023kernel6.12-devel0
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-modules-extra-common0
linuxlinux_kernel6.6, 6.6, 6.6
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-modules-extra0

Timeline

  • Sep 11, 2026 CVE Published
  • Sep 12, 2026 EPSS Score (11 in total, the first dated here)
  • Nov 6, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-89755
vulnetix vdb fixes CVE-2026-89755

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89755/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›