CVE-2026-64245
In the Linux kernel, the following vulnerability has been resolved:
fbdev: modedb: fix a possible UAF in fb_find_mode()
If mode_option is NULL, it is assigned from mode_option_buf:
Later, name is assigned from mode_option:
However, mode_option_buf is freed before name is no longer used:
while name is still accessed by:
Since name aliases mode_option_buf, this may result in a use-after-free.
Fix this by extending the lifetime of mode_option_buf until the end of the function by using scope-based resource management for cleanup.
Detalles técnicos trazas, registros y código del informe original
if (!mode_option) {
fb_get_options(NULL, &mode_option_buf);
mode_option = mode_option_buf;
}
const char *name = mode_option;
kfree(mode_option_buf);
if ((name_matches(db[i], name, namelen) ||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.12%
- Percentil entre todas las CVEs puntuadas: 2
- 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).
🎯 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 % - Impacto principal
T1059Command and Scripting Interpreterexecution60 %
Vulnerabilidad UAF (CWE-416) en kernel Linux con acceso local (AV:L/PR:L) permite escalada de privilegios; acceso de memoria corrompida puede permitir ejecución de código.
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-416
Referencias
- https://git.kernel.org/stable/c/13b6f0cdd5cd5e60f682ec43134ab0e2024bd356
- https://git.kernel.org/stable/c/4d418cf8daf57e454b4d855bf9b2419fd8e6a540
- https://git.kernel.org/stable/c/85b6256469cebdac395e7447147e06b2e151014f
- https://git.kernel.org/stable/c/c7dc382439f7b019e207055b52e9cec051d42fa9
- https://git.kernel.org/stable/c/f906347d75c7fc377041c6d3c535d0f08846aada
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-64245",
"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": "089d924d03d5c17b05d02992f57671ccfba1c4f0",
"lessThan": "c7dc382439f7b019e207055b52e9cec051d42fa9",
"versionType": "git"
},
{
"status": "affected",
"version": "089d924d03d5c17b05d02992f57671ccfba1c4f0",
"lessThan": "f906347d75c7fc377041c6d3c535d0f08846aada",
"versionType": "git"
},
{
"status": "affected",
"version": "089d924d03d5c17b05d02992f57671ccfba1c4f0",
"lessThan": "4d418cf8daf57e454b4d855bf9b2419fd8e6a540",
"versionType": "git"
},
{
"status": "affected",
"version": "089d924d03d5c17b05d02992f57671ccfba1c4f0",
"lessThan": "13b6f0cdd5cd5e60f682ec43134ab0e2024bd356",
"versionType": "git"
},
{
"status": "affected",
"version": "089d924d03d5c17b05d02992f57671ccfba1c4f0",
"lessThan": "85b6256469cebdac395e7447147e06b2e151014f",
"versionType": "git"
}
],
"programFiles": [
"drivers/video/fbdev/core/modedb.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.4"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.4",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.144",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.95",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.38",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.1.3",
"versionType": "semver",
"lessThanOrEqual": "7.1.*"
},
{
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/video/fbdev/core/modedb.c"
],
"defaultStatus": "affected"
}
]
}
],
"published": "2026-07-24T16:16:53.917",
"references": [
{
"url": "https://git.kernel.org/stable/c/13b6f0cdd5cd5e60f682ec43134ab0e2024bd356",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/4d418cf8daf57e454b4d855bf9b2419fd8e6a540",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/85b6256469cebdac395e7447147e06b2e151014f",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/c7dc382439f7b019e207055b52e9cec051d42fa9",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/f906347d75c7fc377041c6d3c535d0f08846aada",
"tags": [
"Patch"
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"vulnStatus": "Analyzed",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-416"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: modedb: fix a possible UAF in fb_find_mode()\n\nIf mode_option is NULL, it is assigned from mode_option_buf:\n\n if (!mode_option) {\n fb_get_options(NULL, &mode_option_buf);\n mode_option = mode_option_buf;\n }\n\nLater, name is assigned from mode_option:\n\n const char *name = mode_option;\n\nHowever, mode_option_buf is freed before name is no longer used:\n\n kfree(mode_option_buf);\n\nwhile name is still accessed by:\n\n if ((name_matches(db[i], name, namelen) ||\n\nSince name aliases mode_option_buf, this may result in a\nuse-after-free.\n\nFix this by extending the lifetime of mode_option_buf until the end of the\nfunction by using scope-based resource management for cleanup."
}
],
"lastModified": "2026-08-17T19:23:52.187",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E39E58A0-0A90-4DC4-B0E6-6EFE8E334817",
"versionEndExcluding": "6.6.144",
"versionStartIncluding": "6.4"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "4E206B86-E0E3-4394-A93F-39F2D50A8AA8",
"versionEndExcluding": "6.12.95",
"versionStartIncluding": "6.7"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "FA591B28-5D62-449E-BDBE-3C9391BF070A",
"versionEndExcluding": "6.18.38",
"versionStartIncluding": "6.13"
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "9526B150-E2B3-4C6F-8AE5-1AF92B75AD9E",
"versionEndExcluding": "7.1.3",
"versionStartIncluding": "6.19"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}