CVE-2024-26925: netfilter: nf_tables: release mutex after nft_gc_seq_end from abort path
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nftables: release mutex after nftgcseqend from abort path
The commit mutex should not be released during the critical section between nftgcseqbegin() and nftgcseqend(), otherwise, async GC worker could collect expired objects and get the released commit lock within the same GC sequence.
nftablesmoduleautoload() 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 nftgcseqend() is called.
Other sources
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nftables: release mutex after nftgcseqend from abort path
The Linux kernel CVE team has assigned CVE-2024-26925 to this issue.
Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024042421-CVE-2024-26925-7c19@gregkh/T
— Red Hat
Linux Kernel is vulnerable to a denial of service, caused by an error related to netfilter: nftables: release mutex after nftgcseqend from abort path. By sending a specially crafted request, a local authenticated attacker could exploit this vulnerability to cause a denial of service.
— IBM
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-26925?
The severity of CVE-2024-26925 is considered high due to its potential impact on kernel functionality.
How do I fix CVE-2024-26925?
To fix CVE-2024-26925, you should update to the patched kernel versions listed in the vulnerability advisory.
What versions of the Linux kernel are affected by CVE-2024-26925?
CVE-2024-26925 affects multiple versions of the Linux kernel prior to specific patched releases mentioned in the advisory.
Is CVE-2024-26925 a remote code execution vulnerability?
CVE-2024-26925 does not directly lead to remote code execution but may affect system stability due to improper mutex handling.
Which Linux distributions are impacted by CVE-2024-26925?
Debian and Red Hat distributions are impacted by CVE-2024-26925, requiring kernel updates to mitigate the vulnerability.