lib: validate in-memory LZ4 chunk length

Summary

CVECVE-2026-139392
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:19:07 UTC
Updated2026-11-30 14:19:07 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 5403bbc282a39f9d5a72a166269f66a161acf76c git Not specified
CNA Linux Linux affected e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 bf5f9969b5d8b1bcfd617601a07fe387a6fe37bc git Not specified
CNA Linux Linux affected e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 53a935854b07f047f6940bff4f23aee4e986db29 git Not specified
CNA Linux Linux affected e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 84018d80b72c9c4c65879999dcb48db03e3f0b1d git Not specified
CNA Linux Linux affected e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 4c2a385f76dae12584fb9676a13cc9d8e112649a git Not specified
CNA Linux Linux affected e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 a850a995549c5de30a98e018120358389180f658 git Not specified
CNA Linux Linux affected e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 52ff0793f4e73fe7b197d8e5ccbabcf23e9bca34 git Not specified
CNA Linux Linux affected e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936 138a84817df01eda67bb23032ab49c23fe2ffc16 git Not specified
CNA Linux Linux affected 3.11 Not specified
CNA Linux Linux unaffected 3.11 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/52ff0793f4e73fe7b197d8e5ccbabcf23e9bca34 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/bf5f9969b5d8b1bcfd617601a07fe387a6fe37bc 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/53a935854b07f047f6940bff4f23aee4e986db29 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/4c2a385f76dae12584fb9676a13cc9d8e112649a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/138a84817df01eda67bb23032ab49c23fe2ffc16 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a850a995549c5de30a98e018120358389180f658 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5403bbc282a39f9d5a72a166269f66a161acf76c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/84018d80b72c9c4c65879999dcb48db03e3f0b1d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report