CVE-2022-49710: dm mirror log: round up region bitmap size to BITS_PER_LONG

Published Feb 26, 2025
·
Updated

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. findnextzerobitle 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 BITSPERLONG.

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

Affected Software

7 affected components
Linux Kernel
Linux Linux kernel>=2.6.18<5.4.200
Linux Linux kernel>=5.5<5.10.124
Linux Linux kernel>=5.11<5.15.49
Linux Linux kernel>=5.16<5.18.6
Linux Linux kernel=5.19-rc1
Linux Linux kernel=5.19-rc2

Event History

Feb 26, 2025
CVE Published
via MITRE·02:24 AM
Data Sourced
via MITRE·02:24 AM
Description
Data Sourced
via NVD·07:01 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-49710?

CVE-2022-49710 has a medium severity rating due to its potential to impact system stability and data integrity.

2

How do I fix CVE-2022-49710?

To fix CVE-2022-49710, update your Linux kernel to the latest stable version that includes the patch addressing this vulnerability.

3

What systems are affected by CVE-2022-49710?

CVE-2022-49710 affects various versions of the Linux kernel that utilize the dm-log functionality.

4

Is CVE-2022-49710 easy to exploit?

Exploitation of CVE-2022-49710 requires specific conditions and access, making it less likely for casual attackers.

5

What impact does CVE-2022-49710 have on Linux systems?

The impact of CVE-2022-49710 can lead to unexpected behavior such as incorrect data processing in systems utilizing the affected kernel components.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203