NetSight
medium5.5

CVE-2022-49183

In the Linux kernel, the following vulnerability has been resolved: net/sched: act_ct: fix ref leak when switching zones When switching zones or network namesp…

Impact

In the Linux kernel, the following vulnerability has been resolved: net/sched: act_ct: fix ref leak when switching zones When switching zones or network namespaces without doing a ct clear in between, it is now leaking a reference to the old ct entry. That's because tcf_ct_skb_nfct_cached() returns false and tcf_ct_flow_table_lookup() may simply overwrite it. The fix is to, as the ct entry is not reusable, free it already at tcf_ct_skb_nfct_cached().

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.10.103 before 5.11
from 5.15.26 before 5.15.33
from 5.16.12 through 5.16.19
from 5.17 through 5.17.2

References