# CVE-2026-142861: memory: brcmstb\_dpfe: Fix out-of-bounds access due to DCPU offset

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:21:03.447Z
- **Modified:** 2026-12-03T04:18:23.507Z

## Who should check

- Anyone running Linux \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< c02029d73f829f63cbaf0ec7bfe08a7499239cd2; \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< d3e97147bc5ab8e15720565f718b37783a2ce299; \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< 699fd680cd30a48915846b1ae9763ccef9d583ea; \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< 6c1832ac2d8f143349e1b2597d3f43b9f7a2fc30; \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< 1e5d89f835d55e59e2fcfb7e2407d74bc3983695; \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< 5aca21d188570b8b86356a562c7a668a51b1d088; \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< d0e60dcada94dec8aa390974d47e39b3a14677a7; \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< 7c0b82d087908765c6c7daeb06943e21b78d523e
- Anyone running Linux 4.16

## 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.

## Affected and fixed versions

- Linux: \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< c02029d73f829f63cbaf0ec7bfe08a7499239cd2; \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< d3e97147bc5ab8e15720565f718b37783a2ce299; \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< 699fd680cd30a48915846b1ae9763ccef9d583ea; \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< 6c1832ac2d8f143349e1b2597d3f43b9f7a2fc30; \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< 1e5d89f835d55e59e2fcfb7e2407d74bc3983695; \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< 5aca21d188570b8b86356a562c7a668a51b1d088; \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< d0e60dcada94dec8aa390974d47e39b3a14677a7; \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< 7c0b82d087908765c6c7daeb06943e21b78d523e (cvelist)
- Linux: 4.16 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 7c0b82d087908765c6c7daeb06943e21b78d523e or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142861. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142861.md
Affected: Linux >= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, < c02029d73f829f63cbaf0ec7bfe08a7499239cd2; >= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, < d3e97147bc5ab8e15720565f718b37783a2ce299; >= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, < 699fd680cd30a48915846b1ae9763ccef9d583ea; >= fee5f1ef6cf76f87d979959…
Fixed in: Linux 699fd680cd30a48915846b1ae9763ccef9d583ea, Linux 6c1832ac2d8f143349e1b2597d3f43b9f7a2fc30, Linux 1e5d89f835d55e59e2fcfb7e2407d74bc3983695, Linux 5aca21d188570b8b86356a562c7a668a51b1d088, Linux 7c0b82d087908765c6c7daeb06943e21b78d523e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142861 being exploited?

There is no confirmed exploitation: CVE-2026-142861 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142861?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-142861?

Linux \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< c02029d73f829f63cbaf0ec7bfe08a7499239cd2; \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< d3e97147bc5ab8e15720565f718b37783a2ce299; \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< 699fd680cd30a48915846b1ae9763ccef9d583ea; \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< 6c1832ac2d8f143349e1b2597d3f43b9f7a2fc30; \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< 1e5d89f835d55e59e2fcfb7e2407d74bc3983695; \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< 5aca21d188570b8b86356a562c7a668a51b1d088; \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< d0e60dcada94dec8aa390974d47e39b3a14677a7; \>= fee5f1ef6cf76f87d9799596d06979c9e6589f2b, \< 7c0b82d087908765c6c7daeb06943e21b78d523e; Linux 4.16.

### Is there a fix for CVE-2026-142861?

Yes. Fixed in Linux 699fd680cd30a48915846b1ae9763ccef9d583ea, Linux 6c1832ac2d8f143349e1b2597d3f43b9f7a2fc30, Linux 1e5d89f835d55e59e2fcfb7e2407d74bc3983695, Linux 5aca21d188570b8b86356a562c7a668a51b1d088, Linux 7c0b82d087908765c6c7daeb06943e21b78d523e. Upgrade Linux to 7c0b82d087908765c6c7daeb06943e21b78d523e or later.

### How do I check if I'm affected by CVE-2026-142861?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/c02029d73f829f63cbaf0ec7bfe08a7499239cd2>
- other: <https://git.kernel.org/stable/c/d3e97147bc5ab8e15720565f718b37783a2ce299>
- other: <https://git.kernel.org/stable/c/699fd680cd30a48915846b1ae9763ccef9d583ea>
- other: <https://git.kernel.org/stable/c/6c1832ac2d8f143349e1b2597d3f43b9f7a2fc30>
- other: <https://git.kernel.org/stable/c/1e5d89f835d55e59e2fcfb7e2407d74bc3983695>
- other: <https://git.kernel.org/stable/c/5aca21d188570b8b86356a562c7a668a51b1d088>
- other: <https://git.kernel.org/stable/c/d0e60dcada94dec8aa390974d47e39b3a14677a7>
- other: <https://git.kernel.org/stable/c/7c0b82d087908765c6c7daeb06943e21b78d523e>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142861>

HTML: <https://flawdb.com/CVE-2026-142861> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142861>
