CVE-2022-50499
In the Linux kernel, the following vulnerability has been resolved:
media: dvb-core: Fix double free in dvb_register_device()
In function dvb_register_device() -> dvb_register_media_device() -> dvb_create_media_entity(), dvb->entity is allocated and initialized. If the initialization fails, it frees the dvb->entity, and return an error code. The caller takes the error code and handles the error by calling dvb_media_device_free(), which unregisters the entity and frees the field again if it is not NULL. As dvb->entity may not NULLed in dvb_create_media_entity() when the allocation of dvbdev->pad fails, a double free may occur. This may also cause an Use After free in media_device_unregister_entity().
Leer descripción completaMostrar menos
Fix this by storing NULL to dvb->entity when it is freed.
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Puntuación base: 7.8
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: 5/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).
🎯 Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1068Exploitation for Privilege Escalationprivilege escalation75 %
Vulnerabilidad local (AV:L/PR:L) sin interacción en kernel Linux; double free (CWE-415) permite escalada de privilegios o ejecución de código arbitrario con contexto del proceso.
Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.
🛡️ Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (1)
CWE
- CWE-415
Referencias
- https://git.kernel.org/stable/c/0588b12c418c3e4f927ced11f27b02ef4a5bfb07
- https://git.kernel.org/stable/c/123eddf92a114e03919942641d2c2b1f4ca56ea6
- https://git.kernel.org/stable/c/6b0d0477fce747d4137aa65856318b55fba72198
- https://git.kernel.org/stable/c/70bc51303871159796b55ba1a8f16637b46c2511
- https://git.kernel.org/stable/c/772892b29ac50c2c5e918fc80104aa6ede81d837
- https://git.kernel.org/stable/c/7dd5a68cdbbbe7fc67ba701cb52ba10d8ba149f8
- https://git.kernel.org/stable/c/acf984a3718c2458eb9e08b6714490a04f213c58
- https://git.kernel.org/stable/c/b21f62b49ee9c3e0216d685d9cfd6003e5727271
- https://git.kernel.org/stable/c/e9a78485b658361fab6a5547377be6c1af6f1b3d
JSON original (NVD)
Mostrar
{
"id": "CVE-2022-50499",
"cveTags": [],
"metrics": {
"cvssMetricV31": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.8,
"attackVector": "LOCAL",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"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": "9db28659aa893c68f162b11fd63bb7f6a713e52f",
"lessThan": "0588b12c418c3e4f927ced11f27b02ef4a5bfb07",
"versionType": "git"
},
{
"status": "affected",
"version": "1399a136127bfe1b9bb7c951d9851da62a519121",
"lessThan": "e9a78485b658361fab6a5547377be6c1af6f1b3d",
"versionType": "git"
},
{
"status": "affected",
"version": "4df2427a5148093987437054bb82da4d014dcd59",
"lessThan": "70bc51303871159796b55ba1a8f16637b46c2511",
"versionType": "git"
},
{
"status": "affected",
"version": "fcd5ce4b3936242e6679875a4d3c3acfc8743e15",
"lessThan": "b21f62b49ee9c3e0216d685d9cfd6003e5727271",
"versionType": "git"
},
{
"status": "affected",
"version": "fcd5ce4b3936242e6679875a4d3c3acfc8743e15",
"lessThan": "7dd5a68cdbbbe7fc67ba701cb52ba10d8ba149f8",
"versionType": "git"
},
{
"status": "affected",
"version": "fcd5ce4b3936242e6679875a4d3c3acfc8743e15",
"lessThan": "acf984a3718c2458eb9e08b6714490a04f213c58",
"versionType": "git"
},
{
"status": "affected",
"version": "fcd5ce4b3936242e6679875a4d3c3acfc8743e15",
"lessThan": "772892b29ac50c2c5e918fc80104aa6ede81d837",
"versionType": "git"
},
{
"status": "affected",
"version": "fcd5ce4b3936242e6679875a4d3c3acfc8743e15",
"lessThan": "123eddf92a114e03919942641d2c2b1f4ca56ea6",
"versionType": "git"
},
{
"status": "affected",
"version": "fcd5ce4b3936242e6679875a4d3c3acfc8743e15",
"lessThan": "6b0d0477fce747d4137aa65856318b55fba72198",
"versionType": "git"
},
{
"status": "affected",
"version": "8c17f6f5d0d6aab72a2af25c9911ac66e984be06",
"versionType": "git"
},
{
"status": "affected",
"version": "202be5d6e46f682b9d1d79cd4dc6ab726e62ef1c",
"versionType": "git"
},
{
"status": "affected",
"version": "4.9.195",
"lessThan": "4.9.337",
"versionType": "semver"
},
{
"status": "affected",
"version": "4.14.147",
"lessThan": "4.14.303",
"versionType": "semver"
},
{
"status": "affected",
"version": "4.19.77",
"lessThan": "4.19.270",
"versionType": "semver"
},
{
"status": "affected",
"version": "5.2.19",
"lessThan": "5.3",
"versionType": "semver"
},
{
"status": "affected",
"version": "5.3.4",
"lessThan": "5.4",
"versionType": "semver"
}
],
"programFiles": [
"drivers/media/dvb-core/dvbdev.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.4"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.4",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "4.9.337",
"versionType": "semver",
"lessThanOrEqual": "4.9.*"
},
{
"status": "unaffected",
"version": "4.14.303",
"versionType": "semver",
"lessThanOrEqual": "4.14.*"
},
{
"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.87",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.0.18",
"versionType": "semver",
"lessThanOrEqual": "6.0.*"
},
{
"status": "unaffected",
"version": "6.1.4",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/media/dvb-core/dvbdev.c"
],
"defaultStatus": "affected"
}
]
}
],
"published": "2025-10-04T16:15:47.027",
"references": [
{
"url": "https://git.kernel.org/stable/c/0588b12c418c3e4f927ced11f27b02ef4a5bfb07",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/123eddf92a114e03919942641d2c2b1f4ca56ea6",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/6b0d0477fce747d4137aa65856318b55fba72198",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/70bc51303871159796b55ba1a8f16637b46c2511",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/772892b29ac50c2c5e918fc80104aa6ede81d837",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/7dd5a68cdbbbe7fc67ba701cb52ba10d8ba149f8",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/acf984a3718c2458eb9e08b6714490a04f213c58",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/b21f62b49ee9c3e0216d685d9cfd6003e5727271",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/e9a78485b658361fab6a5547377be6c1af6f1b3d",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"vulnStatus": "Analyzed",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-415"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: dvb-core: Fix double free in dvb_register_device()\n\nIn function dvb_register_device() -> dvb_register_media_device() ->\ndvb_create_media_entity(), dvb->entity is allocated and initialized. If\nthe initialization fails, it frees the dvb->entity, and return an error\ncode. The caller takes the error code and handles the error by calling\ndvb_media_device_free(), which unregisters the entity and frees the\nfield again if it is not NULL. As dvb->entity may not NULLed in\ndvb_create_media_entity() when the allocation of dvbdev->pad fails, a\ndouble free may occur. This may also cause an Use After free in\nmedia_device_unregister_entity().\n\nFix this by storing NULL to dvb->entity when it is freed."
}
],
"lastModified": "2026-06-17T05:23:40.437",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A9B84AB7-4AC3-4105-B7B4-C7179BF6FEA8",
"versionEndExcluding": "4.9.337",
"versionStartIncluding": "4.9.195"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "55F1C74B-508B-40EF-AA92-BDBB8B358084",
"versionEndExcluding": "4.14.303",
"versionStartIncluding": "4.14.147"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "070E4E28-82B9-413D-9C76-A5AF17B49161",
"versionEndExcluding": "4.19.270",
"versionStartIncluding": "4.19.77"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "48875F15-B129-4684-8556-4EAD32A9586F",
"versionEndExcluding": "5.3",
"versionStartIncluding": "5.2.19"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "A075CE1B-9AD1-4DE5-8D34-58F33ED44819",
"versionEndExcluding": "5.4.229",
"versionStartIncluding": "5.3.4"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D05D31FC-BD74-4F9E-B1D8-9CED62BE6F65",
"versionEndExcluding": "5.10.163",
"versionStartIncluding": "5.5"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7B9E5B1C-CD46-4790-9500-615863850401",
"versionEndExcluding": "5.15.87",
"versionStartIncluding": "5.11"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "08D38C5F-9644-4549-BBA6-F0860F024D14",
"versionEndExcluding": "6.0.18",
"versionStartIncluding": "5.16"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "BC4189D9-5478-4E88-A78D-9C1DE29B217C",
"versionEndExcluding": "6.1.4",
"versionStartIncluding": "6.1"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}