dm-ioctl: fix a possible overflow in list_version_get_info
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e0f5842c4e2a7dbefb52a2dc6711789bc6963e55, Kernel 29536a9ff146d9bbd618959857ed2e691cda1d21, Kernel 3cba74d3fb2c1890ffae019301227d1366f74907 and 8 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e0f5842c4e2a7dbefb52a2dc6711789bc6963e55, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <29536a9ff146d9bbd618959857ed2e691cda1d21, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <3cba74d3fb2c1890ffae019301227d1366f74907, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <76c6f845dc0c614304a6e6ee619b552f97cf24b3, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d61c12573ed9768690fdcb2bc38846a1bcb01358, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <df50c24c6447c18886ed126d3d81cc7e155ea8b6, =2.6.12 | e0f5842c4e2a7dbefb52a2dc6711789bc6963e55, 29536a9ff146d9bbd618959857ed2e691cda1d21, 3cba74d3fb2c1890ffae019301227d1366f74907, 76c6f845dc0c614304a6e6ee619b552f97cf24b3, d61c12573ed9768690fdcb2bc38846a1bcb01358, df50c24c6447c18886ed126d3d81cc7e155ea8b6 |
| linux-kernel: Kernel | >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=2.6.12 <6.1.191 | 6.18.40, 7.1.5, 6.6.145, 6.12.97, 6.1.191 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket