memory: brcmstb_dpfe: Fix out-of-bounds access due to DCPU offset

Summary

CVECVE-2026-142861
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-03 04:18:23 UTC
Updated2026-12-03 04:18:23 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected fee5f1ef6cf76f87d9799596d06979c9e6589f2b c02029d73f829f63cbaf0ec7bfe08a7499239cd2 git Not specified
CNA Linux Linux affected fee5f1ef6cf76f87d9799596d06979c9e6589f2b d3e97147bc5ab8e15720565f718b37783a2ce299 git Not specified
CNA Linux Linux affected fee5f1ef6cf76f87d9799596d06979c9e6589f2b 699fd680cd30a48915846b1ae9763ccef9d583ea git Not specified
CNA Linux Linux affected fee5f1ef6cf76f87d9799596d06979c9e6589f2b 6c1832ac2d8f143349e1b2597d3f43b9f7a2fc30 git Not specified
CNA Linux Linux affected fee5f1ef6cf76f87d9799596d06979c9e6589f2b 1e5d89f835d55e59e2fcfb7e2407d74bc3983695 git Not specified
CNA Linux Linux affected fee5f1ef6cf76f87d9799596d06979c9e6589f2b 5aca21d188570b8b86356a562c7a668a51b1d088 git Not specified
CNA Linux Linux affected fee5f1ef6cf76f87d9799596d06979c9e6589f2b d0e60dcada94dec8aa390974d47e39b3a14677a7 git Not specified
CNA Linux Linux affected fee5f1ef6cf76f87d9799596d06979c9e6589f2b 7c0b82d087908765c6c7daeb06943e21b78d523e git Not specified
CNA Linux Linux affected 4.16 Not specified
CNA Linux Linux unaffected 4.16 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.117 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.63 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.4 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/d3e97147bc5ab8e15720565f718b37783a2ce299 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7c0b82d087908765c6c7daeb06943e21b78d523e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5aca21d188570b8b86356a562c7a668a51b1d088 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c02029d73f829f63cbaf0ec7bfe08a7499239cd2 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1e5d89f835d55e59e2fcfb7e2407d74bc3983695 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/6c1832ac2d8f143349e1b2597d3f43b9f7a2fc30 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d0e60dcada94dec8aa390974d47e39b3a14677a7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/699fd680cd30a48915846b1ae9763ccef9d583ea 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report