NetSight
high7.8

CVE-2024-26925

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 s…

Impact

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 products

VendorProductAffected versions
LinuxLinux Kernel
from 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
DebianDebian Linux
Version 10.0

Weakness classification

References