CVE-2026-139392

Source
https://cve.org/CVERecord?id=CVE-2026-139392
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139392.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139392
Downstream
Published
2026-11-30T13:34:19Z
Modified
2026-11-30T15:02:28Z
Summary
lib: validate in-memory LZ4 chunk length
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139392.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e76e1fdfa8f8dc1ea6699923cf5d92b5bee9c936
Fixed
5403bbc282a39f9d5a72a166269f66a161acf76c
Fixed
bf5f9969b5d8b1bcfd617601a07fe387a6fe37bc
Fixed
53a935854b07f047f6940bff4f23aee4e986db29
Fixed
84018d80b72c9c4c65879999dcb48db03e3f0b1d
Fixed
4c2a385f76dae12584fb9676a13cc9d8e112649a
Fixed
a850a995549c5de30a98e018120358389180f658
Fixed
52ff0793f4e73fe7b197d8e5ccbabcf23e9bca34
Fixed
138a84817df01eda67bb23032ab49c23fe2ffc16

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139392.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.11.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139392.json"