CVE-2022-50000
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50000 is a vulnerability in the Linux kernel's netfilter flowtable functionality, disclosed in June 2025. The issue affects the flow table cleanup process in the Linux kernel's netfilter subsystem, where flows can become stuck during cleanup due to pending work (NVD, Wiz).

Technical details

The vulnerability occurs in a specific sequence during flow table cleanup where: 1) gcstep work is stopped to disable further stats/del requests, 2) flow table entries are set to teardown state, 3) gcstep queues HW del work for entries, 4) system waits for del work to finish, 5) gc_step runs again to delete entries, and 6) flow table is freed. The issue manifests when a flow table entry has pending HW stats or HW add work, causing step 3 to skip queueing HW del work, which can lead to use-after-free conditions (NVD).

Impact

The vulnerability can result in stuck flows during cleanup operations and potential use-after-free conditions in the kernel. This is evidenced by KASAN reports showing write operations to freed memory addresses, which could lead to system instability or potential security implications (Wiz).

Mitigation and workarounds

The fix involves modifying the cleanup sequence to: 1) flush pending work, 2) set teardown flags for all flows in the flowtable, 3) force a garbage collector run to queue work for removing flows from hardware, 4) flush the new pending work, and 5) force another garbage collector run to remove entries from the software flowtable (Wiz).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management