CVE-2022-49183: net/sched: act_ct: fix ref leak when switching zones
In the Linux kernel, the following vulnerability has been resolved:
net/sched: actct: 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 tcfctskbnfctcached() returns false and tcfctflowtablelookup() may simply overwrite it.
The fix is to, as the ct entry is not reusable, free it already at tcfctskbnfctcached().
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.258 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.33 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.16.19 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.17.2 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.17.3-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.259-1Fixed in 5.17.3-1
Event History
Frequently Asked Questions
What is the severity of CVE-2022-49183?
CVE-2022-49183 is considered a high severity vulnerability in the Linux kernel due to reference leaks in network namespace transitions.
How do I fix CVE-2022-49183?
To fix CVE-2022-49183, ensure you update your Linux kernel to at least version 5.17.2 or apply the relevant patches provided by your distribution.
What effect does CVE-2022-49183 have on systems?
CVE-2022-49183 can potentially lead to a denial of service by exhausting available memory due to reference leaks during zone switching.
Which versions of the Linux kernel are affected by CVE-2022-49183?
CVE-2022-49183 affects Linux kernel versions from 5.10.103 to 5.11, and between 5.15.26 to 5.15.33, and 5.16.12 to 5.16.19.
Is CVE-2022-49183 a local or remote vulnerability?
CVE-2022-49183 is considered a local vulnerability, as it requires access to the system to exploit the reference leak during zone switches.