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. findnextzerobit_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 bitsetsize to BITSPER_LONG.
This bug was found by running the lvm2 testsuite with kasan.
[
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0d2209b54f1de0c2f99cab246d4cf2cfe24aaaa9",
        "id": "CVE-2022-49710-1fa5525f",
        "deprecated": false,
        "target": {
            "file": "drivers/md/dm-log.c"
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "91595348126018458798654737272620933945",
                "311550238693320508959227284589002931265",
                "261162361311958393764334464813102340136",
                "107811316556395832624170044130246705130",
                "243758696806080065596765969385627106402"
            ]
        }
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ae460312875159285cef5bf3dc654593f404a1ef",
        "id": "CVE-2022-49710-290141d3",
        "deprecated": false,
        "target": {
            "file": "drivers/md/dm-log.c"
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "91595348126018458798654737272620933945",
                "311550238693320508959227284589002931265",
                "261162361311958393764334464813102340136",
                "107811316556395832624170044130246705130",
                "243758696806080065596765969385627106402"
            ]
        }
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0d2209b54f1de0c2f99cab246d4cf2cfe24aaaa9",
        "id": "CVE-2022-49710-5916dc48",
        "deprecated": false,
        "target": {
            "function": "create_log_context",
            "file": "drivers/md/dm-log.c"
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "length": 3473.0,
            "function_hash": "8749856315981099799385778925407229945"
        }
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ba751f0d25f07aa21ce9b85372a3792bf7969d13",
        "id": "CVE-2022-49710-7dad2232",
        "deprecated": false,
        "target": {
            "function": "create_log_context",
            "file": "drivers/md/dm-log.c"
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "length": 3473.0,
            "function_hash": "8749856315981099799385778925407229945"
        }
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9a02f3275acc628c0d956be771405ced79ac36df",
        "id": "CVE-2022-49710-89d9fe8e",
        "deprecated": false,
        "target": {
            "function": "create_log_context",
            "file": "drivers/md/dm-log.c"
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "length": 3461.0,
            "function_hash": "205743013593853501592896592402541372881"
        }
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@85e123c27d5cbc22cfdc01de1e2ca1d9003a02d0",
        "id": "CVE-2022-49710-bdc447eb",
        "deprecated": false,
        "target": {
            "function": "create_log_context",
            "file": "drivers/md/dm-log.c"
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "length": 3461.0,
            "function_hash": "205743013593853501592896592402541372881"
        }
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@85e123c27d5cbc22cfdc01de1e2ca1d9003a02d0",
        "id": "CVE-2022-49710-c07432b9",
        "deprecated": false,
        "target": {
            "file": "drivers/md/dm-log.c"
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "91595348126018458798654737272620933945",
                "311550238693320508959227284589002931265",
                "261162361311958393764334464813102340136",
                "107811316556395832624170044130246705130",
                "243758696806080065596765969385627106402"
            ]
        }
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9a02f3275acc628c0d956be771405ced79ac36df",
        "id": "CVE-2022-49710-dcbdbeb7",
        "deprecated": false,
        "target": {
            "file": "drivers/md/dm-log.c"
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "91595348126018458798654737272620933945",
                "311550238693320508959227284589002931265",
                "261162361311958393764334464813102340136",
                "107811316556395832624170044130246705130",
                "243758696806080065596765969385627106402"
            ]
        }
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ae460312875159285cef5bf3dc654593f404a1ef",
        "id": "CVE-2022-49710-e133de7d",
        "deprecated": false,
        "target": {
            "function": "create_log_context",
            "file": "drivers/md/dm-log.c"
        },
        "signature_version": "v1",
        "signature_type": "Function",
        "digest": {
            "length": 3473.0,
            "function_hash": "8749856315981099799385778925407229945"
        }
    },
    {
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ba751f0d25f07aa21ce9b85372a3792bf7969d13",
        "id": "CVE-2022-49710-f735128d",
        "deprecated": false,
        "target": {
            "file": "drivers/md/dm-log.c"
        },
        "signature_version": "v1",
        "signature_type": "Line",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "91595348126018458798654737272620933945",
                "311550238693320508959227284589002931265",
                "261162361311958393764334464813102340136",
                "107811316556395832624170044130246705130",
                "243758696806080065596765969385627106402"
            ]
        }
    }
]