# CVE-2026-139747: remoteproc: imx_rproc: Allow mappings ending at region boundary

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-11-30T13:37:36.044Z
- Modified: 2026-11-30T14:20:07.173Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from a0ff4aa6f010801b2a61c203c6e09d01b110fddf before 51971df532ffe12c25e9244db51aef0da1bf1cb2; from a0ff4aa6f010801b2a61c203c6e09d01b110fddf before 2cf5d80f71038ba32e0e882516994a69dc516a7c; from a0ff4aa6f010801b2a61c203c6e09d01b110fddf before 1e2c87fc41cb3ccf3e6aebf8e9092cd9c717c33b; from a0ff4aa6f010801b2a61c203c6e09d01b110fddf before 070e864a0bd349664307b88f6b4416689070e4ea; from a0ff4aa6f010801b2a61c203c6e09d01b110fddf before 749eed0c7178c8d53ce4c9acdda4a545721c494b; 4.14 (not affected: before 4.14; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/51971df532ffe12c25e9244db51aef0da1bf1cb2>
- <https://git.kernel.org/stable/c/2cf5d80f71038ba32e0e882516994a69dc516a7c>
- <https://git.kernel.org/stable/c/1e2c87fc41cb3ccf3e6aebf8e9092cd9c717c33b>
- <https://git.kernel.org/stable/c/070e864a0bd349664307b88f6b4416689070e4ea>
- <https://git.kernel.org/stable/c/749eed0c7178c8d53ce4c9acdda4a545721c494b>

## Sources

- CVE List: [CVE-2026-139747](https://www.cve.org/CVERecord?id=CVE-2026-139747), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139747](https://nvd.nist.gov/vuln/detail/CVE-2026-139747), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139747 · Whole record: https://cve.day/CVE-2026-139747.json · Rebuilt by cve.day 2026-11-30T14:33:23.661Z
