3 matches found
CVE-2022-50752 md/raid5: Remove unnecessary bio_put() in raid5_read_one_chunk()
In the Linux kernel, the following vulnerability has been resolved: md/raid5: Remove unnecessary bioput in raid5readonechunk When running chunk-sized reads on disks with badblocks duplicate bio free/puts are observed: ============================================================================= B...
CVE-2022-50752
CVE-2022-50752 affects the Linux kernel md/raid5 code. The vulnerability is caused by an unnecessary bio_put() in raid5_read_one_chunk() on the badblocks error path, which, after a code relocation that checks badblock before clone bio, leads to a double free when handling bad device blocks. The d...
kernel: md/raid5: Remove unnecessary bio_put() in raid5_read_one_chunk()
A double-free vulnerability was found in the Linux kernel's MD RAID5 driver. In raid5readonechunk, when encountering badblocks during chunk-sized reads, an unnecessary bioput is called. Since the bio is also freed by the common I/O completion path, this results in a double-free condition that can...