CVE-2022-49710

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-49710
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49710.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49710
Downstream
Related
Published
2025-02-26T07:01:46Z
Modified
2025-08-09T20:01:25Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

dm mirror log: round up region bitmap size to BITSPERLONG

The code in dm-log rounds up bitsetsize to 32 bits. It then uses findnextzerobitle on the allocated region. findnextzerobit_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 bitsetsize to BITSPER_LONG.

This bug was found by running the lvm2 testsuite with kasan.

References

Affected packages