CVE-2026-23147

btrfs: zlib: fix the folio leak on S390 hardware acceleration

State
Published
Severity
Not scored
Published
Feb 14, 2026
Updated
May 11, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

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().

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • aa60fe12b4f49f49fc73e5023f8675e2df1f7805 to before e80617a5e1c246da2f112a1a072cdd535046adfeAffected
  • aa60fe12b4f49f49fc73e5023f8675e2df1f7805 to before 0d0f1314e8f86f5205f71f9e31e272a1d008e40bAffected
LinuxLinux
  • 6.15Affected
  • before 6.15Not affected
  • 6.18.9 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.