CVE-2022-49710
Description
In the Linux kernel, the following vulnerability has been resolved: dm mirror log: round up region bitmap size to BITS_PER_LONG The code in dm-log rounds up bitset_size to 32 bits. It then uses find_next_zero_bit_le on the allocated region. find_next_zero_bit_le accesses the bitmap using unsigned long pointers. So, on 64-bit architectures, it may access 4 bytes beyond the allocated size. Fix this bug by rounding up bitset_size to BITS_PER_LONG. This bug was found by running the lvm2 testsuite with kasan.
How to fix
- linux linux_kernel5.4.200, 5.10.124, 5.15.49, 5.18.6 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 2.6.18 ≤ v < 5.4.200, 5.5 ≤ v < 5.10.124, 5.11 ≤ v < 5.15.49, 5.16 ≤ v < 5.18.6, 5.19 | 5.4.200, 5.10.124, 5.15.49, 5.18.6 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.