Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 732922165F3 for ; Wed, 26 Feb 2025 02:00:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535224; cv=none; b=Vf98MI82UxTivbyycn7TldkKqKUQU6amgtxroc/GiajWWEV8QvB4KPx5Rw7WMxr9Ri/E+rZxRathB5kF0jAgnzjexFgUrwxeHyR70n84L0ryWkIoWwKvObxNUuZZFFCrM0dd3HqJAHlUZXQR3TBKuWl8rlvolzk5MufN3Skz4p0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535224; c=relaxed/simple; bh=oRjEV58tkC3jLu8a8HNP43IMeCT4a1TOFqQqcVL56zE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Z2y2EAo2qeu1YR/i+EM/RcLksOcLKCY2uJGHjGA5C7puz2KKOKRFeIK+RvMvptiSuxJNvWUEVFZOFUhXlfPNUJYFVQIx8BMnnE96Xn+KtXVgwdNZAG5QmUXk9vCuCsJFL498lQpJbp+7WFXnHn4m3LSMKzeWo//FJGQY2hJdUR4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=X82mUhAH; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="X82mUhAH" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 49BA9C4CEDD; Wed, 26 Feb 2025 02:00:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535224; bh=oRjEV58tkC3jLu8a8HNP43IMeCT4a1TOFqQqcVL56zE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=X82mUhAHkA8Eo1hMTqi5hXQ8jZwz6nflMeYJHAwkV7i+bGCWghOeSpS2gUMq23ZFl qBOsEoIpupGjl8iPKWDKxTRBJuUokRaWkfClsZusAM81mV7UfZILFAm+lRn2Cogwjr 0E5LbVAFTT8kFL8CbgHYU/yhy5z5tkD3BmxAKy6U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49279: NFSD: prevent integer overflow on 32 bit systems Date: Wed, 26 Feb 2025 02:58:04 +0100 Message-ID: <2025022631-CVE-2022-49279-811f@gregkh> X-Mailer: git-send-email 2.48.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2414; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=oRjEV58tkC3jLu8a8HNP43IMeCT4a1TOFqQqcVL56zE=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7SsJf79s0W11JQZPhxF5ZD48FDztmLLlnsOOHaePvl BbjNV5CHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRqjiGBZePP9NZF5xU+sTF vEl27nTVOdvElzHMU/+htkD72eLys8k5GinvHio4i1a7AAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: NFSD: prevent integer overflow on 32 bit systems On a 32 bit system, the "len * sizeof(*p)" operation can have an integer overflow. The Linux kernel CVE team has assigned CVE-2022-49279 to this issue. Affected and fixed versions =========================== Fixed in 4.19.238 with commit 3a2789e8ccb4a3e2a631f6817a2d3bb98b8c4fd8 Fixed in 5.4.189 with commit ce1aa09cc14ed625104acc2d487bd92b9a88efe2 Fixed in 5.10.110 with commit 7af164fa2f1abc577d357d22d83a2f3490875d7e Fixed in 5.15.33 with commit 303cd6173dce0a28d26526c77814eb90a41bd898 Fixed in 5.16.19 with commit 79b1c54fc6ce09ee0d5fe088bb3de26ae2150e3c Fixed in 5.17.2 with commit e4195d27306ea468a6dc3a27af6f586709951229 Fixed in 5.18 with commit 23a9dbbe0faf124fc4c139615633b9d12a3a89ef 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-49279 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: include/linux/sunrpc/xdr.h 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/3a2789e8ccb4a3e2a631f6817a2d3bb98b8c4fd8 https://git.kernel.org/stable/c/ce1aa09cc14ed625104acc2d487bd92b9a88efe2 https://git.kernel.org/stable/c/7af164fa2f1abc577d357d22d83a2f3490875d7e https://git.kernel.org/stable/c/303cd6173dce0a28d26526c77814eb90a41bd898 https://git.kernel.org/stable/c/79b1c54fc6ce09ee0d5fe088bb3de26ae2150e3c https://git.kernel.org/stable/c/e4195d27306ea468a6dc3a27af6f586709951229 https://git.kernel.org/stable/c/23a9dbbe0faf124fc4c139615633b9d12a3a89ef