What’s Vulnerable › Vulnerabilities
CVE-2026-23147: btrfs: zlib: fix the folio leak on S390 hardware acceleration
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-02-14 · updated 2026-06-17
- Weakness: CWE-401
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().
Affected products
- Linux kernel: from 6.15 before 6.18.9; 6.19-rc1, 6.19-rc2, 6.19-rc3, 6.19-rc4, 6.19-rc5, 6.19-rc6 (+1) — fixed in 6.18.9
How to fix
Upgrade to a fixed version: Linux kernel 6.18.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0d0f1314e8f86f5205f71f9e31e272a1d008e40b
- https://git.kernel.org/stable/c/e80617a5e1c246da2f112a1a072cdd535046adfe
Get alerted when CVE-2026-23147 or the next vulnerability affects your stack