CVE-2024-26835 netfilter: nf_tables: set dormant flag on hook register failure
A flaw in the Linux kernel netfilter subsystem can cause a warning splat and potential instability during table deletion if hook registration fails under memory pressure.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-26835?
CVE-2024-26835 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 17 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_tables: set dormant flag on hook register failure
We need to set the dormant flag again if we fail to register the hooks.
During memory pressure hook registration can fail and we end up with a table marked as active but no registered hooks.
On table/base chain deletion, nf_tables will attempt to unregister the hook again which yields a warn splat from the nftables core.
Which versions are affected by CVE-2024-26835?
It affects 2 products.
Products include Debian Debian Linux, Linux kernel.
How do I fix CVE-2024-26835?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-26835 being exploited?
There is no known exploitation of CVE-2024-26835 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BELL-CVE-2024-26835, DEBIAN-CVE-2024-26835, GHSA-jj2v-2j63-rcwf, UBUNTU-CVE-2024-26835.