{"vuln_id":"CVE-2026-23231","aliases":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: fix use-after-free in nf_tables_addchain()\n\nnf_tables_addchain() publishes the chain to table->chains via\nlist_add_tail_rcu() (in nft_chain_add()) before registering hooks.\nIf nf_tables_register_hook() then fails, the error path calls\nnft_chain_del() (list_del_rcu()) followed by nf_tables_chain_destroy()\nwith no RCU grace period in between.\n\nThis creates two use-after-free conditions:\n\n 1) Control-plane: nf_tables_dump_chains() traverses table->chains\n    under rcu_read_lock(). A concurrent dump can still be walking\n    the chain when the error path frees it.\n\n 2) Packet path: for NFPROTO_INET, nf_register_net_hook() briefly\n    installs the IPv4 hook before IPv6 registration fails.  Packets\n    entering nft_do_chain() via the transient IPv4 hook can still be\n    dereferencing chain->blob_gen_X when the error path frees the\n    chain.\n\nAdd synchronize_rcu() between nft_chain_del() and the chain destroy\nso that all RCU readers -- both dump threads and in-flight packet\nevaluation -- have finished before the chain is freed.","published_at":"2026-03-04T13:15:58.137000Z","modified_at":"2026-11-24T10:00:45.785450Z","first_seen_at":"2026-11-23T08:34:13.955114Z","severity":"high","severity_source":"nvd","cvss_score":7.8,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-416"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.01045,"epss_percentile":0.64992,"nvd_status":"Modified","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-23231"},"matched_alias":null,"items":[{"id":18837,"source":{"id":"osv","name":"OSV.dev"},"title":"DEBIAN-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() publi…","summary":"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.\n\nAffected: Debian:12:linux, Debian:13:linux, Debian:14:linux\n\nFixed in: 6.1.170-1, 6.12.85-1, 6.18.14-1\n\nReferences:\nhttps://security-tracker.debian.org/tracker/CVE-2026-23231","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-23231","published_at":"2026-03-04T13:15:58.137000Z","updated_at":"2026-11-24T10:00:45.785450Z","fetched_at":"2026-11-24T15:07:21.042242Z","severity":"high","cvss_score":7.8,"epss":0.01045,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":"12:linux","vuln_id":"CVE-2026-23231","vuln_ids":["CVE-2026-23231","DEBIAN-CVE-2026-23231"],"tags":["osv","debian","fix-available"],"cluster_id":13886,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/18837","html":"https://vulnwatch.ve1ve2.com/item/18837"}},{"id":15243,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"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() publi…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: fix use-after-free in nf_tables_addchain()\n\nnf_tables_addchain() publishes the chain to table->chains via\nlist_add_tail_rcu() (in nft_chain_add()) before registering hooks.\nIf nf_tables_register_hook() then fails, the error path calls\nnft_chain_del() (list_del_rcu()) followed by nf_tables_chain_destroy()\nwith no RCU grace period in between.\n\nThis creates two use-after-free conditions:\n\n 1) Control-plane: nf_tables_dump_chains() traverses table->chains\n    under rcu_read_lock(). A concurrent dump can still be walking\n    the chain when the error path frees it.\n\n 2) Packet path: for NFPROTO_INET, nf_register_net_hook() briefly\n    installs the IPv4 hook before IPv6 registration fails.  Packets\n    entering nft_do_chain() via the transient IPv4 hook can still be\n    dereferencing chain->blob_gen_X when the error path frees the\n    chain.\n\nAdd synchronize_rcu() between nft_chain_del() and the chain destroy\nso that all RCU readers -- both dump threads and in-flight packet\nevaluation -- have finished before the chain is freed.\n\nReferences:\nhttps://git.kernel.org/stable/c/2a6586ecfa4ce1413daaafee250d2590e05f1a33\nhttps://git.kernel.org/stable/c/2f9a4ffeb763aec822f8ff3d1e82202d27d46d4b\nhttps://git.kernel.org/stable/c/7017745068a9068904e1e7a1b170a5785647cc81\nhttps://git.kernel.org/stable/c/71e99ee20fc3f662555118cf1159443250647533\nhttps://git.kernel.org/stable/c/7e3de296af465b65fb941133459dcbdedab7f497\nhttps://git.kernel.org/stable/c/d719eb1c1dd2e05dbcf5c45d580a4361fb42ba5b\nhttps://git.kernel.org/stable/c/dbd0af8083dd201f07c49110b2ee93710abdff28\nhttps://git.kernel.org/stable/c/f3fe58ce37926a10115ede527d59b91bcc05400a\nhttps://cert-portal.siemens.com/productcert/html/ssa-019113.html\nhttps://cert-portal.siemens.com/productcert/html/ssa-082556.html","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23231","published_at":"2026-03-04T13:15:58.137000Z","updated_at":"2026-11-23T08:17:14.987000Z","fetched_at":"2026-11-23T08:34:13.729465Z","severity":"high","cvss_score":7.8,"epss":0.01045,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2026-23231","vuln_ids":["CVE-2026-23231"],"tags":["CWE-416"],"cluster_id":13886,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/15243","html":"https://vulnwatch.ve1ve2.com/item/15243"}}]}