CVE-2024-57923
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-57923 affects the Linux kernel's BTRFS filesystem implementation, specifically related to zlib compression on the s390 hardware compression path. The vulnerability was discovered and disclosed on January 19, 2025. The issue occurs in the zlib compression functionality where improper handling of input data length in zlib_compress_folios() can lead to read-in bytes exceeding the input range (NVD).

Technical details

The vulnerability stems from incorrect calculation of strm.avail_in bytes in the s390 zlib hardware compression path. When the input data length passed to zlib_compress_folios() is arbitrary, setting strm.avail_in to a multiple of PAGE_SIZE can cause read-in bytes to exceed the input range. This triggers an assertion failure in btrfs_compress_folios() on debug kernels, specifically at fs/btrfs/compression.c:1041. The issue was introduced by commit fd1e75d0105d which made the compression path subpage compatible (Kernel Commit).

Impact

The vulnerability can trigger a kernel panic on systems running debug kernels with the affected code path. This results in a denial of service condition when the system encounters the specific compression scenario on s390 hardware (NVD).

Exploitability

The vulnerability requires access to a system using the BTRFS filesystem with zlib compression enabled on s390 hardware. It is triggered during normal filesystem operations when specific compression conditions are met (Debian Tracker).

Mitigation and workarounds

The issue has been fixed by correcting the strm.avail_in calculation for the S390 hardware acceleration path. The fix involves using min(bytes_left, in_buf_folios << PAGE_SHIFT) instead of always using (in_buf_folios << PAGE_SHIFT) for the calculation (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68454HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-aws-6.17
NoYesAug 13, 2026
CVE-2026-68452HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-modules-core
NoYesAug 13, 2026
CVE-2026-68451HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-modules-partner
NoYesAug 13, 2026
CVE-2026-68453HIGH7.1
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-extra
NoYesAug 13, 2026
CVE-2026-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-core
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management