{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49710","id":"CVE-2022-49710","title":"dm mirror log: round up region bitmap size to BITS_PER_LONG","description":"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 th","descriptionLong":"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.","published":"2025-02-26T02:24:27.532Z","updated":"2026-11-19T11:57:35.994008710Z","reserved":"2025-02-26T02:21:30.444Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"29121bd0b00ebb9524971a583fea4a2f7afe8041","lessThan":"ae460312875159285cef5bf3dc654593f404a1ef","status":"affected","versionType":"git"},{"version":"29121bd0b00ebb9524971a583fea4a2f7afe8041","lessThan":"ba751f0d25f07aa21ce9b85372a3792bf7969d13","status":"affected","versionType":"git"},{"version":"29121bd0b00ebb9524971a583fea4a2f7afe8041","lessThan":"0d2209b54f1de0c2f99cab246d4cf2cfe24aaaa9","status":"affected","versionType":"git"},{"version":"29121bd0b00ebb9524971a583fea4a2f7afe8041","lessThan":"9a02f3275acc628c0d956be771405ced79ac36df","status":"affected","versionType":"git"},{"version":"29121bd0b00ebb9524971a583fea4a2f7afe8041","lessThan":"85e123c27d5cbc22cfdc01de1e2ca1d9003a02d0","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.18","status":"affected"},{"version":"0","lessThan":"2.6.18","status":"unaffected","versionType":"semver"},{"version":"5.4.200","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.124","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.49","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.18.6","lessThanOrEqual":"5.18.*","status":"unaffected","versionType":"semver"},{"version":"5.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/ae460312875159285cef5bf3dc654593f404a1ef","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ba751f0d25f07aa21ce9b85372a3792bf7969d13","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0d2209b54f1de0c2f99cab246d4cf2cfe24aaaa9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9a02f3275acc628c0d956be771405ced79ac36df","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/85e123c27d5cbc22cfdc01de1e2ca1d9003a02d0","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49710.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49710","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00281,"epssPercentile":0.2092,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49710","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49710","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49710","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49710","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}