netfilter: flowtable: publish HW_DEAD after worker is done

Summary

CVECVE-2026-98625
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-18 16:17:15 UTC
Updated2026-10-19 10:19:26 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 2c8897953f3b2ff5498f3f275708a742bfcdbc24 f92e8f39726ba68a7c42c6b7566be687c8161579 git Not specified
CNA Linux Linux affected 2c8897953f3b2ff5498f3f275708a742bfcdbc24 00e452a7ca9fda135ea3d04a11128d5088e354a8 git Not specified
CNA Linux Linux affected 2c8897953f3b2ff5498f3f275708a742bfcdbc24 56f39c7d139bb76072efe2fb3dcafc13ba915ad8 git Not specified
CNA Linux Linux affected 2c8897953f3b2ff5498f3f275708a742bfcdbc24 e20701843032c438f879066a77ea85e361c6b999 git Not specified
CNA Linux Linux affected 2c8897953f3b2ff5498f3f275708a742bfcdbc24 b4f0f05dfbe836a171bff261f17d098a4d5461ea git Not specified
CNA Linux Linux affected 2c8897953f3b2ff5498f3f275708a742bfcdbc24 b0ef9450e93f2adeb77593db14c2ac7c6c8f5060 git Not specified
CNA Linux Linux affected 2c8897953f3b2ff5498f3f275708a742bfcdbc24 f26652e99f519e6bd34f8a9b48fbb33c603585f2 git Not specified
CNA Linux Linux affected 2c8897953f3b2ff5498f3f275708a742bfcdbc24 d644b23afe1ef509c9961a6d84a093c2587edf02 git Not specified
CNA Linux Linux affected 5.7 Not specified
CNA Linux Linux unaffected 5.7 semver Not specified
CNA Linux Linux unaffected 5.10.271 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.222 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.189 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.158 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.112 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.55 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.9 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/f26652e99f519e6bd34f8a9b48fbb33c603585f2 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e20701843032c438f879066a77ea85e361c6b999 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d644b23afe1ef509c9961a6d84a093c2587edf02 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b4f0f05dfbe836a171bff261f17d098a4d5461ea 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b0ef9450e93f2adeb77593db14c2ac7c6c8f5060 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f92e8f39726ba68a7c42c6b7566be687c8161579 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/56f39c7d139bb76072efe2fb3dcafc13ba915ad8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/00e452a7ca9fda135ea3d04a11128d5088e354a8 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report