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 31776190676 for ; Tue, 30 Jul 2024 07:50:11 +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=1722325811; cv=none; b=OzgCnWFUn55oQ0xbWBPABSQKITKXApjQmGt7aHAqb7RK1Axemj1rC+Fbv5GV17mmALOxRsIvQSe+0n8M1SalhGhYxsmuQO6VbBtILS9p5EqhUTN4yLqvcOPfFcLPGB4fW/jGcnjOLUMbF40DEknBExvjSKlWrANw83ck1nx5czU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722325811; c=relaxed/simple; bh=Ql37zpIQXqx982KbmDiQA5NNDiPRt72RP33PviOrl1Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Hd85F0rzH2bExZxF2n55iywyYAXgpbWiy4ptH681aqTNH6ljaiU3uCgQjiUZXmU0V0Aosd7xmIHuthgzZN52JuBTdgkzfOfekm4m/LxhcAxhfYa3R7yjE1336NoX1hhKAyV3eDUo+47r2V6j2F19Y3cgcnPAgTY3ExxeBwdSOPQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tHLhqhJy; 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="tHLhqhJy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95319C32782; Tue, 30 Jul 2024 07:50:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722325811; bh=Ql37zpIQXqx982KbmDiQA5NNDiPRt72RP33PviOrl1Q=; h=From:To:Cc:Subject:Date:Reply-to:From; b=tHLhqhJybJYmfkhBaYsj4IwNAn2G9pOjbg9RS4KlsMaeuALk5jh5kPaPIqDFjedK5 vMDObFYlWmZmcZfJCBAJhmH0swZoojFKkNrN6DXLBVV3MIkVRBHYRcpbh9kXoxaji/ vMjfbSRUgzkWQBWjBQ2mc2vrtpcI0swvt9gBC7vM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42113: net: txgbe: initialize num_q_vectors for MSI/INTx interrupts Date: Tue, 30 Jul 2024 09:47:31 +0200 Message-ID: <2024073022-CVE-2024-42113-be53@gregkh> X-Mailer: git-send-email 2.45.2 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=1995; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Ql37zpIQXqx982KbmDiQA5NNDiPRt72RP33PviOrl1Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkrZnXdkI/r/855/P6WhWLrXz3uCOv/v2jLhGkTjt1SO 3R8l1DVno5YFgZBJgZZMUWWL9t4ju6vOKToZWh7GmYOKxPIEAYuTgGYSO4OhvmlMt819j45t0lg /766YyeWRNevZnnJMN/xmZtS0URXU++Zzme+Tuf+8czjkQUA 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: txgbe: initialize num_q_vectors for MSI/INTx interrupts When using MSI/INTx interrupts, wx->num_q_vectors is uninitialized. Thus there will be kernel panic in wx_alloc_q_vectors() to allocate queue vectors. The Linux kernel CVE team has assigned CVE-2024-42113 to this issue. Affected and fixed versions =========================== Issue introduced in 6.3 with commit 3f703186113f and fixed in 6.6.39 with commit 9edc7a83cd40 Issue introduced in 6.3 with commit 3f703186113f and fixed in 6.9.9 with commit c98969226d1f Issue introduced in 6.3 with commit 3f703186113f and fixed in 6.10 with commit 7c36711a2cd8 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-2024-42113 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/wangxun/libwx/wx_lib.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/9edc7a83cd40ac96ff14fe3a17a38f7ace6611df https://git.kernel.org/stable/c/c98969226d1fe0c1dd779db8b1c444bc5294fc83 https://git.kernel.org/stable/c/7c36711a2cd8059c2d24f5e5c1d76e8ea2d5613c