Files
vuln-cve/data/2022/49xxx/CVE-2022-49710.json
T

185 lines
8.4 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2022-49710",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-02-26T02:21:30.444Z",
"datePublished": "2025-02-26T02:24:27.532Z",
"dateUpdated": "2026-05-11T19:05:14.868Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-05-11T19:05:14.868Z"
},
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/md/dm-log.c"
],
"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"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/md/dm-log.c"
],
"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"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.18",
"versionEndExcluding": "5.4.200"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.18",
"versionEndExcluding": "5.10.124"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.18",
"versionEndExcluding": "5.15.49"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.18",
"versionEndExcluding": "5.18.6"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "2.6.18",
"versionEndExcluding": "5.19"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/ae460312875159285cef5bf3dc654593f404a1ef"
},
{
"url": "https://git.kernel.org/stable/c/ba751f0d25f07aa21ce9b85372a3792bf7969d13"
},
{
"url": "https://git.kernel.org/stable/c/0d2209b54f1de0c2f99cab246d4cf2cfe24aaaa9"
},
{
"url": "https://git.kernel.org/stable/c/9a02f3275acc628c0d956be771405ced79ac36df"
},
{
"url": "https://git.kernel.org/stable/c/85e123c27d5cbc22cfdc01de1e2ca1d9003a02d0"
}
],
"title": "dm mirror log: round up region bitmap size to BITS_PER_LONG",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
}
}