CVE-2026-139747

remoteproc: imx_rproc: Allow mappings ending at region boundary

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

remoteproc: imx_rproc: Allow mappings ending at region boundary

The address range checks in imx_rproc_da_to_sys() and
imx_rproc_da_to_va() use a strict comparison for the exclusive end
address of the requested range.

As a result, a valid request that ends exactly at the end of an address
translation or mapped memory region is rejected. For a region
[start, start + size), a request [addr, addr + len) is contained when:

addr >= start && addr + len <= start + size

This occurs when a loadable ELF segment fills an entire mapped memory
region. This can be produced by a linker script that extends the
resource table section to the end of its designated region:

.resource_table :
{
. = ALIGN(8);
KEEP(*(.resource_table)) /* Resource table */
. = ALIGN(8);
. = ORIGIN(m_rsc_tbl) + LENGTH(m_rsc_tbl);
} > m_rsc_tbl =0x00

This produces a ELF program header like:

LOAD 0x010000 0xa4220000 0xa4220000 0x01000 0x01000 R 0x1000

In this case, the segment size matches the mapped region size exactly,
causing the address translation to fail with:

bad phdr da 0xa4220000 mem 0x1000

Rework the upper-bound checks to allow ranges ending exactly at the region
boundary while guarding against integer overflow.

Analysis

AI-generated

Technical impact

The vulnerability resides in the Linux kernel’s remoteproc imx_rproc driver, where the upper‑bound check for address translation uses a strict inequality. Requests whose length exactly matches the end of a mapped region are rejected, causing loadable ELF segments that precisely fill a region to fail. The resulting kernel message "bad phdr da" can trigger a crash or disable the corresponding device firmware, leading to a denial‑of‑service condition. This flaw is a bounds‑checking error that also lacks proper integer‑overflow protection.

Affected Systems

All Linux kernel builds that contain the imx_rproc subsystem and have not been updated to the fix are affected. The specific product names are limited to the Linux kernel; no particular vendor version list is provided.

Risk and Exploitability

Based on the description, the likely attack vector is a local or remote attacker who can supply a crafted firmware image that maps an ELF segment precisely to a region boundary, triggering the failed mapping. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, but this flaw permits the crafted firmware to cause a denial of service. The lack of an integer‑overflow guard and the strict boundary logic increase the likelihood of exploitation on systems where ELF segments are loaded at region boundaries. The CVSS base score is not supplied, but the risk of a critical DoS on embedded platforms is considered significant, especially if the device operates in a safety‑critical role.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that corrects the upper‑bound check in imx_rproc and adds integer‑overflow protection.
  • If an update is unavailable, modify the ELF loader or linker script so that the program segment ends before the region boundary, leaving a small slack space.
  • Monitor kernel logs for "bad phdr da" messages and consider disabling remoteproc if the functionality is not required.

Generated by OpenCVE AI on December 1, 2026 at 02:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-190
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: remoteproc: imx_rproc: Allow mappings ending at region boundary The address range checks in imx_rproc_da_to_sys() and imx_rproc_da_to_va() use a strict comparison for the exclusive end address of the requested range. As a result, a valid request that ends exactly at the end of an address translation or mapped memory region is rejected. For a region [start, start + size), a request [addr, addr + len) is contained when: addr >= start && addr + len <= start + size This occurs when a loadable ELF segment fills an entire mapped memory region. This can be produced by a linker script that extends the resource table section to the end of its designated region: .resource_table : { . = ALIGN(8); KEEP(*(.resource_table)) /* Resource table */ . = ALIGN(8); . = ORIGIN(m_rsc_tbl) + LENGTH(m_rsc_tbl); } > m_rsc_tbl =0x00 This produces a ELF program header like: LOAD 0x010000 0xa4220000 0xa4220000 0x01000 0x01000 R 0x1000 In this case, the segment size matches the mapped region size exactly, causing the address translation to fail with: bad phdr da 0xa4220000 mem 0x1000 Rework the upper-bound checks to allow ranges ending exactly at the region boundary while guarding against integer overflow.
Title remoteproc: imx_rproc: Allow mappings ending at region boundary
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:37 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:20 PM
Modified
Nov 30, 2026, 2:20 PM