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 2EF6A191F98 for ; Tue, 30 Jul 2024 07:52:06 +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=1722325926; cv=none; b=RgACTXH0bped/w2DtVCJHOzJpcv1aqh6VRbTlNdwboOGJbvOtjxkH2S50N5gMhr0CzAbaj+2mw6a5ZqOx4gCNWHKDEhiU0mbRoS1QkbPG/9aRRfxhPF5Jo/fhxT8Os70Ym4PQTxFv22MdNNKB5OHYFlUBG9ToRDTikQOatPo2DE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722325926; c=relaxed/simple; bh=puPl1r4f/supwWd8AIhuY9ACcZIjv/srwJohpTxioNE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mssh/3b/EaTcHqFfyt7EjLEwpUBoC4RRnBLeoHaJ9nXQTKE4yFwK7SmjY3uyf1Q9FyGX3wkHV2edTdy2zjaG1eCiLmm/gA7Fh7umXN1nBmA/zxridrTdVw0f7ZAuh1+q8DvM+VZqSBxFb8+hp3q3Fh09fhilByVG6Mz3NCtnbqg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ezP1X7i7; 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="ezP1X7i7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA19BC32782; Tue, 30 Jul 2024 07:52:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722325926; bh=puPl1r4f/supwWd8AIhuY9ACcZIjv/srwJohpTxioNE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ezP1X7i7FaUrNW+pb3qdOiE8g4pfAYdMLhwmJ7LhcH8Qg7D4pJBjYAmdqaqoJCTRf LG90Z1a7BLBZT5gIxiDi6/woN1b2aWHMey+rY1ns49FiAn9CAjRASxD3qPyyw9bMve KXIq+5ZWqeGrM6YcrOtN+Lq4JtL93DyIrnkMsyCg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42150: net: txgbe: remove separate irq request for MSI and INTx Date: Tue, 30 Jul 2024 09:48:08 +0200 Message-ID: <2024073033-CVE-2024-42150-6a7d@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=2350; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=puPl1r4f/supwWd8AIhuY9ACcZIjv/srwJohpTxioNE=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkrZk1d/3ZHPcfG5krxdPk5Ky669myMnxrnpHz5Rdo3n pRzO674d8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBETjAxzE87tH2pY4Psz+P/ b32JqbAs0rfw1meY7/Jm5bf0fKNakWfXjr8t/HzCqfGrDAA= 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: remove separate irq request for MSI and INTx When using MSI or INTx interrupts, request_irq() for pdev->irq will conflict with request_threaded_irq() for txgbe->misc.irq, to cause system crash. So remove txgbe_request_irq() for MSI/INTx case, and rename txgbe_request_msix_irqs() since it only request for queue irqs. Add wx->misc_irq_domain to determine whether the driver creates an IRQ domain and threaded request the IRQs. The Linux kernel CVE team has assigned CVE-2024-42150 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit aefd013624a1 and fixed in 6.9.9 with commit 850103ebe6b0 Issue introduced in 6.9 with commit aefd013624a1 and fixed in 6.10 with commit bd07a9817846 Issue introduced in 6.8.12 with commit ffe8a87463c8 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-42150 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_hw.c drivers/net/ethernet/wangxun/libwx/wx_lib.c drivers/net/ethernet/wangxun/libwx/wx_type.h drivers/net/ethernet/wangxun/txgbe/txgbe_irq.c drivers/net/ethernet/wangxun/txgbe/txgbe_irq.h drivers/net/ethernet/wangxun/txgbe/txgbe_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/850103ebe6b062ee0ab0f6670205f861acc76ace https://git.kernel.org/stable/c/bd07a98178462e7a02ed2bf7dec90a00944c1da5