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 D5F114A2D for ; Tue, 27 Feb 2024 18:41:20 +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=1709059280; cv=none; b=uwB0ecSExHMW7d/SYku8qdQ45xaQeMQbyDYbhfF/64czBSaIh08PMKRDx/YsrWIm+7iDoHYXYMSmpzpDmnGwnOu8nZkdG7x+DBfSmwWpFSie4LSinSdCsKx17ta/8gwjUIoLsxWhEr2e6q0at3HNjAHyZQpgLrvwGyd69VMm7oM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709059280; c=relaxed/simple; bh=GfxSKNmszvBEfkbJjHxkrE43rkOOgKA7VT8sk8WN+Vk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EWqsWMJokLNYsN1cyfJONUX0loin9DQX9+LyxhsbYF8kLfC7yyf3WGjiTsN/wGwmd55D0PnyWrIfbWTe2m8BLpEqB/EwH4gP6G3WV52wutcWFZB8yRl3tek2jZUpNqb/AY/EFo/XhFMxxyw+tX6LYf51mG05xv+hirZHTtL47H0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YkBbxhNB; 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="YkBbxhNB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09AACC433C7; Tue, 27 Feb 2024 18:41:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709059280; bh=GfxSKNmszvBEfkbJjHxkrE43rkOOgKA7VT8sk8WN+Vk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=YkBbxhNBbkTKQ+Id7dkAFyOQamES++wqGap6tCMnM1W6mjjnXxoHdXyzYURTHwS2X s4ME0QU6GehRxjJ4TOaT0hzYqpUqiTJIn0YuY6M0lgyiLCX+bIJqtK2l41GS/RA8uu PfgLxUaLSAWAWtUorB9kM4YFwp7AGiazZ+1WkWN4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-46948: sfc: farch: fix TX queue lookup in TX event handling Date: Tue, 27 Feb 2024 19:40:50 +0100 Message-ID: <20240227184057.2368370-13-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: sfc: farch: fix TX queue lookup in TX event handling We're starting from a TXQ label, not a TXQ type, so efx_channel_get_tx_queue() is inappropriate (and could return NULL, leading to panics). The Linux kernel CVE team has assigned CVE-2021-46948 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit 12804793b17c and fixed in 5.10.36 with commit bf2b941d0a6f Issue introduced in 5.10 with commit 12804793b17c and fixed in 5.11.20 with commit 35c7a83ad1bb Issue introduced in 5.10 with commit 12804793b17c and fixed in 5.12.3 with commit e531db1ea6f9 Issue introduced in 5.10 with commit 12804793b17c and fixed in 5.13 with commit 83b09a180741 Please see https://www.kernel.org or 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-2021-46948 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/sfc/farch.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/bf2b941d0a6f2d3b9f5fa3c4c21bdd54f71ce253 https://git.kernel.org/stable/c/35c7a83ad1bb1d48ae249346e61b1132bcbf9052 https://git.kernel.org/stable/c/e531db1ea6f98c9612cb2de093a107c7eadfb96c https://git.kernel.org/stable/c/83b09a1807415608b387c7bc748d329fefc5617e