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 E7159152E10 for ; Wed, 3 Apr 2024 17:33:29 +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=1712165610; cv=none; b=NhGCh6uCE1Fm2r5AR2Z0e+Aoc91vf0gzvznA+1nIRZ/fSkQLwvO18n2sGXdjpn/rUmhVmrfoQfXIL69RIS+gVtuLE19Tp/d/fNo+ohaynMrwL7Id/H6gWmFsw0WvLi8IPgc9aggGKTj6Ug+HdNzrR8pw2CrKzieBFO/KnK8rabk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712165610; c=relaxed/simple; bh=nITdqCi/jk5SB6w8jrh1bQIu/ZBXoYNrNmYLAPvjHJs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iuQe3aJivXFNgV+lIbCJGtMpg4mN8vat1LBihLhqEe2RN2+oMuPjFjzDsJ3SJDnmqKR9X0bxi7jltC+hhpiNWdr80vFWW3FzuKke2VkEreHIptjD0KqQ/4hfVDXVQskxOGkMT6I88VQoRKgDwTdz+1V01DS3VD///GmP3BSpQRs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=k+XtKXvl; 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="k+XtKXvl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 129CAC433C7; Wed, 3 Apr 2024 17:33:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712165609; bh=nITdqCi/jk5SB6w8jrh1bQIu/ZBXoYNrNmYLAPvjHJs=; h=From:To:Cc:Subject:Date:Reply-to:From; b=k+XtKXvlXYAtMP0lyBS+F13soWZFdRsxqP9d5fTlfiRRm4Q4b2UO7CGHHAe6eKAqC lYlhRpNHnW6KG3M7PTN2OINUf8ww+xJ5JsjXzVKfXyF5XyLgYpO7rYbMLcunf9p/sv qC6U+qYPchbIDmDIFMIU2yDa8qFDMhgu1hFAk9/g= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26776: spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were detected Date: Wed, 3 Apr 2024 19:31:43 +0200 Message-ID: <2024040309-CVE-2024-26776-8119@gregkh> 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: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2451; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nITdqCi/jk5SB6w8jrh1bQIu/ZBXoYNrNmYLAPvjHJs=; b=owGbwMvMwCRo6H6F97bub03G02pJDGm8k2JZJ/+ovB874e/N18eddR7v+fKn8Li04v5jYRNfz PMQusSm3RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATCTVkmB/l/7twa1Hea9fL LVobVDYemrOGYwbD/OIpjCxMLAGW2hVfFaS7mD77SW2YDwA= 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: spi: hisi-sfc-v3xx: Return IRQ_NONE if no interrupts were detected Return IRQ_NONE from the interrupt handler when no interrupt was detected. Because an empty interrupt will cause a null pointer error: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008 Call trace: complete+0x54/0x100 hisi_sfc_v3xx_isr+0x2c/0x40 [spi_hisi_sfc_v3xx] __handle_irq_event_percpu+0x64/0x1e0 handle_irq_event+0x7c/0x1cc The Linux kernel CVE team has assigned CVE-2024-26776 to this issue. Affected and fixed versions =========================== Fixed in 5.10.211 with commit e94da8aca2e7 Fixed in 5.15.150 with commit 0399d7eba41d Fixed in 6.1.80 with commit f19361d570c6 Fixed in 6.6.19 with commit d637b5118274 Fixed in 6.7.7 with commit e4168ac25b4b Fixed in 6.8 with commit de8b6e1c231a 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-26776 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/spi/spi-hisi-sfc-v3xx.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/e94da8aca2e78ef9ecca02eb211869eacd5504e5 https://git.kernel.org/stable/c/0399d7eba41d9b28f5bdd7757ec21a5b7046858d https://git.kernel.org/stable/c/f19361d570c67e7e014896fa2dacd7d721bf0aa8 https://git.kernel.org/stable/c/d637b5118274701e8448f35953877daf04df18b4 https://git.kernel.org/stable/c/e4168ac25b4bd378bd7dda322d589482a136c1fd https://git.kernel.org/stable/c/de8b6e1c231a95abf95ad097b993d34b31458ec9