CVE-2026-98851
En el kernel de Linux se ha resuelto la siguiente vulnerabilidad:
netfilter: nft_flow_offload: liberar la referencia a la flowtable en la ruta de error de inicialización
nft_flow_offload_init() incrementa el contador de uso de la flowtable con nft_use_inc() antes de llamar a nf_ct_netns_get(). Cuando esta última falla, el error se devuelve tal cual y la referencia queda filtrada (fuga de referencia).
Las capas superiores tampoco la equilibran: nf_tables_newexpr() borra expr->ops cuando la función de callback de inicialización de la expresión falla, por lo que la iteración nft_expr_more() en nft_rule_expr_deactivate() y en nf_tables_rule_destroy() se detiene justo antes de la expresión fallida y de su callback ->destroy, que es el que liberaría la referencia y nunca llega a ejecutarse.
Leer descripción completaMostrar menos
Cada adición de regla fallida filtra, por tanto, una referencia a la flowtable, y esta ya no puede eliminarse: NFT_MSG_DELFLOWTABLE sigue devolviendo -EBUSY aunque ninguna regla la referencie.
Se guarda el valor de retorno de nf_ct_netns_get() y se deshace el nft_use_inc() cuando falla, restableciendo el emparejamiento de incremento/decremento dentro de la propia nft_flow_offload_init().
Traducción automática del texto original de NVD (en inglés).
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.16 %
- Percentil entre todas las CVEs puntuadas
- 4
- Fecha de la puntuación
- 20/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
Mostrar las 4 referencias
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-98851",
"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": "a3c90f7a2323b331ae816d5b0633e68148e25d04",
"lessThan": "64ac0cb574c740bf723affb79b646eeba920db6b",
"versionType": "git"
},
{
"status": "affected",
"version": "a3c90f7a2323b331ae816d5b0633e68148e25d04",
"lessThan": "c5f91098edee98c015f78488460a0609e62582a5",
"versionType": "git"
},
{
"status": "affected",
"version": "a3c90f7a2323b331ae816d5b0633e68148e25d04",
"lessThan": "4cd378423a33194a773c267fc58606d28fce95cf",
"versionType": "git"
},
{
"status": "affected",
"version": "a3c90f7a2323b331ae816d5b0633e68148e25d04",
"lessThan": "747928b5d4ff8c8de55138a54c13980e4bb88578",
"versionType": "git"
}
],
"programFiles": [
"net/netfilter/nft_flow_offload.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.16"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "4.16",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.12.113",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.56",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.10",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/netfilter/nft_flow_offload.c"
],
"defaultStatus": "affected"
}
]
}
],
"published": "2026-10-18T16:17:39.490",
"references": [
{
"url": "https://git.kernel.org/stable/c/4cd378423a33194a773c267fc58606d28fce95cf",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/64ac0cb574c740bf723affb79b646eeba920db6b",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/747928b5d4ff8c8de55138a54c13980e4bb88578",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/c5f91098edee98c015f78488460a0609e62582a5",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"vulnStatus": "Received",
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_flow_offload: drop flowtable reference on init error path\n\nnft_flow_offload_init() bumps the flowtable use count with\nnft_use_inc() before calling nf_ct_netns_get(). When the latter\nfails, the error is returned as-is and the reference is leaked.\n\nThe upper layers do not balance it either: nf_tables_newexpr()\nclears expr->ops when the expression init callback fails, so the\nnft_expr_more() iteration in nft_rule_expr_deactivate() and\nnf_tables_rule_destroy() stops right before the failed expression\nand its ->destroy callback, which would drop the reference, never\nruns.\n\nEach failed rule addition therefore leaks one flowtable reference\nand the flowtable can no longer be removed: NFT_MSG_DELFLOWTABLE\nkeeps reporting -EBUSY even though no rule references it.\n\nSave the nf_ct_netns_get() return value and undo the nft_use_inc()\nwhen it fails, restoring the inc/dec pairing within\nnft_flow_offload_init() itself."
}
],
"lastModified": "2026-10-19T10:19:49.193",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}