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: <2025061828-CVE-2022-50001-51f3@gregkh>
Date: Wed, 18 Jun 2025 13:01:06 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50001: netfilter: nft_tproxy: restrict to prerouting hook

From: Greg Kroah-Hartman <gregkh@...nel.org>

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

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nft_tproxy: restrict to prerouting hook

TPROXY is only allowed from prerouting, but nft_tproxy doesn't check this.
This fixes a crash (null dereference) when using tproxy from e.g. output.

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


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

	Issue introduced in 4.19 with commit 4ed8eb6570a49931c705512060acd50058d61616 and fixed in 4.19.273 with commit 0b21edf4cc13516716848e0a4fdf726aa2a62cd9
	Issue introduced in 4.19 with commit 4ed8eb6570a49931c705512060acd50058d61616 and fixed in 5.4.232 with commit 83ef55c4281f1b4c6bd4457c2e96ccd1c9e80200
	Issue introduced in 4.19 with commit 4ed8eb6570a49931c705512060acd50058d61616 and fixed in 5.10.169 with commit eaba3f9b672c3a3f820da8ee9584b9520674eafa
	Issue introduced in 4.19 with commit 4ed8eb6570a49931c705512060acd50058d61616 and fixed in 5.15.95 with commit 9a1d92cbeac3335fee99fa865b8c5b0f2e71a8f7
	Issue introduced in 4.19 with commit 4ed8eb6570a49931c705512060acd50058d61616 and fixed in 5.19.6 with commit 343fed6b0daeb528ae5c9d4d84d9ff763ac95619
	Issue introduced in 4.19 with commit 4ed8eb6570a49931c705512060acd50058d61616 and fixed in 6.0 with commit 18bbc3213383a82b05383827f4b1b882e3f0a5a5

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-50001
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/netfilter/nft_tproxy.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/0b21edf4cc13516716848e0a4fdf726aa2a62cd9
	https://git.kernel.org/stable/c/83ef55c4281f1b4c6bd4457c2e96ccd1c9e80200
	https://git.kernel.org/stable/c/eaba3f9b672c3a3f820da8ee9584b9520674eafa
	https://git.kernel.org/stable/c/9a1d92cbeac3335fee99fa865b8c5b0f2e71a8f7
	https://git.kernel.org/stable/c/343fed6b0daeb528ae5c9d4d84d9ff763ac95619
	https://git.kernel.org/stable/c/18bbc3213383a82b05383827f4b1b882e3f0a5a5

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ