CVE-2022-49710

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedFeb 26, 2025
First seenFeb 26, 2025

How to fix

Update
  • linux linux_kernel5.4.200, 5.10.124, 5.15.49, 5.18.6 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel2.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.195.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.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.