CVE-2026-46294

dm: fix a buffer overflow in ioctl processing

No CVSS score yet EPSS 0.19%

Published 8 Jun 2026 Updated 6 Nov 2026 CNA: Linux

Check your servers for CVE-2026-46294

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-46294 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

Exploitation

EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.18% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 6 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before c8c5311237448f6ffeecc9aec2362e3692623668
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 448ee8fb79c26a26599ffa4b2adeb4322d3d3d8c
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 526ff9126a0ae087b65726e1faf31114c718020d
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before f0b0b09d9840838ae77ccdd6a62de0daef4e6e0a
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before d271631023cbe1cbe7c31a0275ab797883be6e0a
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 5af6a879e915ae7bcd83695c316ebb32e1c61bc2
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 8daa6c708ef524089ae43f2aed9190acb26d7df8
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 2fa49cc884f6496a915c35621ba4da35649bf159
Other versions: unaffected
Linux
affected 2.6.12
unaffected before 2.6.12
unaffected from 5.10.258 up to and including 5.10.*
unaffected from 5.15.209 up to and including 5.15.*
unaffected from 6.1.175 up to and including 6.1.*
unaffected from 6.6.140 up to and including 6.6.*
unaffected from 6.12.88 up to and including 6.12.*
unaffected from 6.18.30 up to and including 6.18.*
unaffected from 7.0.7 up to and including 7.0.*
unaffected 7.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-46294 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-46294

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-46294
trivy image --scanners vuln IMAGE | grep CVE-2026-46294

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-46294 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.