VYPR
Unrated severityNVD Advisory· Published Nov 30, 2026

CVE-2026-139392

CVE-2026-139392

Description

In the Linux kernel, the following vulnerability has been resolved:

lib: validate in-memory LZ4 chunk length

We found and validated an issue in lib/decompress_unlz4.c. The bug is reachable by a root user through kexec_file_load() with a crafted external initrd.

unlz4() reads the compressed chunk length from an in-memory initrd and passes it to LZ4_decompress_safe(). It only checks the chunk length against the allocation size when the input is filled by a callback.

Reject an in-memory chunk that extends past the remaining input before calling the LZ4 decoder. This prevents malformed initrds from making the decoder read past the mapped archive.

Affected products

1

Patches

Vulnerability mechanics

References

8

News mentions

0

No linked articles in our index yet.