7.8

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

Modified
AliasesUBUNTU-CVE-2026-23231DEBIAN-CVE-2026-23231
Published 04-03-2026Last modified 19-10-2026

Vulnerability summary

CVE-2026-23231 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 1.04% chance of exploitation in the next 30 days, higher than 64.1% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (exploit-database, 04-05-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
1.04%
0%100%
Low · +0.23 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1exploit-database

Advisory lineage

Upstream 0 · Downstream 30 · Related 19

Timeline

  1. 04-03-2026
    PublishedVulnerability first disclosed.
  2. 19-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

1.04%

Chance of exploitation in the next 30 days

Percentile

64%

Versus all other CVEs

30-day change

Increase +0.23 pp

From 0.82% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • exploit-databaselocallinuxUnverified

    Linux nf_tables 6.19.3 - Local Privilege Escalation

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu130 products
  • linux< 6.8.0-111.111 | < 6.17.0-23.23
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 6.8.0-1053.56 | < 6.17.0-1013.13
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 91c7b38dc9f0de4f7f444b796d14476bc12df7bc, < 2a6586ecfa4ce1413daaafee250d2590e05f1a33 | ≥ 91c7b38dc9f0de4f7f444b796d14476bc12df7bc, < 7017745068a9068904e1e7a1b170a5785647cc81 | ≥ 91c7b38dc9f0de4f7f444b796d14476bc12df7bc, < f3fe58ce37926a10115ede527d59b91bcc05400a | ≥ 91c7b38dc9f0de4f7f444b796d14476bc12df7bc, < dbd0af8083dd201f07c49110b2ee93710abdff28 | ≥ 91c7b38dc9f0de4f7f444b796d14476bc12df7bc, < 2f9a4ffeb763aec822f8ff3d1e82202d27d46d4b | ≥ 91c7b38dc9f0de4f7f444b796d14476bc12df7bc, < 71e99ee20fc3f662555118cf1159443250647533 | 3.16
  • linux_kernel≥ 3.16, < 6.1.165 | ≥ 6.2, < 6.6.128 | ≥ 6.7, < 6.12.75 | ≥ 6.13, < 6.18.14 | ≥ 6.19, < 6.19.4
Debian1 product
  • linux< 6.1.170-1 | < 6.12.85-1 | < 6.18.14-1

3 vendors · 133 products

References

27 links
Show all 27 references