Description
In the Linux kernel, the following vulnerability has been resolved: block: partitions/mac: compute the sectors in 64 bits start_block and block_count are converted to 512 byte sectors in 32-bit arithmetic, although put_partition() takes a sector_t. With a block size above 512 bytes anything beyond 2TiB wraps and the partition lands on top of another one.
Affected products and versions
Linux Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 20e613fe1c125416cbdadaf85c78c0c5877093a2 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 00cd90f87a1a98f37a78394f7861d61505802685 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < f0da56564f073a747eddd2bce75b3fb44af7055c · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < e95b0cb0825c28580144f5aa5ed137d906ce61d7 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 5312c2da586b1ae427eb7002617c5b79c337a3db · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 97e914f44714a81c56809c9d8cd113774ad45b14 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 19ffd201c2622363a30be5e2535520b1c80647fa · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 – < 6c55f94317249bc195e197f6a8730c843e72ea8cFixed in: 20e613fe1c125416cbdadaf85c78c0c5877093a2 · 00cd90f87a1a98f37a78394f7861d61505802685 · f0da56564f073a747eddd2bce75b3fb44af7055c · e95b0cb0825c28580144f5aa5ed137d906ce61d7 · 5312c2da586b1ae427eb7002617c5b79c337a3db · 97e914f44714a81c56809c9d8cd113774ad45b14 · 19ffd201c2622363a30be5e2535520b1c80647fa · 6c55f94317249bc195e197f6a8730c843e72ea8c
Linux Linux2.6.12Fixed in: 5.10.275 · 5.15.226 · 6.1.193 · 6.6.163 · 6.12.119 · 6.18.65 · 7.3.6 · 7.4-rc1
References
- git.kernel.org/stable/c/20e613fe1c125416cbdadaf85c78c0c5877093a2
- git.kernel.org/stable/c/00cd90f87a1a98f37a78394f7861d61505802685
- git.kernel.org/stable/c/f0da56564f073a747eddd2bce75b3fb44af7055c
- git.kernel.org/stable/c/e95b0cb0825c28580144f5aa5ed137d906ce61d7
- git.kernel.org/stable/c/5312c2da586b1ae427eb7002617c5b79c337a3db
- git.kernel.org/stable/c/97e914f44714a81c56809c9d8cd113774ad45b14
- git.kernel.org/stable/c/19ffd201c2622363a30be5e2535520b1c80647fa
- git.kernel.org/stable/c/6c55f94317249bc195e197f6a8730c843e72ea8c
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.