CVE-2026-23231·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: fix use-after-free in nf_tables_addchain() nf_tables_addchain() publishes the chain to table->chains via list_add_tail_rcu() (in nft_chain_add()) before registering hooks. If nf_tables_register_hook() then fails, the error path calls nft_chain_del() (list_del_rcu()) followed by nf_tables_chain_destroy() with no RCU grace period in between. This creates two use-after-free conditions: 1) Control-plane: nf_tables_dump_chains() traverses table->chains under rcu_read_lock(). A concurrent dump can still be walking the chain when the error path frees it. 2) Packet path: for NFPROTO_INET, nf_register_net_hook() briefly installs the IPv4 hook before IPv6 registration fails. Packets entering nft_do_chain() via the transient IPv4 hook can still be dereferencing chain->blob_gen_X when the error path frees the chain. Add synchronize_rcu() between nft_chain_del() and the chain destroy so that all RCU readers -- both dump threads and in-flight packet evaluation -- have finished before the chain is freed.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.19.4
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.82% — higher than 56% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-23231 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.82%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 6.19.4
Fixed in: 6.19.4
How to fix this CVE
Update your Linux kernel to version 6.19.4 or later to resolve a use-after-free vulnerability in the netfilter subsystem that can lead to kernel memory corruption. The vulnerability affects chain management in nf_tables and requires immediate kernel patching to prevent potential privilege escalation or denial of service attacks. After applying the update, reboot your system to activate the patched kernel.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r | awk -F. '{print $1"."$2"."$3}'
- Verify if vulnerable version is in use: if uname -r matches 6.19.0 through 6.19.3, system is vulnerable
- Check kernel logs for netfilter chain errors: sudo dmesg | grep -i 'nf_tables\|nft_chain\|use-after-free'
- Confirm kernel update applied: uname -r should show 6.19.4 or later after reboot
FAQ
What is CVE-2026-23231?
This is a use-after-free vulnerability in the Linux kernel's netfilter nf_tables subsystem where memory is freed and then dereferenced during chain registration failures, allowing privilege escalation or kernel crash.
Is CVE-2026-23231 being actively exploited?
While not listed on CISA's KEV catalog, a public exploit (CVE-2026-23231 PoC) is available on Exploit-DB, making this a high-priority patch despite not being actively weaponized in the wild.
What versions of Kernel are affected by CVE-2026-23231?
Linux kernel versions 6.19.0 through 6.19.3 are vulnerable; version 6.19.4 and all later 6.20+ kernels include the fix.
How do I check if my server is vulnerable to CVE-2026-23231?
Run 'uname -r' and compare the output: if it shows 6.19.0, 6.19.1, 6.19.2, or 6.19.3, your system requires immediate patching.
Does Defensia detect CVE-2026-23231?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-23231 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/2a6586ecfa4ce1413daaafee250d2590e05f1a33
- https://git.kernel.org/stable/c/2f9a4ffeb763aec822f8ff3d1e82202d27d46d4b
- https://git.kernel.org/stable/c/7017745068a9068904e1e7a1b170a5785647cc81
- https://git.kernel.org/stable/c/71e99ee20fc3f662555118cf1159443250647533
- https://git.kernel.org/stable/c/dbd0af8083dd201f07c49110b2ee93710abdff28
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-23231. Free for 1 server.
Get started free