lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022614-CVE-2022-49183-1962@gregkh>
Date: Wed, 26 Feb 2025 02:56:28 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2022-49183: net/sched: act_ct: fix ref leak when switching zones

Description
===========

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().

The Linux kernel CVE team has assigned CVE-2022-49183 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 5.15.26 with commit a95ea90deb3071c1ded77a05e91cfebc5238d908 and fixed in 5.15.33 with commit bcbf4e5c3b5b373cd61528392dd1ec8e9c0fd33d
	Issue introduced in 5.16.12 with commit e9408de00e5ecd0dbe91cf061c7da23711c4febb and fixed in 5.16.19 with commit 4bb42d73def9411e5cad885b9811987d72431df1
	Issue introduced in 5.17 with commit 2f131de361f6d0eaff17db26efdb844c178432f8 and fixed in 5.17.2 with commit b24793a37d91aacad7cb9893b226a7924a89636a
	Issue introduced in 5.17 with commit 2f131de361f6d0eaff17db26efdb844c178432f8 and fixed in 5.18 with commit bcb74e132a76ce0502bb33d5b65533a4ed72d159
	Issue introduced in 5.10.103 with commit 0fc1847359964e95e521cf2bb2b10f8e33dd0970

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2022-49183
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	net/sched/act_ct.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/bcbf4e5c3b5b373cd61528392dd1ec8e9c0fd33d
	https://git.kernel.org/stable/c/4bb42d73def9411e5cad885b9811987d72431df1
	https://git.kernel.org/stable/c/b24793a37d91aacad7cb9893b226a7924a89636a
	https://git.kernel.org/stable/c/bcb74e132a76ce0502bb33d5b65533a4ed72d159

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ