All reports
Medium

kernel: Linux kernel: LZO compression buffer overrun due to insufficient output buffer checks

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-38068

Probability of exploitation in the next 30 days: 0.21%

FIRST EPSS · 2026-11-21

Description

In the Linux kernel, the following vulnerability has been resolved: crypto: lzo - Fix compression buffer overrun Unlike the decompression code, the compression code in LZO never checked for output overruns. It instead assumes that the caller always provides enough buffer space, disregarding the buffer length provided by the caller. Add a safe compression interface that checks for the end of buffer before each write. Use the safe interface in crypto/lzo.

A flaw was found in the Linux kernel's LZO compression module. The compression code failed to check for output buffer overruns, assuming the caller provided adequate buffer space. A local attacker with low privileges could exploit this vulnerability to trigger a buffer overrun, potentially leading to a denial of service (DoS) or other system instability.