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 6F431230BD5 for ; Sat, 14 Feb 2026 16:05:01 +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=1771085101; cv=none; b=OKaElB2LlFTrzac8wC+0MNUp1xT3AdZxK8jUmXbmMHnsySHFwFNXFkXMGjENcJlrgZIuUin9IlMMShlgPADW66o3HKw3JGn0RMzGPrlSsbP1lBmmzqsSDnlJumkJ076M5woTHTYgIPwPcoxlutyl5UQkWCyRoUyq1LkPccFrLb0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771085101; c=relaxed/simple; bh=lq0MpF8DWHhFZO1YGjiwp4KR0OT9CMipQSeddMwLqbY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=g+7n+baCGOBRaBoPY9qopTNt0yX5d5AtL4Ot9IHshvdL1Ka1UeC90i4yRtHii8ncIFg1ZP8LP4dp5OX0D+z1ri8u17SQChgIXqbp6Lf/40SRgezzq/H1KRpkN0VUEZD/nEVGqGX2oPJ/3BoDEUPNaGfBip6sMepg6lYW6euxOXg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IAqcI6PF; 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="IAqcI6PF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C90B8C16AAE; Sat, 14 Feb 2026 16:05:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771085101; bh=lq0MpF8DWHhFZO1YGjiwp4KR0OT9CMipQSeddMwLqbY=; h=From:To:Cc:Subject:Date:Reply-To:From; b=IAqcI6PF5veycxgo3H/S5x7Q6LhyknEi7/aqJyPjaQra2IsAn/YQFFiER8DNnzpgW HeqUlG159x0Hc4JKQKWsHhqDgZfVMun0f+hb1mfzpgZnr7G5fBkFgeA+OyTN4Ng6Gn WaB/8TWM8qDtdsFrPPwstR2b781zVPIqnwEB9rsQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23147: btrfs: zlib: fix the folio leak on S390 hardware acceleration Date: Sat, 14 Feb 2026 17:04:13 +0100 Message-ID: <2026021413-CVE-2026-23147-1f6d@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2464; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=TeCfA2iW0rqkCCnNlK384/BEC1kyg2yY25KWYv9kKNE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkT5vzlWrrqKruVzudI2wkiEZF3/rxYxXzKxYBr7Z11z 3pdepLnd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEfk9iWHCBV+Dfso0z/h74 WbnLqNSIO3DyzHCG+XUNMe+zmHmcTk1+o72Q63xtwp0HZwE= 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: btrfs: zlib: fix the folio leak on S390 hardware acceleration [BUG] After commit aa60fe12b4f4 ("btrfs: zlib: refactor S390x HW acceleration buffer preparation"), we no longer release the folio of the page cache of folio returned by btrfs_compress_filemap_get_folio() for S390 hardware acceleration path. [CAUSE] Before that commit, we call kumap_local() and folio_put() after handling each folio. Although the timing is not ideal (it release previous folio at the beginning of the loop, and rely on some extra cleanup out of the loop), it at least handles the folio release correctly. Meanwhile the refactored code is easier to read, it lacks the call to release the filemap folio. [FIX] Add the missing folio_put() for copy_data_into_buffer(). The Linux kernel CVE team has assigned CVE-2026-23147 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit aa60fe12b4f49f49fc73e5023f8675e2df1f7805 and fixed in 6.18.9 with commit e80617a5e1c246da2f112a1a072cdd535046adfe Issue introduced in 6.15 with commit aa60fe12b4f49f49fc73e5023f8675e2df1f7805 and fixed in 6.19 with commit 0d0f1314e8f86f5205f71f9e31e272a1d008e40b 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-2026-23147 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/btrfs/zlib.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/e80617a5e1c246da2f112a1a072cdd535046adfe https://git.kernel.org/stable/c/0d0f1314e8f86f5205f71f9e31e272a1d008e40b