CVE-2026-46280·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.0.4
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.13% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-46280 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.13%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.0.4
Fixed in: 7.0.4
How to fix this CVE
Update your Linux kernel to version 7.0.4 or later to resolve a use-after-free vulnerability in the HMM (Heterogeneous Memory Management) subsystem. The vulnerability occurs when device private pages are not properly migrated back to system memory during file descriptor closure, potentially causing kernel panics during memory access faults. Apply this patch immediately, especially if your systems run memory-intensive workloads or use device-managed memory features.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your kernel version: uname -r — if it shows 6.19 to 7.0.3, your system is vulnerable
- Verify HMM/dmirror module status: lsmod | grep hmm — if loaded and kernel is affected, the vulnerability is exposed
- Search system logs for dmirror panics: grep -i 'dmirror\|zone_device' /var/log/kern.log or journalctl -k | grep dmirror
- After patching, reboot and confirm new kernel version: uname -r should show 7.0.4 or later
FAQ
What is CVE-2026-46280?
This vulnerability is a use-after-free flaw in Linux kernel's HMM subsystem where device private pages retain stale pointers to freed memory structures. When subsequent faults access these pages (e.g., during coredump), the kernel dereferences invalid memory, causing a panic.
Is CVE-2026-46280 being actively exploited?
No, there is no evidence of active exploitation or public exploits for CVE-2026-46280. However, the vulnerability can be triggered inadvertently through normal system operations like coredump generation.
What versions of Kernel are affected by CVE-2026-46280?
Linux kernel versions 6.19 through 7.0.3 are vulnerable. Kernel version 7.0.4 and later include the fix.
How do I check if my server is vulnerable to CVE-2026-46280?
Run 'uname -r' and compare your kernel version against the affected range (6.19-7.0.3). If your version falls within this range, your system is vulnerable.
Does Defensia detect CVE-2026-46280?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-46280 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- 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
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-46280. Free for 1 server.
Get started free