CVE-2022-49710
published 2025-02-26CVE-2022-49710: 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…
PriorityP420medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.28%
20.3th percentile
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.
Affected
16 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.18.14-1 (bookworm) | linux 5.18.14-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 29121bd0b00ebb9524971a583fea4a2f7afe8041 < ae460312875159285cef5bf3dc654593f404a1ef | ae460312875159285cef5bf3dc654593f404a1ef |
| linux | linux | >= 29121bd0b00ebb9524971a583fea4a2f7afe8041 < ba751f0d25f07aa21ce9b85372a3792bf7969d13 | ba751f0d25f07aa21ce9b85372a3792bf7969d13 |
| linux | linux | >= 29121bd0b00ebb9524971a583fea4a2f7afe8041 < 0d2209b54f1de0c2f99cab246d4cf2cfe24aaaa9 | 0d2209b54f1de0c2f99cab246d4cf2cfe24aaaa9 |
| linux | linux | >= 29121bd0b00ebb9524971a583fea4a2f7afe8041 < 9a02f3275acc628c0d956be771405ced79ac36df | 9a02f3275acc628c0d956be771405ced79ac36df |
| linux | linux | >= 29121bd0b00ebb9524971a583fea4a2f7afe8041 < 85e123c27d5cbc22cfdc01de1e2ca1d9003a02d0 | 85e123c27d5cbc22cfdc01de1e2ca1d9003a02d0 |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.127-1 | 5.10.127-1 |
| linux | linux_kernel | >= 0 < 5.18.14-1 | 5.18.14-1 |
| linux | linux_kernel | >= 0 < 5.18.14-1 | 5.18.14-1 |
| linux | linux_kernel | >= 0 < 5.18.14-1 | 5.18.14-1 |
| linux | linux_kernel | >= 2.6.18 < 5.4.200 | 5.4.200 |
| linux | linux_kernel | >= 5.11 < 5.15.49 | 5.15.49 |
| linux | linux_kernel | >= 5.16 < 5.18.6 | 5.18.6 |
| linux | linux_kernel | >= 5.5 < 5.10.124 | 5.10.124 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-v6fv-v2qw-3wr9: 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 r
ghsa_unreviewed·2025-10-24
CVE-2022-49710 [MEDIUM] GHSA-v6fv-v2qw-3wr9: 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 r
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.
OSV
CVE-2022-49710: 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 rou
osv·2025-02-26·CVSS 5.5
CVE-2022-49710 [MEDIUM] CVE-2022-49710: 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 rou
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.
Red Hat
kernel: dm mirror log: round up region bitmap size to BITS_PER_LONG
vendor_redhat·2025-02-26·CVSS 5.5
CVE-2022-49710 [MEDIUM] CWE-125 kernel: dm mirror log: round up region bitmap size to BITS_PER_LONG
kernel: dm mirror log: round up region bitmap size to BITS_PER_LONG
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.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 7) - Out of support scope
Package: kernel-rt (
Debian
CVE-2022-49710: linux - In the Linux kernel, the following vulnerability has been resolved: dm mirror l...
vendor_debian·2022·CVSS 5.5
CVE-2022-49710 [MEDIUM] CVE-2022-49710: linux - In the Linux kernel, the following vulnerability has been resolved: dm mirror l...
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.
Scope: local
bookworm: resolved (fixed in 5.18.14-1)
bullseye: resolved (fixed in 5.10.127-1)
forky: resolved (fixed in 5.18.14-1)
sid: resolved (fixed in 5.18.14-1)
trixie: resolved (fixed in 5.18.14-1)
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/0d2209b54f1de0c2f99cab246d4cf2cfe24aaaa9https://git.kernel.org/stable/c/85e123c27d5cbc22cfdc01de1e2ca1d9003a02d0https://git.kernel.org/stable/c/9a02f3275acc628c0d956be771405ced79ac36dfhttps://git.kernel.org/stable/c/ae460312875159285cef5bf3dc654593f404a1efhttps://git.kernel.org/stable/c/ba751f0d25f07aa21ce9b85372a3792bf7969d13
2025-02-26
Published