Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: dm raid: fix KASAN warning in raid5_add_disks There's a KASAN warning in raid5_add_disk when running the LVM testsuite. The warning happens in the test lvconvert-raid-reshape-linear_to_raid6-single-type.sh. We fix the warning by verifying that rdev->saved_raid_disk is within limits.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 6aea114a728db9296f42102d4885e7fb035de0a9 before 2d4e7c9898c20fb3d3f55381cab601761aab7d64; affected 6aea114a728db9296f42102d4885e7fb035de0a9 before 2fb2928728038280bd925ce2aafb4997e9d47ee9; affected 6aea114a728db9296f42102d4885e7fb035de0a9 before 3553a69bb52be2deba61d0ca064c41aee842bb35; affected 6aea114a728db9296f42102d4885e7fb035de0a9 before f157bd9cf377a947fdb7035e69466b6ecdc17c17; affected 6aea114a728db9296f42102d4885e7fb035de0a9 before d8bca518d5272fe349e0a722fdb9e3acb661f3f0; affected 6aea114a728db9296f42102d4885e7fb035de0a9 before d5b06039b195d4b6f94f5d345b1e4ac1975a9832; affected 6aea114a728db9296f42102d4885e7fb035de0a9 before 02cffb1921edadd9b6e4eee7ada4a5213e8ba12e; affected 6aea114a728db9296f42102d4885e7fb035de0a9 before 617b365872a247480e9dcd50a32c8d1806b21861 |
| Linux / Linux | affected 2.6.15; unaffected 0 before 2.6.15; unaffected 4.9.322 through 4.9.*; unaffected 4.14.287 through 4.14.*; unaffected 4.19.251 through 4.19.*; unaffected 5.4.204 through 5.4.*; unaffected 5.10.129 through 5.10.*; unaffected 5.15.53 through 5.15.*; unaffected 5.18.10 through 5.18.*; unaffected 5.19 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/2d4e7c9898c20fb3d3f55381cab601761aab7d64
- https://git.kernel.org/stable/c/2fb2928728038280bd925ce2aafb4997e9d47ee9
- https://git.kernel.org/stable/c/3553a69bb52be2deba61d0ca064c41aee842bb35
- https://git.kernel.org/stable/c/f157bd9cf377a947fdb7035e69466b6ecdc17c17
- https://git.kernel.org/stable/c/d8bca518d5272fe349e0a722fdb9e3acb661f3f0
- https://git.kernel.org/stable/c/d5b06039b195d4b6f94f5d345b1e4ac1975a9832
- https://git.kernel.org/stable/c/02cffb1921edadd9b6e4eee7ada4a5213e8ba12e
- https://git.kernel.org/stable/c/617b365872a247480e9dcd50a32c8d1806b21861