# CVE-2026-98625: netfilter: flowtable: publish HW_DEAD after worker is done

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-10-18T15:19:46.372Z
- Modified: 2026-10-19T10:19:26.700Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 2c8897953f3b2ff5498f3f275708a742bfcdbc24 before f92e8f39726ba68a7c42c6b7566be687c8161579; from 2c8897953f3b2ff5498f3f275708a742bfcdbc24 before 00e452a7ca9fda135ea3d04a11128d5088e354a8; from 2c8897953f3b2ff5498f3f275708a742bfcdbc24 before 56f39c7d139bb76072efe2fb3dcafc13ba915ad8; from 2c8897953f3b2ff5498f3f275708a742bfcdbc24 before e20701843032c438f879066a77ea85e361c6b999; from 2c8897953f3b2ff5498f3f275708a742bfcdbc24 before b4f0f05dfbe836a171bff261f17d098a4d5461ea; from 2c8897953f3b2ff5498f3f275708a742bfcdbc24 before b0ef9450e93f2adeb77593db14c2ac7c6c8f5060; from 2c8897953f3b2ff5498f3f275708a742bfcdbc24 before f26652e99f519e6bd34f8a9b48fbb33c603585f2; from 2c8897953f3b2ff5498f3f275708a742bfcdbc24 before d644b23afe1ef509c9961a6d84a093c2587edf02; 5.7 (not affected: before 5.7; from 5.10.271 up to 5.10.*; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.55 up to 6.18.*; from 7.2.9 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/f92e8f39726ba68a7c42c6b7566be687c8161579>
- <https://git.kernel.org/stable/c/00e452a7ca9fda135ea3d04a11128d5088e354a8>
- <https://git.kernel.org/stable/c/56f39c7d139bb76072efe2fb3dcafc13ba915ad8>
- <https://git.kernel.org/stable/c/e20701843032c438f879066a77ea85e361c6b999>
- <https://git.kernel.org/stable/c/b4f0f05dfbe836a171bff261f17d098a4d5461ea>
- <https://git.kernel.org/stable/c/b0ef9450e93f2adeb77593db14c2ac7c6c8f5060>
- <https://git.kernel.org/stable/c/f26652e99f519e6bd34f8a9b48fbb33c603585f2>
- <https://git.kernel.org/stable/c/d644b23afe1ef509c9961a6d84a093c2587edf02>

## Sources

- CVE List: [CVE-2026-98625](https://www.cve.org/CVERecord?id=CVE-2026-98625), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98625](https://nvd.nist.gov/vuln/detail/CVE-2026-98625), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98625 · Whole record: https://cve.day/CVE-2026-98625.json · Rebuilt by cve.day 2026-11-25T22:59:45.249Z
