CVE-2026-142861
Description
In the Linux kernel, the following vulnerability has been resolved:
memory: brcmstb_dpfe: Fix out-of-bounds access due to DCPU offset
On API v1/v2 boards, the DCPU coprocessor can steer kernel readl_relaxed() and writel_relaxed() to any address within 256 MB of the ioremapped DPFE dmem or regs base. The DCPU firmware provides a 28-bit offset which the driver adds to the ioremap base without any bounds checking in get_msg_ptr().
This allows a compromised DCPU firmware to trick the host kernel into reading or writing arbitrary memory-mapped I/O registers in vmalloc space. When combined with a root-writable sysfs file like dpfe_refresh, it provides an arbitrary MMIO write primitive. Similarly, world-readable sysfs files can be used to leak other devices' register contents.
Fix this by recording the resource_size() of the dmem and regs ioremaps at probe time, and rejecting any offset that, along with the largest field accessed (DRAM_VENDOR_ERROR + sizeof(u32)), exceeds the recorded mapping size.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
1Patches
Vulnerability mechanics
References
8- git.kernel.org/stable/c/1e5d89f835d55e59e2fcfb7e2407d74bc3983695nvd
- git.kernel.org/stable/c/5aca21d188570b8b86356a562c7a668a51b1d088nvd
- git.kernel.org/stable/c/699fd680cd30a48915846b1ae9763ccef9d583eanvd
- git.kernel.org/stable/c/6c1832ac2d8f143349e1b2597d3f43b9f7a2fc30nvd
- git.kernel.org/stable/c/7c0b82d087908765c6c7daeb06943e21b78d523envd
- git.kernel.org/stable/c/c02029d73f829f63cbaf0ec7bfe08a7499239cd2nvd
- git.kernel.org/stable/c/d0e60dcada94dec8aa390974d47e39b3a14677a7nvd
- git.kernel.org/stable/c/d3e97147bc5ab8e15720565f718b37783a2ce299nvd
News mentions
0No linked articles in our index yet.