CVE-2022-50575
In the Linux kernel, the following vulnerability has been resolved:
xen/privcmd: Fix a possible warning in privcmd_ioctl_mmap_resource()
As 'kdata.num' is user-controlled data, if user tries to allocate memory larger than(>=) MAX_ORDER, then kcalloc() will fail, it creates a stack trace and messes up dmesg with a warning.
Add __GFP_NOWARN in order to avoid too large allocation warning. This is detected by static analysis using smatch.
Detalles técnicos trazas, registros y código del informe original
Call trace: -> privcmd_ioctl --> privcmd_ioctl_mmap_resource
CVSS
NVD no ha asignado puntuación CVSS a esta CVE (habitual desde el cambio de política de abril de 2026).
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.22%
- Percentil entre todas las CVEs puntuadas: 11
- 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)
⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.
Referencias
- https://git.kernel.org/stable/c/0bf874183b32eae2cc20e3c5be38ec3d33e7e564
- https://git.kernel.org/stable/c/46026bb057c35f5bb111bf95e00cd8366d2e34d4
- https://git.kernel.org/stable/c/4da411086f5ab32f811a89ef804980ec106ebb65
- https://git.kernel.org/stable/c/4f983ee5e5de924d93a7bbb4e6f68f38c6256cd5
- https://git.kernel.org/stable/c/5d68ae32d132ea2af73bc223fd64c46f85302a8b
- https://git.kernel.org/stable/c/8b997b2bb2c53b76a6db6c195930e9ab8e4b0c79
- https://git.kernel.org/stable/c/e0c5f1058ed96f2b7487560c4c4cbd768d13d065
JSON original (NVD)
Mostrar
{
"id": "CVE-2022-50575",
"cveTags": [],
"metrics": {},
"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": "3ad0876554cafa368f574d4d408468510543e9ff",
"lessThan": "5d68ae32d132ea2af73bc223fd64c46f85302a8b",
"versionType": "git"
},
{
"status": "affected",
"version": "3ad0876554cafa368f574d4d408468510543e9ff",
"lessThan": "4f983ee5e5de924d93a7bbb4e6f68f38c6256cd5",
"versionType": "git"
},
{
"status": "affected",
"version": "3ad0876554cafa368f574d4d408468510543e9ff",
"lessThan": "46026bb057c35f5bb111bf95e00cd8366d2e34d4",
"versionType": "git"
},
{
"status": "affected",
"version": "3ad0876554cafa368f574d4d408468510543e9ff",
"lessThan": "0bf874183b32eae2cc20e3c5be38ec3d33e7e564",
"versionType": "git"
},
{
"status": "affected",
"version": "3ad0876554cafa368f574d4d408468510543e9ff",
"lessThan": "e0c5f1058ed96f2b7487560c4c4cbd768d13d065",
"versionType": "git"
},
{
"status": "affected",
"version": "3ad0876554cafa368f574d4d408468510543e9ff",
"lessThan": "4da411086f5ab32f811a89ef804980ec106ebb65",
"versionType": "git"
},
{
"status": "affected",
"version": "3ad0876554cafa368f574d4d408468510543e9ff",
"lessThan": "8b997b2bb2c53b76a6db6c195930e9ab8e4b0c79",
"versionType": "git"
}
],
"programFiles": [
"drivers/xen/privcmd.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.18"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "4.18",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "4.19.270",
"versionType": "semver",
"lessThanOrEqual": "4.19.*"
},
{
"status": "unaffected",
"version": "5.4.229",
"versionType": "semver",
"lessThanOrEqual": "5.4.*"
},
{
"status": "unaffected",
"version": "5.10.163",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.86",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.0.16",
"versionType": "semver",
"lessThanOrEqual": "6.0.*"
},
{
"status": "unaffected",
"version": "6.1.2",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/xen/privcmd.c"
],
"defaultStatus": "affected"
}
]
}
],
"published": "2025-10-22T14:15:42.443",
"references": [
{
"url": "https://git.kernel.org/stable/c/0bf874183b32eae2cc20e3c5be38ec3d33e7e564",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/46026bb057c35f5bb111bf95e00cd8366d2e34d4",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/4da411086f5ab32f811a89ef804980ec106ebb65",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/4f983ee5e5de924d93a7bbb4e6f68f38c6256cd5",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/5d68ae32d132ea2af73bc223fd64c46f85302a8b",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/8b997b2bb2c53b76a6db6c195930e9ab8e4b0c79",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/e0c5f1058ed96f2b7487560c4c4cbd768d13d065",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"vulnStatus": "Deferred",
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nxen/privcmd: Fix a possible warning in privcmd_ioctl_mmap_resource()\n\nAs 'kdata.num' is user-controlled data, if user tries to allocate\nmemory larger than(>=) MAX_ORDER, then kcalloc() will fail, it\ncreates a stack trace and messes up dmesg with a warning.\n\nCall trace:\n-> privcmd_ioctl\n--> privcmd_ioctl_mmap_resource\n\nAdd __GFP_NOWARN in order to avoid too large allocation warning.\nThis is detected by static analysis using smatch."
}
],
"lastModified": "2026-06-17T05:23:49.233",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}