Skip to main content
HIGH

CVE-2026-23231

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

CVSS v3

7.8

HIGH

EPSS Score

0.8 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

none

SSVC status

Get an alert for each new CVE published for Linux kernel.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • kernelAlmaLinux:9all versions · fixed in 5.14.0-611.47.1.el9_7and 73 other packages
  • kernelAlmaLinux:8all versions · fixed in 4.18.0-553.117.1.el8_10and 24 other packages
  • kernel-docAlmaLinux:10all versions · fixed in 6.12.0-124.47.1.el10_1and 1 other package
  • kernel-rtAlmaLinux:8all versions · fixed in 4.18.0-553.117.1.rt7.458.el8_10and 9 other packages

Vendor advisories

  • CVE-2026-23231 Red Hat Product Security2,416 products fixed · 22 known affected

    kernel: kernel: Privilege escalation or denial of service via use-after-free in nf_tables_addchain()

    kernel-rt as a component of Red Hat Enterprise Linux 9 · kernel-rt-core as a component of Red Hat Enterprise Linux 9 · kernel-rt-debug as a component of Red Hat Enterprise Linux 9

  • SSA-457936 Siemens ProductCERT5 known affected

    SSA-457936: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.7

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.7 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.7 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.7

  • SSA-784472 Siemens ProductCERT1 known affected

    SSA-784472: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 TM MFP V1.1.1

    SIMATIC S7-1500 TM MFP - GNU/Linux subsystem

  • ICSA-26-209-04 CISA5 known affected

    Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.6 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.6 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.6

  • SSA-019113 Siemens ProductCERT5 known affected

    SSA-019113: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP V3.1.6

    SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.6 · SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.6 · SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.6

  • ICSA-26-188-05 CISA1 known affected

    Siemens SINEC OS

    RUGGEDCOM RST2428P (6GK6242-6PA00)

19 more advisories

Full record on NVD

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.

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2026-03-04
Last Modified
2026-04-02
Exploit-DB
EDB-52549

Frequently asked questions

What is CVE-2026-23231?

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.

Is CVE-2026-23231 actively exploited?

Active exploitation of CVE-2026-23231 has not been confirmed. Its EPSS score was 0.8% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-23231?

CVE-2026-23231 has a CVSS v3 base score of 7.8 (HIGH severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running Linux kernel? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month