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 C946026C386 for ; Fri, 9 May 2025 06:44:08 +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=1746773048; cv=none; b=NnSmvQ4bF4n+ClEPGqrpmwIeVsYx3vseyCLDA97HOFDOK2QTU6dZBSnrRr6/YQlFK6myGoi+ptGSSTqsQJvZdkcqylP9/GqMRt+wbkQlOZUNNbFjBy4oQShyNI7RgPo0UOdSkwqQVzQcJdZBFjlBaGyT1eIiSMkOlb5ZiU7s5MQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746773048; c=relaxed/simple; bh=8xJ2W98U12tsjzR91jG8wg6Mh/DYj8bbZy/oYkxL+lI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pKU/PmGG+tc2fyxMwXjFS/BhxeWOrl4edjj7F5llozg/XHZP+4OHkdXzR/BxiFl3Ev6sHkSveRllscaJ3k2tULvnBdWcKILfi7T48JVhdwh0wr95pWyKrHCVEw5OEMeMm0mrFYOJUBVw4CTEg+L55EaAMuyxtFm5IPMtM7m+f5w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JFvbzdO/; 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="JFvbzdO/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA997C4CEE9; Fri, 9 May 2025 06:44:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746773048; bh=8xJ2W98U12tsjzR91jG8wg6Mh/DYj8bbZy/oYkxL+lI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=JFvbzdO/nx2j4ekV7IbgUAvHrUz9C1Ii2ZjZmNn6FTA8kJIwm9+NI2KA/yXv+K4Kr +CV6bSmMwa2d2Xm6zbO2iBmCGnTwD0BGKt3tf5uNtRatyfGXa1PeKtULNGkZYzPZek +FxRm4l9YQ5/AfLQmiEc4hIQi5R9vFbvALDzoVeU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37863: ovl: don't allow datadir only Date: Fri, 9 May 2025 08:43:57 +0200 Message-ID: <2025050956-CVE-2025-37863-dcf9@gregkh> X-Mailer: git-send-email 2.49.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=2548; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=/VMTRMp5/fXK9xdkSLiICXobyufdyU6YG/ebo4aPS/U=; b=owGbwMvMwCRo6H6F97bub03G02pJDBmyS3RmMausfh+3bNKXmdrFoksc95vJRU+UeOW+Zf/5j YcEp3i4d8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEbt9iWNBhcUuhY9Prt/Ps JJnu7JuqJLo+qIJhnkmHWJ5SQPasLcJ+jwNV9ebGTmnbBgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: ovl: don't allow datadir only In theory overlayfs could support upper layer directly referring to a data layer, but there's no current use case for this. Originally, when data-only layers were introduced, this wasn't allowed, only introduced by the "datadir+" feature, but without actually handling this case, resulting in an Oops. Fix by disallowing datadir without lowerdir. The Linux kernel CVE team has assigned CVE-2025-37863 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.23 with commit cc0918b3582c98f12cfb30bf7496496d14bff3e9 and fixed in 6.6.88 with commit 0874b629f65320778e7e3e206177770666d9db18 Issue introduced in 6.7 with commit 24e16e385f2272b1a9df51337a5c32d28a29c7ad and fixed in 6.12.25 with commit b9e3579213ba648fa23f780e8d53e99011c62331 Issue introduced in 6.7 with commit 24e16e385f2272b1a9df51337a5c32d28a29c7ad and fixed in 6.14.4 with commit 21d2ffb0e9838a175064c22f3a9de97d1f56f27d Issue introduced in 6.7 with commit 24e16e385f2272b1a9df51337a5c32d28a29c7ad and fixed in 6.15-rc3 with commit eb3a04a8516ee9b5174379306f94279fc90424c4 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-2025-37863 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/super.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/0874b629f65320778e7e3e206177770666d9db18 https://git.kernel.org/stable/c/b9e3579213ba648fa23f780e8d53e99011c62331 https://git.kernel.org/stable/c/21d2ffb0e9838a175064c22f3a9de97d1f56f27d https://git.kernel.org/stable/c/eb3a04a8516ee9b5174379306f94279fc90424c4