CVE-2026-46280
published high CVSS 3.1 · 7.8lib: test_hmm: evict device pages on file close to avoid use-after-free
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb2ef9f5a5cb37643ca5def3516c546457074b882 to < 234071b4318feaeb27cd2e4e1b16ef6b055adf89 · b2ef9f5a5cb37643ca5def3516c546457074b882 to < bf477abd448c76bb8ea51c9b4f63a3a17c4b6239 · b2ef9f5a5cb37643ca5def3516c546457074b882 to < 5846715b6382dd4c6a69b35a56ca6115d33bc2a0 · b2ef9f5a5cb37643ca5def3516c546457074b882 to < 38f113f81d3f0adc658a4475dd3ecaec985e21d3 · b2ef9f5a5cb37643ca5def3516c546457074b882 to < 9de1eb0aac2862d6144b8db0ec1388e79f8bc3e1 · b2ef9f5a5cb37643ca5def3516c546457074b882 to < 744dd97752ef1076a8d8672bb0d8aa2c7abc1144 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.8 (affected) · 0 to < 5.8 (unaffected · semver) · 6.1.176 through 6.1.* (unaffected · semver) · 6.6.140 through 6.6.* (unaffected · semver) · 6.12.86 through 6.12.* (unaffected · semver) · 6.18.27 through 6.18.* (unaffected · semver) · 7.0.4 through 7.0.* (unaffected · semver) · 7.1 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 |
| AlmaLinux | 10 | kernel | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| Debian | bookworm | linux | Advisory build | 6.1.176-1 | DLA-4665-1 |
| Red Hat Enterprise Linux | RHEL-10 | kernelaarch64 | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| AlmaLinux | 10 | kernel-64k | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 10 | kernel-64k-core | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-64k-debug | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-64k-debug-core | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-64k-debug-devel | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-64k-debug-devel-matched | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-64k-debug-modules | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-64k-debug-modules-core | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-64k-debug-modules-extra | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-64k-devel | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-64k-devel-matched | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-64k-modules | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-64k-modules-core | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-64k-modules-extra | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-core | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-cross-headers | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-debug | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-debug-core | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-debug-devel | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-debug-devel-matched | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-debug-modules | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-debug-modules-core | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-debug-modules-extra | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-debug-uki-virt | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-devel | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-devel-matched | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-headers | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-modules | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-modules-core | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-modules-extra | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-modules-extra-matched | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-64k | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-64k-core | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-64k-debug | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-64k-debug-core | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-64k-debug-devel | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules-core | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules-extra | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-64k-devel | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-64k-modules | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-64k-modules-core | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-64k-modules-extra | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-core | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-debug | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-debug-core | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-debug-devel | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-debug-modules | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-debug-modules-core | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-debug-modules-extra | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-devel | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-modules | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-modules-core | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-rt-modules-extra | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-tools | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-tools-libs | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-tools-libs-devel | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-uki-virt | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-uki-virt-addons | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-zfcpdump | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-zfcpdump-core | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-zfcpdump-devel | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-zfcpdump-devel-matched | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-zfcpdump-modules | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-zfcpdump-modules-core | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | kernel-zfcpdump-modules-extra | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | libperf | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | perf | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | python3-perf | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | rtla | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| AlmaLinux | 10 | rv | Advisory build | 6.12.0-264.22.1.el10_3 | ALSA-2026:105695 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.176-1~deb11u1 | DLA-4671-1 |
| Red Hat Enterprise Linux | RHEL-10 | kernelppc64le | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| Red Hat Enterprise Linux | RHEL-10 | kernels390x | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| Red Hat Enterprise Linux | RHEL-10 | kernelsrc | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| Red Hat Enterprise Linux | RHEL-10 | kernelx86_64 | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| Red Hat Enterprise Linux | RHEL-10 | kernel-64kaarch64 | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| Red Hat Enterprise Linux | RHEL-10 | kernel-64k-coreaarch64 | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| Red Hat Enterprise Linux | RHEL-10 | kernel-64k-debugaarch64 | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| Red Hat Enterprise Linux | RHEL-10 | kernel-64k-debug-coreaarch64 | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| Red Hat Enterprise Linux | RHEL-10 | kernel-64k-debug-debuginfoaarch64 | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| Red Hat Enterprise Linux | RHEL-10 | kernel-64k-debug-develaarch64 | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| Red Hat Enterprise Linux | RHEL-10 | kernel-64k-debug-devel-matchedaarch64 | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| Red Hat Enterprise Linux | RHEL-10 | kernel-64k-debug-modulesaarch64 | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| Red Hat Enterprise Linux | RHEL-10 | kernel-64k-debug-modules-coreaarch64 | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| Red Hat Enterprise Linux | RHEL-10 | kernel-64k-debug-modules-extraaarch64 | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| Red Hat Enterprise Linux | RHEL-10 | kernel-64k-debuginfoaarch64 | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| Red Hat Enterprise Linux | RHEL-10 | kernel-64k-develaarch64 | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| Red Hat Enterprise Linux | RHEL-10 | kernel-64k-devel-matchedaarch64 | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| Red Hat Enterprise Linux | RHEL-10 | kernel-64k-modulesaarch64 | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| Red Hat Enterprise Linux | RHEL-10 | kernel-64k-modules-coreaarch64 | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| Red Hat Enterprise Linux | RHEL-10 | kernel-64k-modules-extraaarch64 | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| Red Hat Enterprise Linux | RHEL-10 | kernel-abi-stablelistsnoarch | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
| Red Hat Enterprise Linux | RHEL-10 | kernel-coreaarch64 | Advisory build | 6.12.0-264.22.1.el10_3 | RHSA-2026:105695 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: lib: test_hmm: evict device pages on file close to avoid use-after-free Patch series "Minor hmm_test fixes and cleanups". Two bugfixes a cleanup for the HMM kernel selftests. These were mostly reported by Zenghui Yu with special thanks to Lorenzo for analysing and pointing out the problems. This patch (of 3): When dmirror_fops_release() is called it frees the dmirror struct but doesn't migrate device private pages back to system memory first. This leaves those pages with a dangling zone_device_data pointer to the freed dmirror. If a subsequent fault occurs on those pages (eg. during coredump) the dmirror_devmem_fault() callback dereferences the stale pointer causing a kernel panic. This was reported [1] when running mm/ksft_hmm.sh on arm64, where a test failure triggered SIGABRT and the resulting coredump walked the VMAs faulting in the stale device private pages. Fix this by calling dmirror_device_evict_chunk() for each devmem chunk in dmirror_fops_release() to migrate all device private pages back to system memory before freeing the dmirror struct. The function is moved earlier in the file to avoid a forward declaration.
Related advisories
Vendor advisories explicitly linked to this CVE.
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 - Exploitation requires local syscalls to open the hmm_dmirror character device, issue HMM_DMIRROR_MIGRATE_TO_DEV ioctl, close the fd, and fault migrated pages; there is no network, adjacent-wireless, or physical-device attack path. AC:L - The UAF is deterministically triggered by the attacker's own migrate-then-close-then-fault sequence with no race or external timing dependency; the attacker fully controls both sides of the lifecycle. PR:L - The vulnerable ioctl and release paths perform no capability or permission checks beyond opening the local character device; any local user who can access /dev/hmm_dmirrorN can execute the full exploit chain without real root privileges in the init namespace. UI:N - No victim interaction is required; the attacker triggers the fault themselves by accessing their own migrated pages or aborting for coredump after closing the device file. S:U - Impact is confined to kernel memory corruption and panic within the same kernel security boundary; this is a test-module UAF, not a VM escape, IOMMU bypass, or cross-authority sandbox breakout. C:H - The stale dmirror pointer is dereferenced in dmirror_devmem_fault() to read freed kmalloc memory (dmirror->mdevice, dmirror->flags), giving a classic UAF information-disclosure primitive. I:H - The fault handler continues to use the freed dmirror for migration and xa_erase on dmirror->pt, enabling heap reuse attacks and arbitrary kernel memory write or code-execution primitives. A:H - The bug was reported to cause kernel panic during coredump VMA walks, and any UAF page fault on stale device-private pages can oops or panic the system.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b2ef9f5a5cb37643ca5def3516c546457074b882 to < 234071b4318feaeb27cd2e4e1b16ef6b055adf89 (affected · git)b2ef9f5a5cb37643ca5def3516c546457074b882 to < bf477abd448c76bb8ea51c9b4f63a3a17c4b6239 (affected · git)b2ef9f5a5cb37643ca5def3516c546457074b882 to < 5846715b6382dd4c6a69b35a56ca6115d33bc2a0 (affected · git)b2ef9f5a5cb37643ca5def3516c546457074b882 to < 38f113f81d3f0adc658a4475dd3ecaec985e21d3 (affected · git)b2ef9f5a5cb37643ca5def3516c546457074b882 to < 9de1eb0aac2862d6144b8db0ec1388e79f8bc3e1 (affected · git)b2ef9f5a5cb37643ca5def3516c546457074b882 to < 744dd97752ef1076a8d8672bb0d8aa2c7abc1144 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.8 (affected)0 to < 5.8 (unaffected · semver)6.1.176 through 6.1.* (unaffected · semver)6.6.140 through 6.6.* (unaffected · semver)6.12.86 through 6.12.* (unaffected · semver)6.18.27 through 6.18.* (unaffected · semver)7.0.4 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
6- https://git.kernel.org/stable/c/234071b4318feaeb27cd2e4e1b16ef6b055adf89
- https://git.kernel.org/stable/c/38f113f81d3f0adc658a4475dd3ecaec985e21d3
- https://git.kernel.org/stable/c/5846715b6382dd4c6a69b35a56ca6115d33bc2a0
- https://git.kernel.org/stable/c/744dd97752ef1076a8d8672bb0d8aa2c7abc1144
- https://git.kernel.org/stable/c/9de1eb0aac2862d6144b8db0ec1388e79f8bc3e1
- https://git.kernel.org/stable/c/bf477abd448c76bb8ea51c9b4f63a3a17c4b6239
Provider assertions
2Linux · cna
lib: test_hmm: evict device pages on file close to avoid use-after-free
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5b82edc32986ca2e71abb4d0062e15c136f9e8c999c5f9fd92247956b17fe800
- Ingested
- 19 Oct 2026, 19:50:32 UTC
- Source record
- Official CVE record