CVE-2026-74624
JSON

7.5high

netfilter: nf_conntrack: defer invalid log until after unlock

Severity
7.5high CVSS:3.1 by Linux
Exploit likelihood
0.48% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack: defer invalid log until after unlock TCP and SCTP conntrack paths can emit invalid-packet logs while ct->lock is still held. When invalid logging is routed to nfnetlink_log and conntrack export is enabled, the log path can re-enter conntrack netlink glue and dump the same conntrack again. Protocol attribute dumping may take ct->lock, so logging while holding that lock can deadlock. Defer the TCP invalid logs by storing only the minimal log context while ct->lock is held and emitting the log after unlocking. Also make the TCP timeout-lowering invalid path return whether a log is needed, then emit that log after unlocking. Do the same for the SCTP invalid state-transition log that can be reached while ct->lock is held. Add a lockdep assertion to nf_ct_l4proto_log_invalid() so future callers that log invalid conntracks while holding ct->lock are caught outside TCP and SCTP as well.

Affected

Product or packageVersionsReported by
Linux Linuxfrom d9a6f0d0df1899ff9086a57abc600e414f4b8cdd before ca97360eba4b3dc67f1804625542f4ccc774242a, from d9a6f0d0df1899ff9086a57abc600e414f4b8cdd before 63853eb20bba4e00b7cd0b8cfc19337bbaaf5037, from d9a6f0d0df1899ff9086a57abc600e414f4b8cdd before 9480fcf70a5aa9d320088a01c95df0e5e6391f4a, from d9a6f0d0df1899ff9086a57abc600e414f4b8cdd before 0424186d570aa4d1ad17f516afb86bd9eaa4f42e, from d9a6f0d0df1899ff9086a57abc600e414f4b8cdd before c0224327b7cbed9d3198e8dbec847281053dcd06, from d9a6f0d0df1899ff9086a57abc600e414f4b8cdd before 2d19b95c9723001f214f7a47d67b09f46238f200, 6.1
Not affected: before 6.1, from 6.1.184 up to 6.1.*, from 6.6.152 up to 6.6.*, from 6.12.104 up to 6.12.*, from 6.18.45 up to 6.18.*, from 7.1.9 up to 7.1.*
CVE List

Classification

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack: defer invalid log until after unlock TCP and SCTP conntrack paths can emit invalid-packet logs while ct->lock is still held. When invalid logging is routed to nfnetlink_log and conntrack export is enabled, the log path can re-enter conntrack netlink glue and dump the same conntrack again. Protocol attribute dumping may take ct->lock, so logging while holding that lock can deadlock. Defer the TCP invalid logs by storing only the minimal log context while ct->lock is held and emitting the log after unlocking. Also make the TCP timeout-lowering invalid path return whether a log is needed, then emit that log after unlocking. Do the same for the SCTP invalid state-transition log that can be reached while ct->lock is held. Add a lockdep assertion to nf_ct_l4proto_log_invalid() so future callers that log invalid conntracks while holding ct->lock are caught outside TCP and SCTP as well.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: netfilter: nf_conntrack: aplazar el registro inválido hasta después del desbloqueo Las rutas de conntrack de TCP y SCTP pueden emitir registros de paquetes inválidos mientras ct -> lock aún está retenido. Cuando el registro inválido se enruta a nfnetlink_log y la exportación de conntrack está habilitada, la ruta de registro puede volver a entrar en el pegamento netlink de conntrack y volcar el mismo conntrack de nuevo. El volcado de atributos del protocolo puede tomar ct -> lock, por lo que registrar mientras se retiene ese bloqueo puede causar un interbloqueo. Aplazar los registros inválidos de TCP almacenando solo el contexto mínimo del registro mientras ct -> lock está retenido y emitiendo el registro después del desbloqueo. También hacer que la ruta inválida de reducción de tiempo de espera de TCP devuelva si se necesita un registro, luego emitir ese registro después del desbloqueo. Hacer lo mismo para el registro de transición de estado inválido de SCTP al que se puede llegar mientras ct -> lock está retenido. Añadir una aserción lockdep a nf_ct_l4proto_log_invalid() para que futuros llamadores que registren conntracks inválidos mientras retienen ct -> lock sean detectados también fuera de TCP y SCTP.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-74624 changed 2026-10-16CVE Terms of Use
NVDCVE-2026-74624 changed 2026-10-16Public domain