CVE-2026-142861

Source
https://cve.org/CVERecord?id=CVE-2026-142861
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142861.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-142861
Downstream
Published
2026-12-03T03:21:03Z
Modified
2026-12-03T05:01:02Z
Summary
memory: brcmstb_dpfe: Fix out-of-bounds access due to DCPU offset
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142861.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
fee5f1ef6cf76f87d9799596d06979c9e6589f2b
Fixed
c02029d73f829f63cbaf0ec7bfe08a7499239cd2
Fixed
d3e97147bc5ab8e15720565f718b37783a2ce299
Fixed
699fd680cd30a48915846b1ae9763ccef9d583ea
Fixed
6c1832ac2d8f143349e1b2597d3f43b9f7a2fc30
Fixed
1e5d89f835d55e59e2fcfb7e2407d74bc3983695
Show 3 more events Show fewer events
Fixed
5aca21d188570b8b86356a562c7a668a51b1d088
Fixed
d0e60dcada94dec8aa390974d47e39b3a14677a7
Fixed
7c0b82d087908765c6c7daeb06943e21b78d523e

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142861.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.16.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142861.json"