CVE-2026-46280 json
lib: test_hmm: evict device pages on file close to avoid use-after-free
published 2026-06-08 5 mo ago modified 2026-10-19 20 d ago also EUVD-2026-35145
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 2%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 6.1.176, 6.6.140, 6.12.86, 6.18.27, 7.0.4, 7.1
- linux Debian 12 6.1.176-1
- linux Debian 13 6.12.86-1
- linux Debian 14 7.0.4-1
debian advisories DEBIAN-CVE-2026-46280
- linux Ubuntu 24.04 LTS 6.8.0-136.136
- linux Ubuntu 26.04 LTS 7.0.0-27.27
- linux-aws Ubuntu 24.04 LTS 6.8.0-1061.64
- linux-aws Ubuntu 26.04 LTS 7.0.0-1008.8
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1064.72
- linux-gcp Ubuntu 26.04 LTS 7.0.0-1007.7
- linux-gke Ubuntu 24.04 LTS 6.8.0-1059.67
- linux-ibm Ubuntu 24.04 LTS 6.8.0-1061.62
ubuntu advisories UBUNTU-CVE-2026-46280
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-source openSUSE Tumbleweed 7.0.12-1.1
opensuse advisories openSUSE-SU-2026:11014-1
- git.kernel.org/stable/c/234071b4318feaeb27cd2e4e1b16ef6b055adf89 commit
- git.kernel.org/stable/c/bf477abd448c76bb8ea51c9b4f63a3a17c4b6239 commit
- git.kernel.org/stable/c/5846715b6382dd4c6a69b35a56ca6115d33bc2a0 commit
- git.kernel.org/stable/c/38f113f81d3f0adc658a4475dd3ecaec985e21d3 commit
- git.kernel.org/stable/c/9de1eb0aac2862d6144b8db0ec1388e79f8bc3e1 commit
- git.kernel.org/stable/c/744dd97752ef1076a8d8672bb0d8aa2c7abc1144 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-46280 updated cvss 5.5
kernel: lib: test_hmm: evict device pages on file close to avoid use-after-free
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelaffected: workaround, no fix available
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 24 d ago
Exploit prediction
0.13% chance of exploitation in the next 30 days, higher than 2% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
git.kernel.org
/stable/c/234071b4318feaeb27cd2e4e1b16ef6b055adf89
patch
-
git.kernel.org
/stable/c/bf477abd448c76bb8ea51c9b4f63a3a17c4b6239
patch
-
git.kernel.org
/stable/c/5846715b6382dd4c6a69b35a56ca6115d33bc2a0
patch
-
git.kernel.org
/stable/c/38f113f81d3f0adc658a4475dd3ecaec985e21d3
patch
-
git.kernel.org
/stable/c/9de1eb0aac2862d6144b8db0ec1388e79f8bc3e1
patch
-
git.kernel.org
/stable/c/744dd97752ef1076a8d8672bb0d8aa2c7abc1144
patch
Sources
- CVE List CVE-2026-46280
- NVD CVE-2026-46280
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.