{"id":"CVE-2026-139392","aliases":["CVE-2026-139392"],"related":[],"kind":"vulnerability","state":"published","title":"lib: validate in-memory LZ4 chunk length","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nlib: validate in-memory LZ4 chunk length\n\nWe found and validated an issue in lib/decompress_unlz4.c.  The bug is\nreachable by a root user through kexec_file_load() with a crafted external\ninitrd.\n\nunlz4() reads the compressed chunk length from an in-memory initrd and\npasses it to LZ4_decompress_safe().  It only checks the chunk length\nagainst the allocation size when the input is filled by a callback.\n\nReject an in-memory chunk that extends past the remaining input before\ncalling the LZ4 decoder.  This prevents malformed initrds from making\nthe decoder read past the mapped archive.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nlib: validate in-memory LZ4 chunk length\n\nWe found and validated an issue in lib/decompress_unlz4.c.  The bug is\nreachable by a root user through kexec_file_load() with a crafted external\ninitrd.\n\nunlz4() reads the compressed chunk length from an in-memory initrd and\npasses it to LZ4_decompress_safe().  It only checks the chunk length\nagainst the allocation size when the input is filled by a callback.\n\nReject an in-memory chunk that extends past the remaining input before\ncalling the LZ4 decoder.  This prevents malformed initrds from making\nthe decoder read past the mapped archive.","source":"cvelist"}],"published":"2026-11-30T13:34:19.910Z","modified":"2026-11-30T14:19:07.243Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936","fixed":"5403bbc282a39f9d5a72a166269f66a161acf76c","status":"affected"},{"type":"git","introduced":"e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936","fixed":"bf5f9969b5d8b1bcfd617601a07fe387a6fe37bc","status":"affected"},{"type":"git","introduced":"e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936","fixed":"53a935854b07f047f6940bff4f23aee4e986db29","status":"affected"},{"type":"git","introduced":"e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936","fixed":"84018d80b72c9c4c65879999dcb48db03e3f0b1d","status":"affected"},{"type":"git","introduced":"e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936","fixed":"4c2a385f76dae12584fb9676a13cc9d8e112649a","status":"affected"},{"type":"git","introduced":"e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936","fixed":"a850a995549c5de30a98e018120358389180f658","status":"affected"},{"type":"git","introduced":"e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936","fixed":"52ff0793f4e73fe7b197d8e5ccbabcf23e9bca34","status":"affected"},{"type":"git","introduced":"e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936","fixed":"138a84817df01eda67bb23032ab49c23fe2ffc16","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.11","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/5403bbc282a39f9d5a72a166269f66a161acf76c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bf5f9969b5d8b1bcfd617601a07fe387a6fe37bc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/53a935854b07f047f6940bff4f23aee4e986db29","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/84018d80b72c9c4c65879999dcb48db03e3f0b1d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4c2a385f76dae12584fb9676a13cc9d8e112649a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a850a995549c5de30a98e018120358389180f658","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/52ff0793f4e73fe7b197d8e5ccbabcf23e9bca34","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/138a84817df01eda67bb23032ab49c23fe2ffc16","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139392","url":"https://www.cve.org/CVERecord?id=CVE-2026-139392","licence":"CVE Terms of Use","modified":"2026-11-30T13:34:19.910Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139392","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139392","licence":"Public domain","modified":"2026-11-30T14:19:07.243Z"}],"updatedAt":"2026-11-30T14:33:20.785Z","epss":{"score":0.00211,"percentile":0.12065,"date":"2026-12-01T12:00:22.000Z"}}