Bug 2373318 (CVE-2025-38068) - CVE-2025-38068 kernel: crypto: lzo - Fix compression buffer overrun
Summary: CVE-2025-38068 kernel: crypto: lzo - Fix compression buffer overrun
Keywords:
Status: NEW
Alias: CVE-2025-38068
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-18 10:01 UTC by OSIDB Bzimport
Modified: 2025-06-21 06:02 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-06-18 10:01:15 UTC
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.

Comment 1 Avinash Hanwate 2025-06-21 05:54:38 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025061837-CVE-2025-38068-02a8@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.