CVE-2026-72106: dm-ioctl: fix a possible overflow in list_version_get_info
Greg Kroah-Hartman <[email protected]>
| Newsgroups | org.kernel.vger.linux-cve-announce |
|---|---|
| Message-ID | <2026081525-CVE-2026-72106-67c1@gregkh> |
From: Greg Kroah-Hartman <[email protected]> Description =========== In the Linux kernel, the following vulnerability has been resolved: dm-ioctl: fix a possible overflow in list_version_get_info sizeof(tt->version) is 12 bytes, but the code writes 16 bytes into the output buffer - info->vers->version[0], info->vers->version[1], info->vers->version[2] and info->vers->next. This can cause buffer overflow. Fix this buffer overflow by replacing "sizeof(tt->version)" with "sizeof(struct dm_target_versions)". The Linux kernel CVE team has assigned CVE-2026-72106 to this issue. Affected and fixed versions =========================== Fixed in 6.6.145 with commit 29536a9ff146d9bbd618959857ed2e691cda1d21 Fixed in 6.12.97 with commit e0f5842c4e2a7dbefb52a2dc6711789bc6963e55 Fixed in 6.18.40 with commit d61c12573ed9768690fdcb2bc38846a1bcb01358 Fixed in 7.1.5 with commit df50c24c6447c18886ed126d3d81cc7e155ea8b6 Fixed in 7.2-rc3 with commit 76c6f845dc0c614304a6e6ee619b552f97cf24b3 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-72106 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/md/dm-ioctl.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/29536a9ff146d9bbd618959857ed2e691cda1d21 https://git.kernel.org/stable/c/e0f5842c4e2a7dbefb52a2dc6711789bc6963e55 https://git.kernel.org/stable/c/d61c12573ed9768690fdcb2bc38846a1bcb01358 https://git.kernel.org/stable/c/df50c24c6447c18886ed126d3d81cc7e155ea8b6 https://git.kernel.org/stable/c/76c6f845dc0c614304a6e6ee619b552f97cf24b3