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: <2025123048-CVE-2022-50861-0a1c@gregkh>
Date: Tue, 30 Dec 2025 13:19:57 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50861: NFSD: Finish converting the NFSv2 GETACL result encoder

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

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

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

NFSD: Finish converting the NFSv2 GETACL result encoder

The xdr_stream conversion inadvertently left some code that set the
page_len of the send buffer. The XDR stream encoders should handle
this automatically now.

This oversight adds garbage past the end of the Reply message.
Clients typically ignore the garbage, but NFSD does not need to send
it, as it leaks stale memory contents onto the wire.

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


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

	Issue introduced in 5.13 with commit f8cba47344f794b54373189bec23195b51020faf and fixed in 5.15.86 with commit 5030d4d2bf8b6f6f3d16401ab92a88bc5aa2377a
	Issue introduced in 5.13 with commit f8cba47344f794b54373189bec23195b51020faf and fixed in 6.0.16 with commit d5b867fd2d7f79630b1a2906a7bb4f4b75bf297a
	Issue introduced in 5.13 with commit f8cba47344f794b54373189bec23195b51020faf and fixed in 6.1.2 with commit 2b825efb0577a32a872e872a869e0947cf9dd6d3
	Issue introduced in 5.13 with commit f8cba47344f794b54373189bec23195b51020faf and fixed in 6.2 with commit ea5021e911d3479346a75ac9b7d9dcd751b0fb99

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-50861
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:
	fs/nfsd/nfs2acl.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/a20b0abab966a189a79aba6ebf41f59024a3224d
	https://git.kernel.org/stable/c/5030d4d2bf8b6f6f3d16401ab92a88bc5aa2377a
	https://git.kernel.org/stable/c/d5b867fd2d7f79630b1a2906a7bb4f4b75bf297a
	https://git.kernel.org/stable/c/2b825efb0577a32a872e872a869e0947cf9dd6d3
	https://git.kernel.org/stable/c/ea5021e911d3479346a75ac9b7d9dcd751b0fb99

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ