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 CB1B978F5D for ; Sat, 28 Dec 2024 09:47:17 +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=1735379237; cv=none; b=USs68FfHD2JwwiNqNjzjV45oLaU/gQg+pT+I6UF59EMbX1bAw/UI6XteUiddqQ30BuzJ0iyvZp38N28P3AD2olIri/ae/wr5aQ5S/lO1q494g0JMh75WL3Cy/MQqScCqlW9t3vbmQia768DmzkJEXW5SvCEUSEyUh7/YcELGvvA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735379237; c=relaxed/simple; bh=1ZVGqmrj8l6ncWU8JLHyKwOPuRiiax565fheMP8TFqo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dewDDHqSggEhrGpCPiHMxlNSxHnX34//OBJVFxrrIrk24dbYpsgtyh4VHDDQTqPp283JmRGj+yyWgKYM6O4LD9ivePdHEA7td49EX5O7kcOVLws5QTBT66aT4o1u/zOrpslF4lD5120NXwqswkCXuznguEVxedcko6ArzpLF61E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Sqifwu/y; 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="Sqifwu/y" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 52EF6C4CECD; Sat, 28 Dec 2024 09:47:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735379237; bh=1ZVGqmrj8l6ncWU8JLHyKwOPuRiiax565fheMP8TFqo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Sqifwu/yCngtiG5TkbhqE0ap7F48QFsLiSUxN0F1sE7wzQeQtjL8rvURpmGK9aG48 2787vQ3+c34WqPlVwUtjxTbN7rJS2eYh41C/ENFR+AuondfRmEnwYUGTPji8Lls3e4 l8Kypl23olGExOm5JNCKalvYx874HlZJn0hI5lw0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56680: media: intel/ipu6: do not handle interrupts when device is disabled Date: Sat, 28 Dec 2024 10:45:32 +0100 Message-ID: <2024122832-CVE-2024-56680-fac9@gregkh> X-Mailer: git-send-email 2.47.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=2588; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1ZVGqmrj8l6ncWU8JLHyKwOPuRiiax565fheMP8TFqo=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn5J/Y8YpZmOfpR5/a0E7liF0J4FTt57vna1Uc8veIjd F6pWbu4I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYy6zjD/LIYIxcehlexBsfa Pqqfn3rB86/YSYb5UQ/TbYzOF38QXK57t0bzCbPG1O79AA== 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: media: intel/ipu6: do not handle interrupts when device is disabled Some IPU6 devices have shared interrupts. We need to handle properly case when interrupt is triggered from other device on shared irq line and IPU6 itself disabled. In such case we get 0xffffffff from ISR_STATUS register and handle all irq's cases, for what we are not not prepared and usually hang the whole system. To avoid the issue use pm_runtime_get_if_active() to check if the device is enabled and prevent suspending it when we handle irq until the end of irq. Additionally use synchronize_irq() in suspend The Linux kernel CVE team has assigned CVE-2024-56680 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit ab29a2478e709b8fbb4715c51709275907c185db and fixed in 6.11.11 with commit ed4524c87249edc3104f6bb28ab11325bed3d536 Issue introduced in 6.10 with commit ab29a2478e709b8fbb4715c51709275907c185db and fixed in 6.12.2 with commit 57241487a3648515c9aa6fa89e31f2414eccfdbc Issue introduced in 6.10 with commit ab29a2478e709b8fbb4715c51709275907c185db and fixed in 6.13-rc1 with commit 1429826883bb18847092b2e04c6598ef34bae1d4 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-56680 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/media/pci/intel/ipu6/ipu6-buttress.c drivers/media/pci/intel/ipu6/ipu6.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/ed4524c87249edc3104f6bb28ab11325bed3d536 https://git.kernel.org/stable/c/57241487a3648515c9aa6fa89e31f2414eccfdbc https://git.kernel.org/stable/c/1429826883bb18847092b2e04c6598ef34bae1d4