CVE-2026-139392
Not scored
lib: validate in-memory LZ4 chunk length
- Severity
- Not scored
- Exploit likelihood
- 0.21% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 before 5403bbc282a39f9d5a72a166269f66a161acf76c, from e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 before bf5f9969b5d8b1bcfd617601a07fe387a6fe37bc, from e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 before 53a935854b07f047f6940bff4f23aee4e986db29, from e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 before 84018d80b72c9c4c65879999dcb48db03e3f0b1d, from e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 before 4c2a385f76dae12584fb9676a13cc9d8e112649a, from e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 before a850a995549c5de30a98e018120358389180f658, from e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 before 52ff0793f4e73fe7b197d8e5ccbabcf23e9bca34, from e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 before 138a84817df01eda67bb23032ab49c23fe2ffc16 and 1 more Not affected: before 3.11, from 5.10.275 up to 5.10.*, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.119 up to 6.12.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139392 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-139392 changed 2026-11-30 | Public domain |