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 AB989144D0B for ; Tue, 21 May 2024 15:37:50 +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=1716305870; cv=none; b=dosAo2KwDj7M361w/HyNz+Xsb//fnd0WsNAqXM+YEJgjcdWtqXfn3nrd0ut7wuvLKM5CB3FovJL9W//MC/9zqwm9Erl0tyl+YDs55YQtU6/3LvsZtFRWzdiA6sDrO+7sU/pRy1Z4/pGCtRwiVNdvd3RI/9HL/9c3GhoX0HMKkt4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716305870; c=relaxed/simple; bh=FhsVm6FxDG8MV3j8KtAc09rOx0R0uKtpxv2egxuSW1U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Xkj7oUs3Enfs/jxYFHkf/efwjfRoMZTNdRnav3xGGBBaVaPhjeyG0Ro6uhpQnU8C2QD8dqh0aPRb/HypZAgo+y7FNcuyTuuQFH6qtguTjZyFLKCjM5fun3gL5vBfnatHt2+UUx6D+309Ej7X72dhtWbtFdPn3ne2Lpd8wpSpEDE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mLHbJEXw; 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="mLHbJEXw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2C053C2BD11; Tue, 21 May 2024 15:37:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716305870; bh=FhsVm6FxDG8MV3j8KtAc09rOx0R0uKtpxv2egxuSW1U=; h=From:To:Cc:Subject:Date:Reply-to:From; b=mLHbJEXwTKs3qVRkBOSCsVTQkdW8MEwsNEZH4nXUhAQfmSYQ5PtWWdavU6f7DZgsc u40zFcLA7hIHup5oR/DzYgiQBGMln1QAs7rToh1PZbspmQ9vAcZKcB5hAGPI6uQgRB yHUdfswHeKQF2gbmzXG9tVHtVF54XFkXHTth9AoY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52834: atl1c: Work around the DMA RX overflow issue Date: Tue, 21 May 2024 17:32:10 +0200 Message-ID: <2024052109-CVE-2023-52834-4c46@gregkh> X-Mailer: git-send-email 2.45.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=2451; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=FhsVm6FxDG8MV3j8KtAc09rOx0R0uKtpxv2egxuSW1U=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk++2xrvcOetS2Sn7PCZHrVBesL9Tbre7fILbtSU97fd Xh9vNL6jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAbjJfxkWnDLyO+avdM/ReDbX pQTGz1GXiw4JMMxPmnB6X+DjOfuvPO9YMn1zJdf0q66LAQ== 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: atl1c: Work around the DMA RX overflow issue This is based on alx driver commit 881d0327db37 ("net: alx: Work around the DMA RX overflow issue"). The alx and atl1c drivers had RX overflow error which was why a custom allocator was created to avoid certain addresses. The simpler workaround then created for alx driver, but not for atl1c due to lack of tester. Instead of using a custom allocator, check the allocated skb address and use skb_reserve() to move away from problematic 0x...fc0 address. Tested on AR8131 on Acer 4540. The Linux kernel CVE team has assigned CVE-2023-52834 to this issue. Affected and fixed versions =========================== Fixed in 5.15.140 with commit c29a89b23f67 Fixed in 6.1.64 with commit 57e44ff9c2c9 Fixed in 6.5.13 with commit 54a6152da499 Fixed in 6.6.3 with commit 32f08b7b430e Fixed in 6.7 with commit 86565682e905 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-2023-52834 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/atheros/atl1c/atl1c.h drivers/net/ethernet/atheros/atl1c/atl1c_main.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/c29a89b23f67ee592f4dee61f9d7efbf86d60315 https://git.kernel.org/stable/c/57e44ff9c2c9747b2b1a53556810b0e5192655d6 https://git.kernel.org/stable/c/54a6152da4993ec8e4b53dc3cf577f5a2c829afa https://git.kernel.org/stable/c/32f08b7b430ee01ec47d730f961a3306c1c7b6fb https://git.kernel.org/stable/c/86565682e9053e5deb128193ea9e88531bbae9cf