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 60FB021A44E for ; Wed, 26 Feb 2025 02:24:41 +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=1740536681; cv=none; b=fCbCBly55HGuBqEl6DWNi+UlrCXu3VHz2aAXola4dxvHyt2cyvVm+N4Dk/dS1Gwm4x2AXIS/t7+DRXKsCANDYP7xQ8+CupbsZqrQ1sGLK64bgyJRr4+hhm7jqSPUI10l0dDz0QaeLC7Bxo5lxPNT7ElV2mNBdJrMq7jexBDRTaw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536681; c=relaxed/simple; bh=l+5n/278dLH40j/uRi2ZnpwzgRfnePFcxuj8002cSKA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YG0ClTc4Uub3b9AyqgXbbk8/AvEyPQYoWoz8LBU+QV13iU0P+qofAlrIQ6CjyUpMqOrzfKREpLsnD2rvjnrEjEiP4FFYlxLauyYCO9pXI1fuwaJm1DiKfuQYJGGfy2njsK2T7vlsQjkVpSe2tFGbEZotszINLkJw28jyOLhBVtw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YNt0m8TX; 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="YNt0m8TX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 368ECC4CEDD; Wed, 26 Feb 2025 02:24:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536681; bh=l+5n/278dLH40j/uRi2ZnpwzgRfnePFcxuj8002cSKA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=YNt0m8TXyB5YtJRVvN6LnFFeLaWttFel6LtTAZobtAuWLN2UjLhKc6MIZscvMEFxT QkIERzb98g356xF+ZsWcxkUUPVMSork1XJ+97fFFar6bR7I4fkIDdtb58Bc2I6BevV Kc8pFI6QqCfraZehDXzG0KkAURIwgJs2emHwFjtg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49642: net: stmmac: dwc-qos: Disable split header for Tegra194 Date: Wed, 26 Feb 2025 03:23:25 +0100 Message-ID: <2025022619-CVE-2022-49642-dbbe@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=3275; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=l+5n/278dLH40j/uRi2ZnpwzgRfnePFcxuj8002cSKA=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qm7LOgfJ1vCu3LXV/YtA7+pvu9NCJFpimj7X1yc4f ZxcHdnWEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABP5sp9hwXWFTP5f4od3vJwy 36rrmmVD9pvltxjmpz4Ui9p5sGv7ijuJKmHqH9PC3DP+AAA= 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: net: stmmac: dwc-qos: Disable split header for Tegra194 There is a long-standing issue with the Synopsys DWC Ethernet driver for Tegra194 where random system crashes have been observed [0]. The problem occurs when the split header feature is enabled in the stmmac driver. In the bad case, a larger than expected buffer length is received and causes the calculation of the total buffer length to overflow. This results in a very large buffer length that causes the kernel to crash. Why this larger buffer length is received is not clear, however, the feedback from the NVIDIA design team is that the split header feature is not supported for Tegra194. Therefore, disable split header support for Tegra194 to prevent these random crashes from occurring. [0] https://lore.kernel.org/linux-tegra/b0b17697-f23e-8fa5-3757-604a86f3a095@nvidia.com/ The Linux kernel CVE team has assigned CVE-2022-49642 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4 with commit 67afd6d1cfdf0d0461fe3c4c922447f3e9b1c6ee and fixed in 5.4.207 with commit 2968830c9b47ce093237483c6207c61065712386 Issue introduced in 5.4 with commit 67afd6d1cfdf0d0461fe3c4c922447f3e9b1c6ee and fixed in 5.10.132 with commit 9cc8edc571b871d974b3289868553f9ce544aba6 Issue introduced in 5.4 with commit 67afd6d1cfdf0d0461fe3c4c922447f3e9b1c6ee and fixed in 5.15.56 with commit d5c315a787652c35045044877a249f7d5c8a4104 Issue introduced in 5.4 with commit 67afd6d1cfdf0d0461fe3c4c922447f3e9b1c6ee and fixed in 5.18.13 with commit cfa4caf3e881ad6dd366c903c34f1c7f21b857ab Issue introduced in 5.4 with commit 67afd6d1cfdf0d0461fe3c4c922447f3e9b1c6ee and fixed in 5.19 with commit 029c1c2059e9c4b38f97a06204cdecd10cfbeb8a 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-49642 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: drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.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/2968830c9b47ce093237483c6207c61065712386 https://git.kernel.org/stable/c/9cc8edc571b871d974b3289868553f9ce544aba6 https://git.kernel.org/stable/c/d5c315a787652c35045044877a249f7d5c8a4104 https://git.kernel.org/stable/c/cfa4caf3e881ad6dd366c903c34f1c7f21b857ab https://git.kernel.org/stable/c/029c1c2059e9c4b38f97a06204cdecd10cfbeb8a