CVE-2026-139063

Source
https://cve.org/CVERecord?id=CVE-2026-139063
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139063.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139063
Downstream
Published
2026-11-30T13:27:31Z
Modified
2026-11-30T15:02:11Z
Summary
remoteproc: elf_loader: Bound the section header table
Details

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

remoteproc: elf_loader: Bound the section header table

The rproc_elf_sanity_check() only checks the image is big enough to hold one section header. But find_table() walks e_shnum of them, and first dereferences the header at e_shstrndx to locate the section name table. Both fields are u16 and both come from the image, so an e_shstrndx of 65535 reads about 4 MB past the buffer.

The commit 9f9967fed9d0 ("soc: qcom: mdt_loader: Ensure we don't read past the ELF header") added the same check to the MDT loader, and says the header "is sanitized beforehand" under remoteproc. That is what this patch makes true.

Check e_shoff against the image size first, so the two bounds can use size_add() without an e_shoff above SIZE_MAX wrapping on 32-bit. The bounds are separate because e_shnum may be zero while find_table() still reads the e_shstrndx header.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139063.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
400e64df6b237eb36b127efd72000a2794f9eec1
Fixed
1b77078cf84b567bf7319089a8875550222faba8
Fixed
987a8f1128d794cc9f3368b722ab02cc76a95ebf
Fixed
5f175efca59b00f6cca7a3e3907c47d8ec19ddcc
Fixed
526ed2bd0e3cff628dd8e043032897ccd9ea3d0f
Fixed
a0ecbf24755257f11c961e7b64140d5e4f9a257c
Fixed
078cbede4db36844b9ac256fdc1f4b1c4c668546
Fixed
fe4a7f89cbf2474d0fecc35a820757b04cfa0c1e
Fixed
b32177ead5f8925aa66ceed2bd533a85196f4f0c

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.4.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.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

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