Bug 2586612 (CVE-2026-139063) - CVE-2026-139063 kernel: kernel: remoteproc: Denial of Service via out-of-bounds read in ELF loader
Summary: CVE-2026-139063 kernel: kernel: remoteproc: Denial of Service via out-of-boun...
Keywords:
Status: NEW
Alias: CVE-2026-139063
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:29 UTC by OSIDB Bzimport
Modified: 2026-12-01 01:21 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:29:06 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.