CVE-2022-49078
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-49078 is a vulnerability in the Linux kernel's LZ4 decompression implementation. The issue specifically affects the LZ4_decompress_safe_partial function, which can lead to a read out of bounds condition when handling partial decoding of compressed data. This vulnerability was discovered and reported through KASAN (Kernel Address Sanitizer) (NVD).

Technical details

The vulnerability occurs in the LZ4_decompress_safe_partial function within the Linux kernel's LZ4 implementation. When performing partial decoding, the function fails to properly handle end-of-file (EOF) conditions, specifically when either the output buffer is filled or when it cannot proceed with reading an offset for the following match. In extreme corner cases with corrupted compressed data, this can lead to a Use-After-Free (UAF) condition. The issue has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability can lead to read out of bounds and Use-After-Free conditions when processing corrupted compressed data, potentially allowing an attacker to cause system instability or potentially execute arbitrary code with kernel privileges (Kernel Commit).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel through a patch that properly handles EOF conditions in the LZ4_decompress_safe_partial function. The fix involves checking if the input pointer has reached a position where it cannot proceed with reading an offset for the following match (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-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • kernel-cross-headers
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-modules-core
NoYesJan 14, 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