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 EE16612D76F for ; Wed, 1 May 2024 13:07:37 +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=1714568858; cv=none; b=qdYFtz5T9ISc4TQxnfQYk4SGS0NFBdTX2Cdp2qNv/ZxDzDegRJv/LeGW89z8kZugO0YXu7t7pRZ6DOWW+NxIye/NLs5gKhl/+RMqg+1EbS42xA4PoJbsZpyuaEKcicYHefP0ZkhLzjHNfkdbbCgHvf+uA4++jAmzJNJ/gxIXyeo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714568858; c=relaxed/simple; bh=oWKXkwlLhLc6iKxYoNWZnmHNkPX6kblKd9DcPfwNhAw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hMhO/qJJ2hIBTB3MiW9rzI56Zkh3v3+0QtfhojQcPm0bkfaec+hbCl5NE395Zf1tBvxS2flQpjH3qSmJvdey1TH+kh57d4pbrdjQ4DfCTs1S3nq8nFkdZvVLAXgVwMtT+iSu0zp2oQTtXvQu99UoV8lFcaUOQze8fGBP91kHXOk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=E7rD4Rwa; 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="E7rD4Rwa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 780FEC113CC; Wed, 1 May 2024 13:07:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714568857; bh=oWKXkwlLhLc6iKxYoNWZnmHNkPX6kblKd9DcPfwNhAw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=E7rD4RwaKAxm9JeviQ9+PpI39KaJYXIrzpEW/KFuOn0xH/txqfr8yd8jFsufEDeXb Y0o3bQfT/tMZYTL/qiiXriDYdMpKNYhKnpnNER6xOna2EVw4JAlUKoKZV+0hSnC3Iy DCpdbQDhvjzbWyfliQdt6hwHcpemdF+UWpj1JVC8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-27069: ovl: relax WARN_ON in ovl_verify_area() Date: Wed, 1 May 2024 15:06:40 +0200 Message-ID: <2024050133-CVE-2024-27069-5b70@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=1951; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=oWKXkwlLhLc6iKxYoNWZnmHNkPX6kblKd9DcPfwNhAw=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlGdpHyBZfaLn/UrEzr5RKe8TbBV3/JuQ0fZmz/FXpCI M/mbfSUjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIyiWG+aEzGLtT3zpdyu2I 8Xrtt+3oXrXs+wwLWspnvMtc+dLJ7MjL6ZX3Pt+/zO7DAgA= 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: ovl: relax WARN_ON in ovl_verify_area() syzbot hit an assertion in copy up data loop which looks like it is the result of a lower file whose size is being changed underneath overlayfs. This type of use case is documented to cause undefined behavior, so returning EIO error for the copy up makes sense, but it should not be causing a WARN_ON assertion. The Linux kernel CVE team has assigned CVE-2024-27069 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit ca7ab482401c and fixed in 6.8.2 with commit c3c85aefc0da Issue introduced in 6.8 with commit ca7ab482401c and fixed in 6.9-rc1 with commit 77a28aa47687 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-27069 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: fs/overlayfs/copy_up.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/c3c85aefc0da1e5074a06c682542a54ccc99bdca https://git.kernel.org/stable/c/77a28aa476873048024ad56daf8f4f17d58ee48e