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)".
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 3cba74d3fb2c1890ffae019301227d1366f74907affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 29536a9ff146d9bbd618959857ed2e691cda1d21affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < e0f5842c4e2a7dbefb52a2dc6711789bc6963e55affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < d61c12573ed9768690fdcb2bc38846a1bcb01358affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < df50c24c6447c18886ed126d3d81cc7e155ea8b6affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 76c6f845dc0c614304a6e6ee619b552f97cf24b3affected
Linux Linux
Default version status: affected
2.6.12affected0 to < 2.6.12unaffected6.1.191 to ≤ 6.1.*unaffected6.6.145 to ≤ 6.6.*unaffected6.12.97 to ≤ 6.12.*unaffected6.18.40 to ≤ 6.18.*unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/3cba74d3fb2c1890ffae019301227d1366f74907 ↗
- 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 ↗