Description
In the Linux kernel, the following vulnerability has been resolved:

netfilter: flowtable: publish HW_DEAD after worker is done

flow_offload_work_del() sets NF_FLOW_HW_DEAD before the work handler
clears NF_FLOW_HW_PENDING. Once a flow is both HW_DYING and HW_DEAD, a
concurrent garbage collection pass can remove it and schedule it for RCU
freeing.

The offload worker holds neither an RCU read lock nor a reference to the
flow. If it is preempted after publishing HW_DEAD, the RCU callback can
free the flow before the worker resumes and clears HW_PENDING, resulting
in a use-after-free.

Move HW_DEAD publication to the common worker epilogue after the pending
bit is cleared, making it the final flow access by destroy work. Order all
preceding flow accesses before publishing the bit that allows garbage
collection to free the object.
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Use‑after‑Free in netfilter flow offload worker
Action: Immediate Patch
AI Analysis

Impact

The vulnerability occurs when the netfilter flow offload worker sets the flag indicating that a flow has been processed by hardware (NF_FLOW_HW_DEAD) before it clears the pending status flag (NF_FLOW_HW_PENDING). If the worker is preempted after publishing NF_FLOW_HW_DEAD, the RCU callback may free the associated flow object while the worker still holds a reference. This race condition results in a use‑after‑free that can corrupt memory or execute arbitrary code after the worker resumes.

Affected Systems

This flaw affects the Linux kernel’s netfilter flowtable implementation. All distribution kernels that ship the current flow offload code path are vulnerable; no specific version range is listed in the advisory, so any kernel prior to the published commit that implements the described logic is at risk.

Risk and Exploitability

Based on the description, it is inferred that exploitation would likely require local privilege or careful crafting of network traffic to trigger an offloaded flow that is freed prematurely, and the lack of an RCU lock increases the potential impact. The CVSS score is not supplied, but the presence of a use‑after‑free indicates a high severity risk. EPSS is unavailable and the vulnerability is not currently listed in CISA’s KEV catalog.

Generated by OpenCVE AI on October 18, 2026 at 22:37 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the commit which moves NF_FLOW_HW_DEAD publication after clearing NF_FLOW_HW_PENDING.
  • Disable netfilter flow offload or flowtable features (e.g., adjust iptables offload parameters) until the kernel update is applied.
  • Monitor kernel logs for RCU or memory corruption events and consider enabling kernel memory protection mechanisms.

Generated by OpenCVE AI on October 18, 2026 at 22:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 23:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sun, 18 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: netfilter: flowtable: publish HW_DEAD after worker is done flow_offload_work_del() sets NF_FLOW_HW_DEAD before the work handler clears NF_FLOW_HW_PENDING. Once a flow is both HW_DYING and HW_DEAD, a concurrent garbage collection pass can remove it and schedule it for RCU freeing. The offload worker holds neither an RCU read lock nor a reference to the flow. If it is preempted after publishing HW_DEAD, the RCU callback can free the flow before the worker resumes and clears HW_PENDING, resulting in a use-after-free. Move HW_DEAD publication to the common worker epilogue after the pending bit is cleared, making it the final flow access by destroy work. Order all preceding flow accesses before publishing the bit that allows garbage collection to free the object.
Title netfilter: flowtable: publish HW_DEAD after worker is done
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-18T15:19:46.372Z

Reserved: 2026-09-25T10:25:14.360Z

Link: CVE-2026-98625

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:15.513

Modified: 2026-10-18T16:17:15.513

Link: CVE-2026-98625

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T22:45:04Z

Weaknesses