CVE-2026-23392
Received Received - Intake
Use-After-Free in Linux Kernel nf_tables Flowtable Handling

Publication date: 2026-03-25

Last updated on: 2026-04-24

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: release flowtable after rcu grace period on error Call synchronize_rcu() after unregistering the hooks from error path, since a hook that already refers to this flowtable can be already registered, exposing this flowtable to packet path and nfnetlink_hook control plane. This error path is rare, it should only happen by reaching the maximum number hooks or by failing to set up to hardware offload, just call synchronize_rcu(). There is a check for already used device hooks by different flowtable that could result in EEXIST at this late stage. The hook parser can be updated to perform this check earlier to this error path really becomes rarely exercised. Uncovered by KASAN reported as use-after-free from nfnetlink_hook path when dumping hooks.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-25
Last Modified
2026-04-24
Generated
2026-05-07
AI Q&A
2026-03-25
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 13 associated CPEs
Vendor Product Version / Range
linux linux_kernel 4.16
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel From 6.2 (inc) to 6.6.130 (exc)
linux linux_kernel From 6.7 (inc) to 6.12.78 (exc)
linux linux_kernel From 6.13 (inc) to 6.18.20 (exc)
linux linux_kernel From 6.19 (inc) to 6.19.10 (exc)
linux linux_kernel From 4.16.1 (inc) to 6.1.167 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-416 The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Attack-Flow Graph
AI Powered Q&A
What immediate steps should I take to mitigate this vulnerability?

The vulnerability is related to the Linux kernel's netfilter nf_tables subsystem and involves a use-after-free error in the flowtable handling during error paths.

Immediate mitigation steps include ensuring that your Linux kernel is updated to a version where this issue is resolved, as the fix involves calling synchronize_rcu() after unregistering hooks to prevent use-after-free conditions.

Since the error path is rare and related to reaching the maximum number of hooks or hardware offload setup failures, avoiding configurations that push these limits may reduce exposure until a patch is applied.


Can you explain this vulnerability to me?

This vulnerability exists in the Linux kernel's netfilter nf_tables component. It involves the improper release of a flowtable after an RCU (Read-Copy-Update) grace period on an error path. Specifically, the code did not call synchronize_rcu() after unregistering hooks when an error occurs, which could leave a flowtable still referenced by hooks. This exposes the flowtable to the packet processing path and the nfnetlink_hook control plane, potentially causing use-after-free issues.

The error path is rare and typically happens when the maximum number of hooks is reached or when hardware offload setup fails. The vulnerability was uncovered by KASAN as a use-after-free bug triggered when dumping hooks via nfnetlink_hook.


How can this vulnerability impact me? :

This vulnerability can lead to use-after-free conditions in the Linux kernel's networking subsystem. Such conditions may cause system instability, crashes, or potentially allow attackers to execute arbitrary code or cause denial of service by exploiting the exposed flowtable references.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability is related to a rare error path in the Linux kernel's netfilter nf_tables subsystem, specifically involving flowtable release after an RCU grace period on error.

Detection would likely involve monitoring for use-after-free errors reported by Kernel Address Sanitizer (KASAN) related to nfnetlink_hook paths when dumping hooks.

Since no specific detection commands or network signatures are provided, a practical approach is to check your kernel logs for KASAN reports or errors related to nfnetlink_hook or flowtable usage.

  • Use dmesg or journalctl to look for kernel error messages: `dmesg | grep -i kasan` or `journalctl -k | grep -i nfnetlink_hook`
  • Check for errors related to flowtable or hook registration failures in kernel logs.

No specific network commands or signatures are provided to detect exploitation attempts on the network or system.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart