Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-89967

published high CVSS 3.1 · 7.8

mm/migrate_device: avoid out-of-bounds writes for compound folios

Published
16 Sep 2026, 10:32:48 UTC
Updated
19 Oct 2026, 08:55:40 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxa30b48bf1b244f11bf9b6d20cdccfe0c2264130c to < 99186b185c245f5987d7f8715d5504c8d8cc04a0 · a30b48bf1b244f11bf9b6d20cdccfe0c2264130c to < dc41e961a269f2ca4196e669d6d8e05480899cd4 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.19 (affected) · 0 to < 6.19 (unaffected · semver) · 7.2.5 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
Ubuntu noble linux-aws-7.0 Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.2.7-1.1 OPENSUSE-SU-2026:11880-1
Ubuntu noble linux-aws-7.0-cloud-tools-7.0.0-1017 Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-aws-7.0-headers-7.0.0-1017 Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-aws-7.0-tools-7.0.0-1017 Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-azure-7.0 Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-azure-7.0-cloud-tools-7.0.0-1020 Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-azure-7.0-headers-7.0.0-1020 Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-azure-7.0-tools-7.0.0-1020 Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-azure-fde-7.0 Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-azure-fde-7.0-cloud-tools-7.0.0-1019 Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-azure-fde-7.0-headers-7.0.0-1019 Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-azure-fde-7.0-tools-7.0.0-1019 Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-buildinfo-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-buildinfo-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-buildinfo-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-buildinfo-7.0.0-42-generic-64k Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-cloud-tools-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-cloud-tools-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-cloud-tools-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-cloud-tools-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-cloud-tools-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-cloud-tools-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-gcp-7.0 Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-gcp-7.0-headers-7.0.0-1017 Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-gcp-7.0-tools-7.0.0-1017 Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-headers-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-headers-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-headers-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-headers-7.0.0-42-generic-64k Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-hwe-7.0 Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-hwe-7.0-cloud-tools-7.0.0-42 Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-hwe-7.0-headers-7.0.0-42 Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-hwe-7.0-tools-7.0.0-42 Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-image-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-image-unsigned-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-image-unsigned-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-image-unsigned-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-image-unsigned-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-image-unsigned-7.0.0-42-generic-64k Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-lib-rust-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-modules-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-modules-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-modules-7.0.0-1020-azure-64k Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-modules-7.0.0-42-generic Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-modules-7.0.0-42-generic-64k Advisory build 7.0.0-42.42~24.04.1 USN-8959-1
Ubuntu noble linux-modules-iwlwifi-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-modules-iwlwifi-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1
Ubuntu noble linux-oracle-7.0 Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-oracle-7.0-headers-7.0.0-1016 Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-oracle-7.0-tools-7.0.0-1016 Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1016-oracle Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1016-oracle-64k Advisory build 7.0.0-1016.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1017-aws Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1017-aws-64k Advisory build 7.0.0-1017.18~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1017-gcp Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1017-gcp-64k Advisory build 7.0.0-1017.19~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1019-azure-fde Advisory build 7.0.0-1019.19~24.04.1 USN-9020-1
Ubuntu noble linux-tools-7.0.0-1020-azure Advisory build 7.0.0-1020.21~24.04.2 USN-9160-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: mm/migrate_device: avoid out-of-bounds writes for compound folios migrate_device_range() and migrate_device_pfns() clear the entries following a compound folio so that the PFN arrays retain their page-granular representation. If a compound folio extends beyond the end of the caller-provided range, the loops clear all following folio entries without limiting them to the number of slots remaining in the npages-sized array, causing an out-of-bounds write. Do not proceed with a compound folio if its page-granular representation does not fit entirely in the remaining PFN array. If this happens, drop any reference and lock acquired for the folio, clear the remaining entries, and stop collecting. Observed with a KASAN x86 QEMU kernel using the HMM migrate_anon_huge_zero selftest. Closing /dev/hmm_dmirror0 after migrating an anonymous huge page to device memory exercises: dmirror_fops_release() -> dmirror_device_evict_chunk() -> migrate_device_range()

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

9

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The OOB write is in migrate_device_range()/migrate_device_pfns() on the device-private eviction path, reached from local HMM/GPU SVM (close of /dev/hmm_dmirror*, Nouveau dmem teardown, Intel Xe drm_pagemap_evict_to_ram after DRM_XE_VM_BIND), not from received network packets. AC:L - The attacker creates a compound device folio by migrating an anonymous THP or huge-zero page, then triggers eviction of a too-small PFN array (dmirror close/HMM_DMIRROR_RELEASE or Xe TTM eviction of a CPU_ADDR_MIRROR BO). The HMM selftest hits this deterministically; no victim timing is required. PR:L - Intel Xe DRM_XE_VM_BIND is DRM_RENDER_ALLOW with no capable() or DRM-master check. An unprivileged local user with typical render/video-group access to /dev/dri/renderD* can migrate a THP to device memory and force drm_pagemap_evict_to_ram. UI:N - The attacker performs mmap/madvise, the migrate ioctl, and eviction or close entirely in their own process. No other user or administrator needs to mount a filesystem, open a file, or otherwise interact. S:U - The overflow corrupts host-kernel memory adjacent to the caller-provided src_pfns kvcalloc/kvmalloc array. That is standard local privilege escalation in the same security authority, not a KVM/Xen guest-to-host escape or IOMMU/DMA bypass. C:H - migrate_device_* zeros every tail slot of a compound folio without clipping to npages, overflowing the PFN array by up to (folio_nr_pages-remaining) pointers (~4KB for a 2MB THP). That heap corruption can be turned into an arbitrary kernel read via overlapping objects. I:H - The same unbounded store is an out-of-bounds kernel write into adjacent slab/vmalloc objects. Zeroing neighboring heap metadata, pointers, or function pointers is exploitable for an arbitrary write and control-flow hijack, not a bounded integrity change. A:H - KASAN reports this overflow on the HMM migrate_anon_huge_zero selftest when closing /dev/hmm_dmirror0, and smashing adjacent kernel objects with zeros causes an oops or panic even without a completed exploit.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux a30b48bf1b244f11bf9b6d20cdccfe0c2264130c to < 99186b185c245f5987d7f8715d5504c8d8cc04a0 (affected · git)a30b48bf1b244f11bf9b6d20cdccfe0c2264130c to < dc41e961a269f2ca4196e669d6d8e05480899cd4 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.19 (affected)0 to < 6.19 (unaffected · semver)7.2.5 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

mm/migrate_device: avoid out-of-bounds writes for compound folios

Provenance

Schema
5.2
Searchable
yes
Content hash
99a31f5dca2a89812e76123069cc6f00227f91f40459c23d3d1ae9542a4ff4e8
Ingested
19 Oct 2026, 09:08:15 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected