{"id":"CVE-2026-139747","summary":"remoteproc: imx_rproc: Allow mappings ending at region boundary","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nremoteproc: imx_rproc: Allow mappings ending at region boundary\n\nThe address range checks in imx_rproc_da_to_sys() and\nimx_rproc_da_to_va() use a strict comparison for the exclusive end\naddress of the requested range.\n\nAs a result, a valid request that ends exactly at the end of an address\ntranslation or mapped memory region is rejected. For a region\n[start, start + size), a request [addr, addr + len) is contained when:\n\n    addr \u003e= start && addr + len \u003c= start + size\n\nThis occurs when a loadable ELF segment fills an entire mapped memory\nregion. This can be produced by a linker script that extends the\nresource table section to the end of its designated region:\n\n    .resource_table :\n    {\n      . = ALIGN(8);\n      KEEP(*(.resource_table)) /* Resource table */\n      . = ALIGN(8);\n      . = ORIGIN(m_rsc_tbl) + LENGTH(m_rsc_tbl);\n    } \u003e m_rsc_tbl =0x00\n\nThis produces a ELF program header like:\n\n    LOAD  0x010000 0xa4220000 0xa4220000 0x01000 0x01000 R   0x1000\n\nIn this case, the segment size matches the mapped region size exactly,\ncausing the address translation to fail with:\n\n    bad phdr da 0xa4220000 mem 0x1000\n\nRework the upper-bound checks to allow ranges ending exactly at the region\nboundary while guarding against integer overflow.","modified":"2026-11-30T15:02:30.734711076Z","published":"2026-11-30T13:37:36.044Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139747.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/070e864a0bd349664307b88f6b4416689070e4ea"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1e2c87fc41cb3ccf3e6aebf8e9092cd9c717c33b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2cf5d80f71038ba32e0e882516994a69dc516a7c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/51971df532ffe12c25e9244db51aef0da1bf1cb2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/749eed0c7178c8d53ce4c9acdda4a545721c494b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139747.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139747"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf"},{"fixed":"51971df532ffe12c25e9244db51aef0da1bf1cb2"},{"fixed":"2cf5d80f71038ba32e0e882516994a69dc516a7c"},{"fixed":"1e2c87fc41cb3ccf3e6aebf8e9092cd9c717c33b"},{"fixed":"070e864a0bd349664307b88f6b4416689070e4ea"},{"fixed":"749eed0c7178c8d53ce4c9acdda4a545721c494b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139747.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.14.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139747.json"}}],"schema_version":"1.9.2"}