From mboxrd@z Thu Jan 1 00:00:00 1970 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 4979914E2F5 for ; Wed, 19 Jun 2024 13:48:48 +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=1718804929; cv=none; b=RjzX4iErB2g5JfcSGUS1yRutMPKy7w0v2ghxiuMAnqjo+zKX9zZHPPfXnlyVV9dH23oj7bU65i1rSF437FXoKKVe+kzwsq5WaZ3eB+hSCbfhbnHKee8pX/brwuSFf7B+KoWsEWlm+sFSQvpkOWhcUY1Q5jyd8k0k+zPTfvqpcsY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718804929; c=relaxed/simple; bh=MLloY0jbTws4nYb5Hf08oAY2rOR1RfgGXjS4Fu2pSas=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IzGHWBmGteWV+xr0PzmQpMoTcuw3TOwqjHHTvKLcS7mBYuOmHUUshMKU9+68yj966QwZ0R9xGKO06I4CTobsLLuamIcP8nT7RkEfK652MNfb0ull72O59r7ZXwP4+btcANodlJc5AwpIkkHFVt8O9WLpjtmRYc+1fPOoZoqM1+E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=U+bj3xYJ; 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="U+bj3xYJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 70E24C2BBFC; Wed, 19 Jun 2024 13:48:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718804928; bh=MLloY0jbTws4nYb5Hf08oAY2rOR1RfgGXjS4Fu2pSas=; h=From:To:Cc:Subject:Date:Reply-to:From; b=U+bj3xYJvfxwczgpRu3n8UVLQBckdQHW5r+KbcqZ74vdoYvbDjyPsnYcEM5avlRJS n6Ag/ChTOs4Jf/sSfEGMLSWn3vay5CPahGkA6RRuXqwZQksFEIX0PDbxTVCF6dNy/5 Rm2c7jmayLbZfC5Z53b4KD0M38OzwQL28Vn2S3/g= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-38607: macintosh/via-macii: Fix "BUG: sleeping function called from invalid context" Date: Wed, 19 Jun 2024 15:48:30 +0200 Message-ID: <2024061925-CVE-2024-38607-089e@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=3115; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=MLloY0jbTws4nYb5Hf08oAY2rOR1RfgGXjS4Fu2pSas=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlFD1d6XPnSNUOxhaXo15qu6pgXlRps7r6WJ60eprMJ+ TY6vzvdEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNhCWOYKxBzS+na1LfTWhV5 NTctXP8gOK99LsNcqVp9eQ2jOlFp/r4ld6T4kg7odxYDAA== 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: macintosh/via-macii: Fix "BUG: sleeping function called from invalid context" The via-macii ADB driver calls request_irq() after disabling hard interrupts. But disabling interrupts isn't necessary here because the VIA shift register interrupt was masked during VIA1 initialization. The Linux kernel CVE team has assigned CVE-2024-38607 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 4.19.316 with commit e4ff8bcfb284 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 5.4.278 with commit 1e9c3f2caec5 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 5.10.219 with commit 280619bbdeac Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 5.15.161 with commit 010d4cb19bb1 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 6.1.93 with commit 787fb79efc15 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 6.6.33 with commit d43a8c7ec084 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 6.8.12 with commit 5900a88e897e Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 6.9.3 with commit 2907d409ce59 Issue introduced in 2.6.12 with commit 1da177e4c3f4 and fixed in 6.10-rc1 with commit d301a71c76ee 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-38607 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/macintosh/via-macii.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/e4ff8bcfb2841fe4e17e5901578b632adb89036d https://git.kernel.org/stable/c/1e9c3f2caec548cfa7a65416ec4e6006e542f18e https://git.kernel.org/stable/c/280619bbdeac186fb320fab3d61122d2a085def8 https://git.kernel.org/stable/c/010d4cb19bb13f423e3e746b824f314a9bf3e9a9 https://git.kernel.org/stable/c/787fb79efc15b3b86442ecf079b8148f173376d7 https://git.kernel.org/stable/c/d43a8c7ec0841e0ff91a968770aeca83f0fd4c56 https://git.kernel.org/stable/c/5900a88e897e6deb1bdce09ee34167a81c2da89d https://git.kernel.org/stable/c/2907d409ce5946390f513976f0454888d37d1058 https://git.kernel.org/stable/c/d301a71c76ee4c384b4e03cdc320a55f5cf1df05