{"id":"CVE-2026-23412","state":"PUBLISHED","title":"netfilter: bpf: defer hook memory release until rcu readers are done","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: bpf: defer hook memory release until rcu readers are done\n\nYiming Qian reports UaF when concurrent process is dumping hooks via\nnfnetlink_hooks:\n\nBUG: KASAN: slab-use-after-free in nfnl_hook_dump_one.isra.0+0xe71/0x10f0\nRead of size 8 at addr ffff888003edbf88 by task poc/79\nCall Trace:\n <TASK>\n nfnl_hook_dump_one.isra.0+0xe71/0x10f0\n netlink_dump+0x554/0x12b0\n nfnl_hook_get+0x176/0x230\n [..]\n\nDefer release until after concurrent readers have completed.","publishedAt":"2026-04-02T11:40:53.528Z","updatedAt":"2026-10-19T18:35:42.715Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"84601d6ee68ae820dec97450934797046d62db4b","status":"affected","lessThan":"d016c216bc75c45128160593a77b864a04dbe7c0","versionType":"git"},{"version":"84601d6ee68ae820dec97450934797046d62db4b","status":"affected","lessThan":"cb2bf5efdb02a2a59faf603604a1066e8266f349","versionType":"git"},{"version":"84601d6ee68ae820dec97450934797046d62db4b","status":"affected","lessThan":"c25e0dec366ae99b7264324ce3c7cbaea34691f9","versionType":"git"},{"version":"84601d6ee68ae820dec97450934797046d62db4b","status":"affected","lessThan":"54244d54a971c26a0cd0a9073460ff71f3c51b32","versionType":"git"},{"version":"84601d6ee68ae820dec97450934797046d62db4b","status":"affected","lessThan":"24f90fa3994b992d1a09003a3db2599330a5232a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/nf_bpf_link.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.4","versionType":"semver"},{"version":"6.6.130","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.78","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.20","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.10","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/nf_bpf_link.c"]}],"references":["https://git.kernel.org/stable/c/d016c216bc75c45128160593a77b864a04dbe7c0","https://git.kernel.org/stable/c/cb2bf5efdb02a2a59faf603604a1066e8266f349","https://git.kernel.org/stable/c/c25e0dec366ae99b7264324ce3c7cbaea34691f9","https://git.kernel.org/stable/c/54244d54a971c26a0cd0a9073460ff71f3c51b32","https://git.kernel.org/stable/c/24f90fa3994b992d1a09003a3db2599330a5232a"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/23xxx/CVE-2026-23412.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-23412","state":"PUBLISHED","datePublished":"2026-04-02T11:40:53.528Z","dateUpdated":"2026-10-19T18:35:42.715Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-01-13T15:37:46.013Z"},"containers":{"cna":{"title":"netfilter: bpf: defer hook memory release until rcu readers are done","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: bpf: defer hook memory release until rcu readers are done\n\nYiming Qian reports UaF when concurrent process is dumping hooks via\nnfnetlink_hooks:\n\nBUG: KASAN: slab-use-after-free in nfnl_hook_dump_one.isra.0+0xe71/0x10f0\nRead of size 8 at addr ffff888003edbf88 by task poc/79\nCall Trace:\n <TASK>\n nfnl_hook_dump_one.isra.0+0xe71/0x10f0\n netlink_dump+0x554/0x12b0\n nfnl_hook_get+0x176/0x230\n [..]\n\nDefer release until after concurrent readers have completed."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"84601d6ee68ae820dec97450934797046d62db4b","status":"affected","lessThan":"d016c216bc75c45128160593a77b864a04dbe7c0","versionType":"git"},{"version":"84601d6ee68ae820dec97450934797046d62db4b","status":"affected","lessThan":"cb2bf5efdb02a2a59faf603604a1066e8266f349","versionType":"git"},{"version":"84601d6ee68ae820dec97450934797046d62db4b","status":"affected","lessThan":"c25e0dec366ae99b7264324ce3c7cbaea34691f9","versionType":"git"},{"version":"84601d6ee68ae820dec97450934797046d62db4b","status":"affected","lessThan":"54244d54a971c26a0cd0a9073460ff71f3c51b32","versionType":"git"},{"version":"84601d6ee68ae820dec97450934797046d62db4b","status":"affected","lessThan":"24f90fa3994b992d1a09003a3db2599330a5232a","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/nf_bpf_link.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.4","versionType":"semver"},{"version":"6.6.130","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.78","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.20","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.10","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/nf_bpf_link.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d016c216bc75c45128160593a77b864a04dbe7c0"},{"url":"https://git.kernel.org/stable/c/cb2bf5efdb02a2a59faf603604a1066e8266f349"},{"url":"https://git.kernel.org/stable/c/c25e0dec366ae99b7264324ce3c7cbaea34691f9"},{"url":"https://git.kernel.org/stable/c/54244d54a971c26a0cd0a9073460ff71f3c51b32"},{"url":"https://git.kernel.org/stable/c/24f90fa3994b992d1a09003a3db2599330a5232a"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The vulnerable paths are reached through local BPF syscalls and NETLINK_NETFILTER hook dump requests, not by unauthenticated network packets alone.\nAC:L - The bug is a race between BPF netfilter link teardown and nfnetlink hook dumping, and a local attacker can control both sides by creating/destroying links while issuing dump requests.\nPR:L - The path requires local BPF/netfilter privileges such as CAP_NET_ADMIN and BPF permissions, which are reasonably reachable in user/net namespace or delegated BPF-token deployments rather than requiring real init-namespace root.\nUI:N - No victim action is needed once the attacker can run the local operations; the attacker triggers the attach/detach and dump operations directly.\nS:U - The impact is within the kernel security authority and does not cross a VM, IOMMU, or similar separate security scope.\nC:H - This is a kernel use-after-free of a netfilter hook object read under RCU after immediate link deallocation, and heap reuse can expose controlled or stale kernel pointers and data.\nI:H - As a kernel use-after-free in attacker-influenced heap memory, it is defensibly exploitable for memory corruption or control-flow manipulation under the required overestimate rule.\nA:H - The reported KASAN slab-use-after-free in nfnl_hook_dump_one can crash or panic the kernel, and repeated local triggering can cause full system denial of service."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:21:32.513Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.6.130"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.12.78"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.18.20"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.19.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-23412","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-10-16T15:07:44.417268Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","lang":"en","type":"CWE","description":"CWE-416 Use After Free"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T18:35:42.715Z"}}]}}}