CVE-2024-26925
JSON

7.8high

netfilter: nf_tables: release mutex after nft_gc_seq_end from abort path

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

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: release mutex after nft_gc_seq_end from abort path The commit mutex should not be released during the critical section between nft_gc_seq_begin() and nft_gc_seq_end(), otherwise, async GC worker could collect expired objects and get the released commit lock within the same GC sequence. nf_tables_module_autoload() temporarily releases the mutex to load module dependencies, then it goes back to replay the transaction again. Move it at the end of the abort phase after nft_gc_seq_end() is called.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 4b6346dc1edfb9839d6edee7360ed31a22fa6c95 before 61ac7284346c32f9a8c8ceac56102f7914060428, from 23292bdfda5f04e704a843b8f97b0eb95ace1ca6 before 2cee2ff7f8cce12a63a0a23ffe27f08d99541494, from b44a459c6561595ed7c3679599c5279204132b33 before eb769ff4e281f751adcaf4f4445cbf30817be139, from 5d319f7a81431c6bb32eb4dc7d7975f99e2c8c66 before 8d3a58af50e46167b6f1db47adadad03c0045dae, from 720344340fb9be2765bbaab7b292ece0a4570eae before 8038ee3c3e5b59bcd78467686db5270c68544e30, from 720344340fb9be2765bbaab7b292ece0a4570eae before a34ba4bdeec0c3b629160497594908dc820110f1, from 720344340fb9be2765bbaab7b292ece0a4570eae before 0d459e2ffb541841714839e8228b845458ed3b27, f85ca36090cbb252bcbc95fc74c2853fc792694f and 8 more
Not affected: before 6.5, from 5.4.274 up to 5.4.*, from 5.10.215 up to 5.10.*, from 5.15.155 up to 5.15.*, from 6.1.86 up to 6.1.*, from 6.6.26 up to 6.6.*
CVE List
linux linux_kernelfrom 4.19.316 before 4.20, from 5.4.262 before 5.4.274, from 5.10.198 before 5.10.215, from 5.15.134 before 5.15.155, from 6.1.56 before 6.1.86, from 6.4.13 before 6.5, from 6.5.1 before 6.6.26, from 6.7 before 6.8.5 and 2 moreNVD
debian debian_linux10.0NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-667

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

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: release mutex after nft_gc_seq_end from abort path The commit mutex should not be released during the critical section between nft_gc_seq_begin() and nft_gc_seq_end(), otherwise, async GC worker could collect expired objects and get the released commit lock within the same GC sequence. nf_tables_module_autoload() temporarily releases the mutex to load module dependencies, then it goes back to replay the transaction again. Move it at the end of the abort phase after nft_gc_seq_end() is called.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netfilter: nf_tables: libera mutex después de nft_gc_seq_end de la ruta de cancelación. El mutex de confirmación no debe liberarse durante la sección crítica entre nft_gc_seq_begin() y nft_gc_seq_end(); de lo contrario, el trabajador asíncrono de GC podría recopilar objetos caducados y obtener el bloqueo de confirmación liberado dentro de la misma secuencia de GC. nf_tables_module_autoload() libera temporalmente el mutex para cargar las dependencias del módulo, luego vuelve a reproducir la transacción nuevamente. Muévalo al final de la fase de cancelación después de llamar a nft_gc_seq_end().

References

Sources

SourceRecordLicence
CVE ListCVE-2024-26925 changed 2026-10-15CVE Terms of Use
NVDCVE-2024-26925 changed 2026-10-15Public domain