{"id":"CVE-2026-139747","aliases":["CVE-2026-139747"],"related":[],"kind":"vulnerability","state":"published","title":"remoteproc: imx_rproc: Allow mappings ending at region boundary","summary":"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 >= start && addr + len <= 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    } > 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 >= start && addr + len <= 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    } > 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.","source":"cvelist"}],"published":"2026-11-30T13:37:36.044Z","modified":"2026-11-30T14:20:07.173Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","fixed":"51971df532ffe12c25e9244db51aef0da1bf1cb2","status":"affected"},{"type":"git","introduced":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","fixed":"2cf5d80f71038ba32e0e882516994a69dc516a7c","status":"affected"},{"type":"git","introduced":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","fixed":"1e2c87fc41cb3ccf3e6aebf8e9092cd9c717c33b","status":"affected"},{"type":"git","introduced":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","fixed":"070e864a0bd349664307b88f6b4416689070e4ea","status":"affected"},{"type":"git","introduced":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","fixed":"749eed0c7178c8d53ce4c9acdda4a545721c494b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.14","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/51971df532ffe12c25e9244db51aef0da1bf1cb2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2cf5d80f71038ba32e0e882516994a69dc516a7c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1e2c87fc41cb3ccf3e6aebf8e9092cd9c717c33b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/070e864a0bd349664307b88f6b4416689070e4ea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/749eed0c7178c8d53ce4c9acdda4a545721c494b","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139747","url":"https://www.cve.org/CVERecord?id=CVE-2026-139747","licence":"CVE Terms of Use","modified":"2026-11-30T13:37:36.044Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139747","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139747","licence":"Public domain","modified":"2026-11-30T14:20:07.173Z"}],"updatedAt":"2026-11-30T14:33:23.661Z","epss":{"score":0.00352,"percentile":0.3081,"date":"2026-12-01T12:00:22.000Z"}}