CVE-2026-46294·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: dm: fix a buffer overflow in ioctl processing Tony Asleson (using Claude) found a buffer overflow in dm-ioctl in the function retrieve_status: 1. The code in retrieve_status checks that the output string fits into the output buffer and writes the output string there 2. Then, the code aligns the "outptr" variable to the next 8-byte boundary: outptr = align_ptr(outptr); 3. The alignment doesn't check overflow, so outptr could point past the buffer end 4. The "for" loop is iterated again, it executes: remaining = len - (outptr - outbuf); 5. If "outptr" points past "outbuf + len", the arithmetics wraps around and the variable "remaining" contains unusually high number 6. With "remaining" being high, the code writes more data past the end of the buffer Luckily, this bug has no security implications because: 1. Only root can issue device mapper ioctls 2. The commonly used libraries that communicate with device mapper (libdevmapper and devicemapper-rs) use buffer size that is aligned to 8 bytes - thus, "outptr = align_ptr(outptr)" can't overshoot the input buffer and the bug can't happen accidentally
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.0.7
- 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.15% — higher than 4% 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-46294 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.15%, 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.7
Fixed in: 7.0.7
How to fix this CVE
Update your Linux kernel to version 7.0.7 or later to patch a buffer overflow vulnerability in the device mapper ioctl handler. While this issue requires root privileges to exploit and is unlikely to occur in practice due to how userspace libraries interact with device mapper, applying the patch eliminates the potential risk. Kernel updates should be applied promptly and followed by a system reboot to ensure the patched version is running.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to check your currently running kernel version and verify it is 7.0.7 or newer
- Check /proc/version and cross-reference against your distro's kernel release notes to confirm if versions 6.19–7.0.6 are present
- Query dmesg logs for device mapper initialization errors or unusual ioctl activity with 'dmesg | grep -i dm'
- After patching, reboot the system and re-run 'uname -r' to confirm the patched kernel version is active
FAQ
What is CVE-2026-46294?
CVE-2026-46294 is a buffer overflow flaw in the Linux kernel's device mapper ioctl handler that occurs when output pointer alignment exceeds buffer boundaries, potentially allowing out-of-bounds memory writes during status retrieval operations.
Is CVE-2026-46294 being actively exploited?
No, CVE-2026-46294 is not listed on CISA's Known Exploited Vulnerabilities catalog and there are no public exploits available. Exploitation requires root access, significantly limiting real-world risk.
What versions of Kernel are affected by CVE-2026-46294?
Kernel versions 6.19 through 7.0.6 are vulnerable; version 7.0.7 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-46294?
Run 'uname -r' and check if your kernel version falls between 6.19 and 7.0.6; if so, your system requires a kernel update to version 7.0.7 or later.
Does Defensia detect CVE-2026-46294?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-46294 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/2fa49cc884f6496a915c35621ba4da35649bf159
- https://git.kernel.org/stable/c/448ee8fb79c26a26599ffa4b2adeb4322d3d3d8c
- https://git.kernel.org/stable/c/526ff9126a0ae087b65726e1faf31114c718020d
- https://git.kernel.org/stable/c/5af6a879e915ae7bcd83695c316ebb32e1c61bc2
- https://git.kernel.org/stable/c/8daa6c708ef524089ae43f2aed9190acb26d7df8
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-46294. Free for 1 server.
Get started free