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 B462F3DBB3 for ; Fri, 17 May 2024 11:40:57 +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=1715946057; cv=none; b=mFz0YZtISjfgN7IfvVkAn9Ovtfr8sAPtS4+rdhD+zpg7t/giIjcC4Q7lPgaxdgsbsdGqs7U9+uYtkCdqCRHUOF4A7DdQih86H79sRiE4vF35G1/kNvEhGlUgwPHiv9I68LiYvmEsPaxZurADfHL0ts9WS8vAFRh3/Wh4wNrSf6M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715946057; c=relaxed/simple; bh=bp2hP3JBIm/xatfTnnqsZjPhBkoJI5u/3Zhdi5wEB4A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=J5RwMINW5CGEhQsQ9nBrZIjuyk4CCcWP6n8vbMSVGvVkN7QD5BNSFiUk3G+gQBnv5QACJDEmcj3CJ+S85iA7Rd8P6kA7cUih2OlFBWhOzOo9SNG+aUihV1LiEo1kRKk3EaLxqEBZ/whK/vIvorK+Xvj/NVLmv3N9WnZr0SyOGEI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jV58Ve5e; 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="jV58Ve5e" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 32BFFC2BD10; Fri, 17 May 2024 11:40:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715946057; bh=bp2hP3JBIm/xatfTnnqsZjPhBkoJI5u/3Zhdi5wEB4A=; h=From:To:Cc:Subject:Date:Reply-to:From; b=jV58Ve5e4DLGo5mFxfieBQnHSHylfzskvKw5kOorJtncUmzvb14D0zDUtDlJajoKS xevNFk8/0Eru4mk0OmtMPts8ROJ8ZAXqLmpc98WJM6qZupAtjlWCijQOGki9NXDVYd LcrhJ6GMiCFlP/QJv/ViRIm0ZUEy6iZPnuToCPGs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-27406: lib/Kconfig.debug: TEST_IOV_ITER depends on MMU Date: Fri, 17 May 2024 13:40:41 +0200 Message-ID: <2024051739-CVE-2024-27406-cfc3@gregkh> X-Mailer: git-send-email 2.45.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=2229; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=bp2hP3JBIm/xatfTnnqsZjPhBkoJI5u/3Zhdi5wEB4A=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnuTubll+UN5LjSJh83cZSzOFvvdl2x0/ZWhbrGeRHTk O3LFHd1xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwETqghjmuxRmPZE5vdrkGoeA cEfpE+bVaUzLGRbsj1nK9Ubi+483mebXfpWpHeM5LvkHAA== 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: lib/Kconfig.debug: TEST_IOV_ITER depends on MMU Trying to run the iov_iter unit test on a nommu system such as the qemu kc705-nommu emulation results in a crash. KTAP version 1 # Subtest: iov_iter # module: kunit_iov_iter 1..9 BUG: failure at mm/nommu.c:318/vmap()! Kernel panic - not syncing: BUG! The test calls vmap() directly, but vmap() is not supported on nommu systems, causing the crash. TEST_IOV_ITER therefore needs to depend on MMU. The Linux kernel CVE team has assigned CVE-2024-27406 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit 2d71340ff1d4 and fixed in 6.6.19 with commit e6316749d603 Issue introduced in 6.6 with commit 2d71340ff1d4 and fixed in 6.7.7 with commit 9e6e541b9776 Issue introduced in 6.6 with commit 2d71340ff1d4 and fixed in 6.8 with commit 1eb1e984379e 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-27406 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: lib/Kconfig.debug 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/e6316749d603fe9c4c91f6ec3694e06e4de632a3 https://git.kernel.org/stable/c/9e6e541b97762d5b1143070067f7c68f39a408f8 https://git.kernel.org/stable/c/1eb1e984379e2da04361763f66eec90dd75cf63e