Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-23231— netfilter: nf_tables: fix use-after-free in nf_tables_addchain()

CVSS 7.8 · High EPSS 0.67% · P71
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-23231

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
netfilter: nf_tables: fix use-after-free in nf_tables_addchain()
Source: NVD (National Vulnerability Database)
Vulnerability Description
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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于nf_tables_addchain函数存在释放后重用问题,可能导致控制平面或数据包路径出现空指针取消引用。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 91c7b38dc9f0de4f7f444b796d14476bc12df7bc ~ 2a6586ecfa4ce1413daaafee250d2590e05f1a33 -
LinuxLinux 3.16 -

II. Public POCs for CVE-2026-23231

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-23231

登录查看更多情报信息。

Same Patch Batch · Linux · 2026-03-04 · 9 CVEs total

CVE-2026-232367.3 HIGHfbdev: smscufx: properly copy ioctl memory to kernelspace
CVE-2026-23238romfs: check sb_set_blocksize() return value
CVE-2026-23237platform/x86: classmate-laptop: Add missing NULL pointer checks
CVE-2026-23235f2fs: fix out-of-bounds access in sysfs attribute read/write
CVE-2026-23234f2fs: fix to avoid UAF in f2fs_write_end_io()
CVE-2026-23233f2fs: fix to avoid mapping wrong physical block for swapfile
CVE-2026-23232Revert "f2fs: block cache/dio write during f2fs_enable_checkpoint()"
CVE-2025-71238scsi: qla2xxx: Fix bsg_done() causing double free

IV. Related Vulnerabilities

V. Comments for CVE-2026-23231

No comments yet


Leave a comment