CVE-2022-50285
Estado: AnalizadaMedia (5.5)—
In the Linux kernel, the following vulnerability has been resolved:
mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages
The h->*_huge_pages counters are protected by the hugetlb_lock, but alloc_huge_page has a corner case where it can decrement the counter outside of the lock.
This could lead to a corrupted value of h->resv_huge_pages, which we have observed on our systems.
Take the hugetlb_lock before decrementing h->resv_huge_pages to avoid a potential race.
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Puntuación base: 5.5
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.16%
- Percentil entre todas las CVEs puntuadas: 5
- Fecha de la puntuación: 6/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Tecnologías afectadas (1)
CWE
- NVD-CWE-noinfo
Referencias
- https://git.kernel.org/stable/c/112a005d1ded04a4b41b6d01833cc0bda90625cc
- https://git.kernel.org/stable/c/11993652d0b49e27272db0a37aa828d8a3a4b92b
- https://git.kernel.org/stable/c/12df140f0bdfae5dcfc81800970dd7f6f632e00c
- https://git.kernel.org/stable/c/2b35432d324898ec41beb27031d2a1a864a4d40e
- https://git.kernel.org/stable/c/3e50a07b6a5fcd39df1534d3fdaca4292a65efe6
- https://git.kernel.org/stable/c/568e3812b1778b4c0c229649b59977d88f400ece
- https://git.kernel.org/stable/c/629c986e19fe9481227c7cdfd9a105bbc104d245
- https://git.kernel.org/stable/c/c828fab903725279aa9dc6ae3d44bb7e4778f92c
JSON original (NVD)
Mostrar
{
"id": "CVE-2022-50285",
"cveTags": [],
"metrics": {
"cvssMetricV31": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 5.5,
"attackVector": "LOCAL",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "NONE"
},
"impactScore": 3.6,
"exploitabilityScore": 1.8
}
]
},
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "a88c769548047b21f76fd71e04b6a3300ff17160",
"lessThan": "3e50a07b6a5fcd39df1534d3fdaca4292a65efe6",
"versionType": "git"
},
{
"status": "affected",
"version": "a88c769548047b21f76fd71e04b6a3300ff17160",
"lessThan": "629c986e19fe9481227c7cdfd9a105bbc104d245",
"versionType": "git"
},
{
"status": "affected",
"version": "a88c769548047b21f76fd71e04b6a3300ff17160",
"lessThan": "2b35432d324898ec41beb27031d2a1a864a4d40e",
"versionType": "git"
},
{
"status": "affected",
"version": "a88c769548047b21f76fd71e04b6a3300ff17160",
"lessThan": "11993652d0b49e27272db0a37aa828d8a3a4b92b",
"versionType": "git"
},
{
"status": "affected",
"version": "a88c769548047b21f76fd71e04b6a3300ff17160",
"lessThan": "568e3812b1778b4c0c229649b59977d88f400ece",
"versionType": "git"
},
{
"status": "affected",
"version": "a88c769548047b21f76fd71e04b6a3300ff17160",
"lessThan": "112a005d1ded04a4b41b6d01833cc0bda90625cc",
"versionType": "git"
},
{
"status": "affected",
"version": "a88c769548047b21f76fd71e04b6a3300ff17160",
"lessThan": "c828fab903725279aa9dc6ae3d44bb7e4778f92c",
"versionType": "git"
},
{
"status": "affected",
"version": "a88c769548047b21f76fd71e04b6a3300ff17160",
"lessThan": "12df140f0bdfae5dcfc81800970dd7f6f632e00c",
"versionType": "git"
},
{
"status": "affected",
"version": "3f5fae4d1a3189d95b02b4b45e1218df147122bc",
"versionType": "git"
},
{
"status": "affected",
"version": "4.3.6",
"lessThan": "4.4",
"versionType": "semver"
}
],
"programFiles": [
"mm/hugetlb.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "4.4"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "4.4",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "4.9.332",
"versionType": "semver",
"lessThanOrEqual": "4.9.*"
},
{
"status": "unaffected",
"version": "4.14.298",
"versionType": "semver",
"lessThanOrEqual": "4.14.*"
},
{
"status": "unaffected",
"version": "4.19.264",
"versionType": "semver",
"lessThanOrEqual": "4.19.*"
},
{
"status": "unaffected",
"version": "5.4.223",
"versionType": "semver",
"lessThanOrEqual": "5.4.*"
},
{
"status": "unaffected",
"version": "5.10.153",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.76",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.0.6",
"versionType": "semver",
"lessThanOrEqual": "6.0.*"
},
{
"status": "unaffected",
"version": "6.1",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"mm/hugetlb.c"
],
"defaultStatus": "affected"
}
]
}
],
"published": "2025-09-15T15:15:39.660",
"references": [
{
"url": "https://git.kernel.org/stable/c/112a005d1ded04a4b41b6d01833cc0bda90625cc",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/11993652d0b49e27272db0a37aa828d8a3a4b92b",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/12df140f0bdfae5dcfc81800970dd7f6f632e00c",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/2b35432d324898ec41beb27031d2a1a864a4d40e",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/3e50a07b6a5fcd39df1534d3fdaca4292a65efe6",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/568e3812b1778b4c0c229649b59977d88f400ece",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/629c986e19fe9481227c7cdfd9a105bbc104d245",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/c828fab903725279aa9dc6ae3d44bb7e4778f92c",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"vulnStatus": "Analyzed",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "NVD-CWE-noinfo"
}
]
}
],
"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."
}
],
"lastModified": "2026-06-17T05:23:09.263",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "CF47D28E-796E-4BEE-9395-DFE8AAAAF5A0",
"versionEndExcluding": "4.4",
"versionStartIncluding": "4.3.6"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "016ED7FD-8367-433E-AC2A-749CAB589F89",
"versionEndExcluding": "4.9.332",
"versionStartIncluding": "4.4.1"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7140B9A2-EB63-497C-96B1-68A96CD99051",
"versionEndExcluding": "4.14.298",
"versionStartIncluding": "4.10"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "8AE23A9F-BF98-4055-AA49-02118B96226D",
"versionEndExcluding": "4.19.264",
"versionStartIncluding": "4.15"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7FE3F72A-5992-4ABB-A961-F834281060A9",
"versionEndExcluding": "5.4.223",
"versionStartIncluding": "4.20"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "62052E35-0E91-4164-BB92-83270CEA0113",
"versionEndExcluding": "5.10.153",
"versionStartIncluding": "5.5"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "918A4953-6F82-40F5-B7A9-9836905139C1",
"versionEndExcluding": "5.15.76",
"versionStartIncluding": "5.11"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "98F5FA4A-A33F-4FAD-894E-FDC9D295742A",
"versionEndExcluding": "6.0.6",
"versionStartIncluding": "5.16"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:4.4:-:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A244C4E3-A56C-4F7D-91FF-441A3A51AE9E"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:4.4:rc5:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "48D4FDF4-7ECF-4B68-87F9-58E3D8E6181B"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:4.4:rc6:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5DE43D99-452A-43FD-A459-B33D07B2CA7E"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:4.4:rc7:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "FF58DB97-7EA1-4528-AF9D-DAB0D66641DB"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:4.4:rc8:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "AD811782-D76C-4CC9-9F00-BFE7E258362F"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E7E331DA-1FB0-4DEC-91AC-7DA69D461C11"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}