Files
vuln-cve/data/2022/50xxx/CVE-2022-50285.json
T

298 lines
14 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2022-50285",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-09-15T13:58:00.977Z",
"datePublished": "2025-09-15T14:21:21.504Z",
"dateUpdated": "2026-11-05T20:10:33.178Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-05-23T15:24:08.748Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages\n\nThe h->*_huge_pages counters are protected by the hugetlb_lock, but\nalloc_huge_page has a corner case where it can decrement the counter\noutside of the lock.\n\nThis could lead to a corrupted value of h->resv_huge_pages, which we have\nobserved on our systems.\n\nTake the hugetlb_lock before decrementing h->resv_huge_pages to avoid a\npotential race."
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"mm/hugetlb.c"
],
"versions": [
{
"version": "a88c769548047b21f76fd71e04b6a3300ff17160",
"lessThan": "3e50a07b6a5fcd39df1534d3fdaca4292a65efe6",
"status": "affected",
"versionType": "git"
},
{
"version": "a88c769548047b21f76fd71e04b6a3300ff17160",
"lessThan": "629c986e19fe9481227c7cdfd9a105bbc104d245",
"status": "affected",
"versionType": "git"
},
{
"version": "a88c769548047b21f76fd71e04b6a3300ff17160",
"lessThan": "2b35432d324898ec41beb27031d2a1a864a4d40e",
"status": "affected",
"versionType": "git"
},
{
"version": "a88c769548047b21f76fd71e04b6a3300ff17160",
"lessThan": "11993652d0b49e27272db0a37aa828d8a3a4b92b",
"status": "affected",
"versionType": "git"
},
{
"version": "a88c769548047b21f76fd71e04b6a3300ff17160",
"lessThan": "568e3812b1778b4c0c229649b59977d88f400ece",
"status": "affected",
"versionType": "git"
},
{
"version": "a88c769548047b21f76fd71e04b6a3300ff17160",
"lessThan": "112a005d1ded04a4b41b6d01833cc0bda90625cc",
"status": "affected",
"versionType": "git"
},
{
"version": "a88c769548047b21f76fd71e04b6a3300ff17160",
"lessThan": "c828fab903725279aa9dc6ae3d44bb7e4778f92c",
"status": "affected",
"versionType": "git"
},
{
"version": "a88c769548047b21f76fd71e04b6a3300ff17160",
"lessThan": "12df140f0bdfae5dcfc81800970dd7f6f632e00c",
"status": "affected",
"versionType": "git"
},
{
"version": "3f5fae4d1a3189d95b02b4b45e1218df147122bc",
"status": "affected",
"versionType": "git"
},
{
"version": "4.3.6",
"lessThan": "4.4",
"status": "affected",
"versionType": "semver"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"mm/hugetlb.c"
],
"versions": [
{
"version": "4.4",
"status": "affected"
},
{
"version": "0",
"lessThan": "4.4",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.9.332",
"lessThanOrEqual": "4.9.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.14.298",
"lessThanOrEqual": "4.14.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "4.19.264",
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.4.223",
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.153",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.76",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.0.6",
"lessThanOrEqual": "6.0.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1",
"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": "4.4",
"versionEndExcluding": "4.9.332"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.4",
"versionEndExcluding": "4.14.298"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.4",
"versionEndExcluding": "4.19.264"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.4",
"versionEndExcluding": "5.4.223"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.4",
"versionEndExcluding": "5.10.153"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.4",
"versionEndExcluding": "5.15.76"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.4",
"versionEndExcluding": "6.0.6"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.4",
"versionEndExcluding": "6.1"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.3.6"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/3e50a07b6a5fcd39df1534d3fdaca4292a65efe6"
},
{
"url": "https://git.kernel.org/stable/c/629c986e19fe9481227c7cdfd9a105bbc104d245"
},
{
"url": "https://git.kernel.org/stable/c/2b35432d324898ec41beb27031d2a1a864a4d40e"
},
{
"url": "https://git.kernel.org/stable/c/11993652d0b49e27272db0a37aa828d8a3a4b92b"
},
{
"url": "https://git.kernel.org/stable/c/568e3812b1778b4c0c229649b59977d88f400ece"
},
{
"url": "https://git.kernel.org/stable/c/112a005d1ded04a4b41b6d01833cc0bda90625cc"
},
{
"url": "https://git.kernel.org/stable/c/c828fab903725279aa9dc6ae3d44bb7e4778f92c"
},
{
"url": "https://git.kernel.org/stable/c/12df140f0bdfae5dcfc81800970dd7f6f632e00c"
}
],
"title": "mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2022-50285",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-11-05T20:08:59.508628Z"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-11-05T20:10:33.178Z"
}
}
]
}
}