{"id":"CVE-2022-49710","aliases":["CVE-2022-49710"],"related":[],"kind":"vulnerability","state":"published","title":"dm mirror log: round up region bitmap size to BITS_PER_LONG","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm mirror log: round up region bitmap size to BITS_PER_LONG\n\nThe code in dm-log rounds up bitset_size to 32 bits. It then uses\nfind_next_zero_bit_le on the allocated region. find_next_zero_bit_le\naccesses the bitmap using unsigned long pointers. So, on 64-bit\narchitectures, it may access 4 bytes beyond the allocated size.\n\nFix this bug by rounding up bitset_size to BITS_PER_LONG.\n\nThis bug was found by running the lvm2 testsuite with kasan.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndm mirror log: round up region bitmap size to BITS_PER_LONG\n\nThe code in dm-log rounds up bitset_size to 32 bits. It then uses\nfind_next_zero_bit_le on the allocated region. find_next_zero_bit_le\naccesses the bitmap using unsigned long pointers. So, on 64-bit\narchitectures, it may access 4 bytes beyond the allocated size.\n\nFix this bug by rounding up bitset_size to BITS_PER_LONG.\n\nThis bug was found by running the lvm2 testsuite with kasan.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: dm mirror log: redondear el tamaño del mapa de bits de la región a BITS_PER_LONG El código en dm-log redondea bitset_size a 32 bits. Luego usa find_next_zero_bit_le en la región asignada. find_next_zero_bit_le accede al mapa de bits usando punteros largos sin signo. Por lo tanto, en arquitecturas de 64 bits, puede acceder a 4 bytes más allá del tamaño asignado. Corrija este error redondeando bitset_size a BITS_PER_LONG. Este error se encontró ejecutando el conjunto de pruebas lvm2 con kasan.","source":"nvd"}],"published":"2025-02-26T02:24:27.532Z","modified":"2026-06-17T05:18:55.957Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"29121bd0b00ebb9524971a583fea4a2f7afe8041","fixed":"ae460312875159285cef5bf3dc654593f404a1ef","status":"affected"},{"type":"git","introduced":"29121bd0b00ebb9524971a583fea4a2f7afe8041","fixed":"ba751f0d25f07aa21ce9b85372a3792bf7969d13","status":"affected"},{"type":"git","introduced":"29121bd0b00ebb9524971a583fea4a2f7afe8041","fixed":"0d2209b54f1de0c2f99cab246d4cf2cfe24aaaa9","status":"affected"},{"type":"git","introduced":"29121bd0b00ebb9524971a583fea4a2f7afe8041","fixed":"9a02f3275acc628c0d956be771405ced79ac36df","status":"affected"},{"type":"git","introduced":"29121bd0b00ebb9524971a583fea4a2f7afe8041","fixed":"85e123c27d5cbc22cfdc01de1e2ca1d9003a02d0","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.18","status":"unaffected"},{"type":"semver","introduced":"5.4.200","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.124","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.49","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.18.6","lastAffected":"5.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"2.6.18","fixed":"5.4.200"},{"status":"affected","introduced":"5.5","fixed":"5.10.124"},{"status":"affected","introduced":"5.11","fixed":"5.15.49"},{"status":"affected","introduced":"5.16","fixed":"5.18.6"},{"status":"affected","version":"5.19"},{"status":"affected","version":"5.19"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ae460312875159285cef5bf3dc654593f404a1ef","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba751f0d25f07aa21ce9b85372a3792bf7969d13","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0d2209b54f1de0c2f99cab246d4cf2cfe24aaaa9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9a02f3275acc628c0d956be771405ced79ac36df","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/85e123c27d5cbc22cfdc01de1e2ca1d9003a02d0","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49710","url":"https://www.cve.org/CVERecord?id=CVE-2022-49710","licence":"CVE Terms of Use","modified":"2026-05-11T19:05:14.868Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49710","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49710","licence":"Public domain","modified":"2026-06-17T05:18:55.957Z"}],"updatedAt":"2026-11-25T22:58:20.819Z","epss":{"score":0.00284,"percentile":0.13492,"date":"2026-11-30T12:00:22.000Z"}}