CVE-2026-139063
publishedremoteproc: elf_loader: Bound the section header table
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux400e64df6b237eb36b127efd72000a2794f9eec1 to < 1b77078cf84b567bf7319089a8875550222faba8 · 400e64df6b237eb36b127efd72000a2794f9eec1 to < 987a8f1128d794cc9f3368b722ab02cc76a95ebf · 400e64df6b237eb36b127efd72000a2794f9eec1 to < 5f175efca59b00f6cca7a3e3907c47d8ec19ddcc · 400e64df6b237eb36b127efd72000a2794f9eec1 to < 526ed2bd0e3cff628dd8e043032897ccd9ea3d0f · 400e64df6b237eb36b127efd72000a2794f9eec1 to < a0ecbf24755257f11c961e7b64140d5e4f9a257c · 400e64df6b237eb36b127efd72000a2794f9eec1 to < 078cbede4db36844b9ac256fdc1f4b1c4c668546 · 400e64df6b237eb36b127efd72000a2794f9eec1 to < fe4a7f89cbf2474d0fecc35a820757b04cfa0c1e · 400e64df6b237eb36b127efd72000a2794f9eec1 to < b32177ead5f8925aa66ceed2bd533a85196f4f0c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.4 (affected) · 0 to < 3.4 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 400e64df6b237eb36b127efd72000a2794f9eec1 to < 1b77078cf84b567bf7319089a8875550222faba8 (affected · git)400e64df6b237eb36b127efd72000a2794f9eec1 to < 987a8f1128d794cc9f3368b722ab02cc76a95ebf (affected · git)400e64df6b237eb36b127efd72000a2794f9eec1 to < 5f175efca59b00f6cca7a3e3907c47d8ec19ddcc (affected · git)400e64df6b237eb36b127efd72000a2794f9eec1 to < 526ed2bd0e3cff628dd8e043032897ccd9ea3d0f (affected · git)400e64df6b237eb36b127efd72000a2794f9eec1 to < a0ecbf24755257f11c961e7b64140d5e4f9a257c (affected · git)400e64df6b237eb36b127efd72000a2794f9eec1 to < 078cbede4db36844b9ac256fdc1f4b1c4c668546 (affected · git)400e64df6b237eb36b127efd72000a2794f9eec1 to < fe4a7f89cbf2474d0fecc35a820757b04cfa0c1e (affected · git)400e64df6b237eb36b127efd72000a2794f9eec1 to < b32177ead5f8925aa66ceed2bd533a85196f4f0c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.4 (affected)0 to < 3.4 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/078cbede4db36844b9ac256fdc1f4b1c4c668546
- https://git.kernel.org/stable/c/1b77078cf84b567bf7319089a8875550222faba8
- https://git.kernel.org/stable/c/526ed2bd0e3cff628dd8e043032897ccd9ea3d0f
- https://git.kernel.org/stable/c/5f175efca59b00f6cca7a3e3907c47d8ec19ddcc
- https://git.kernel.org/stable/c/987a8f1128d794cc9f3368b722ab02cc76a95ebf
- https://git.kernel.org/stable/c/a0ecbf24755257f11c961e7b64140d5e4f9a257c
- https://git.kernel.org/stable/c/b32177ead5f8925aa66ceed2bd533a85196f4f0c
- https://git.kernel.org/stable/c/fe4a7f89cbf2474d0fecc35a820757b04cfa0c1e
Provider assertions
1Linux · cna
remoteproc: elf_loader: Bound the section header table
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- df3907f6a5dbc2527ebefc37d6f95ebd01dec23818614a7bc3d30c6c318ba9cb
- Ingested
- 30 Nov 2026, 13:36:40 UTC
- Source record
- Official CVE record