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 0BC46BE46 for ; Sat, 16 Aug 2025 11:14: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=1755342858; cv=none; b=HIAGAHWxrCI0hOQWwwcwPgo2rv4A7h9AolgEh/VtZt+h5C7t7K91tM1hjtFYLb5EW3rn8jgrnzGOQ8Q/LuhpgRJwoWiUGEcInQOe7bKjziyiX7+HLH9NnocyQ0Pm1EMYCyPa+PCJLIf34jnLgIzkkE0GNhN/d1m6nOhho++kmY0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755342858; c=relaxed/simple; bh=JY73p6sBcKdQXghpA4DvLCq7kcmfcSkfTxt+SWiTa5Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ItBkJtDzZKlNQl5gGkrplw5WD3p6HyZEdREv0gXEO07FWiVuFuOswlOpokVdi1yxd4BugVXBeZizb5vvivPOMnWtGcGNVpCDHcRmgtEVpBIzbqQo6Y4GaIetFjLa3V1MTw/ZmP6VOFd4eLBmFqPvUP8yCK8WVsXP0KAED/JVoDo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rx7XMhdP; 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="rx7XMhdP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20B90C4CEEF; Sat, 16 Aug 2025 11:14:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755342857; bh=JY73p6sBcKdQXghpA4DvLCq7kcmfcSkfTxt+SWiTa5Y=; h=From:To:Cc:Subject:Date:Reply-to:From; b=rx7XMhdPE3xs47Rt5YmGeM7t6PJh6M6Ha6naEGk0aa1plHz/vxv+mDQOprNmyA0Jl csgqRO4oIadAYgrkXiHzK3w3lxX3kCN1cyI9GxuUtaG8jtzl/6yIqZJxPIEC3fxoMl PBOVMO+9OG/8HMF2gcJz9AeePEECbGSc3/pycjJk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38534: netfs: Fix copy-to-cache so that it performs collection with ceph+fscache Date: Sat, 16 Aug 2025 13:14:05 +0200 Message-ID: <2025081656-CVE-2025-38534-5573@gregkh> X-Mailer: git-send-email 2.50.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=2388; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Jyt/uH1SUX+u3t8YYgyT6vjEA7nW/9Z08kAFlDLPLbA=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkL0r9Ev9xRcsf2Z8j5YIaLNtwt6usDLd5+Cf8nyqe53 Cpv7VbBjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiI1H2G+TEzl3Kv6DF50bA8 9Akzy86+ncl8KxgWHFAQy81Zne56R+GI4XOhomUbRYzyAQ== 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: netfs: Fix copy-to-cache so that it performs collection with ceph+fscache The netfs copy-to-cache that is used by Ceph with local caching sets up a new request to write data just read to the cache. The request is started and then left to look after itself whilst the app continues. The request gets notified by the backing fs upon completion of the async DIO write, but then tries to wake up the app because NETFS_RREQ_OFFLOAD_COLLECTION isn't set - but the app isn't waiting there, and so the request just hangs. Fix this by setting NETFS_RREQ_OFFLOAD_COLLECTION which causes the notification from the backing filesystem to put the collection onto a work queue instead. The Linux kernel CVE team has assigned CVE-2025-38534 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit e2d46f2ec332533816417b60933954173f602121 and fixed in 6.15.8 with commit 1ebe58cef84eab22b41b4d5e72c2051ebf00af50 Issue introduced in 6.14 with commit e2d46f2ec332533816417b60933954173f602121 and fixed in 6.16 with commit 4c238e30774e3022a505fa54311273add7570f13 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-38534 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/netfs/read_pgpriv2.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/1ebe58cef84eab22b41b4d5e72c2051ebf00af50 https://git.kernel.org/stable/c/4c238e30774e3022a505fa54311273add7570f13