{"id":"CVE-2022-49710","published":"2025-02-26T02:24:27Z","modified":"2026-05-11T19:05:14Z","title":"dm mirror log: round up region bitmap size to BITS_PER_LONG","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00281,"percentile":0.2035,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/ae460312875159285cef5bf3dc654593f404a1ef","tags":[]},{"url":"https://git.kernel.org/stable/c/ba751f0d25f07aa21ce9b85372a3792bf7969d13","tags":[]},{"url":"https://git.kernel.org/stable/c/0d2209b54f1de0c2f99cab246d4cf2cfe24aaaa9","tags":[]},{"url":"https://git.kernel.org/stable/c/9a02f3275acc628c0d956be771405ced79ac36df","tags":[]},{"url":"https://git.kernel.org/stable/c/85e123c27d5cbc22cfdc01de1e2ca1d9003a02d0","tags":[]}],"priority":{"score":4.1,"factors":[{"name":"EPSS percentile","points":4.07}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 29121bd0b00ebb9524971a583fea4a2f7afe8041, < ae460312875159285cef5bf3dc654593f404a1ef",">= 29121bd0b00ebb9524971a583fea4a2f7afe8041, < ba751f0d25f07aa21ce9b85372a3792bf7969d13",">= 29121bd0b00ebb9524971a583fea4a2f7afe8041, < 0d2209b54f1de0c2f99cab246d4cf2cfe24aaaa9",">= 29121bd0b00ebb9524971a583fea4a2f7afe8041, < 9a02f3275acc628c0d956be771405ced79ac36df",">= 29121bd0b00ebb9524971a583fea4a2f7afe8041, < 85e123c27d5cbc22cfdc01de1e2ca1d9003a02d0"]},{"vendor":"Linux","product":"Linux","versions":["2.6.18"]}],"euvd":{"id":"EUVD-2022-54525","exploited":false,"provenance":"source"}}