{"id":"CVE-2026-139747","state":"PUBLISHED","title":"remoteproc: imx_rproc: Allow mappings ending at region boundary","description":"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.","publishedAt":"2026-11-30T13:37:36.044Z","updatedAt":"2026-11-30T13:37:36.044Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","status":"affected","lessThan":"51971df532ffe12c25e9244db51aef0da1bf1cb2","versionType":"git"},{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","status":"affected","lessThan":"2cf5d80f71038ba32e0e882516994a69dc516a7c","versionType":"git"},{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","status":"affected","lessThan":"1e2c87fc41cb3ccf3e6aebf8e9092cd9c717c33b","versionType":"git"},{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","status":"affected","lessThan":"070e864a0bd349664307b88f6b4416689070e4ea","versionType":"git"},{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","status":"affected","lessThan":"749eed0c7178c8d53ce4c9acdda4a545721c494b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/remoteproc/imx_rproc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.14","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/remoteproc/imx_rproc.c"]}],"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"],"weaknesses":[],"ingestedAt":"2026-11-30T13:56:04.579Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139747.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139747","state":"PUBLISHED","datePublished":"2026-11-30T13:37:36.044Z","dateUpdated":"2026-11-30T13:37:36.044Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.950Z"},"containers":{"cna":{"title":"remoteproc: imx_rproc: Allow mappings ending at region boundary","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","status":"affected","lessThan":"51971df532ffe12c25e9244db51aef0da1bf1cb2","versionType":"git"},{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","status":"affected","lessThan":"2cf5d80f71038ba32e0e882516994a69dc516a7c","versionType":"git"},{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","status":"affected","lessThan":"1e2c87fc41cb3ccf3e6aebf8e9092cd9c717c33b","versionType":"git"},{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","status":"affected","lessThan":"070e864a0bd349664307b88f6b4416689070e4ea","versionType":"git"},{"version":"a0ff4aa6f010801b2a61c203c6e09d01b110fddf","status":"affected","lessThan":"749eed0c7178c8d53ce4c9acdda4a545721c494b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/remoteproc/imx_rproc.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.14","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.14","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/remoteproc/imx_rproc.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/51971df532ffe12c25e9244db51aef0da1bf1cb2"},{"url":"https://git.kernel.org/stable/c/2cf5d80f71038ba32e0e882516994a69dc516a7c"},{"url":"https://git.kernel.org/stable/c/1e2c87fc41cb3ccf3e6aebf8e9092cd9c717c33b"},{"url":"https://git.kernel.org/stable/c/070e864a0bd349664307b88f6b4416689070e4ea"},{"url":"https://git.kernel.org/stable/c/749eed0c7178c8d53ce4c9acdda4a545721c494b"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:37:36.044Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}