Bug 2589135 (CVE-2026-142861) - CVE-2026-142861 kernel: kernel: Out-of-bounds memory access via missing offset bounds check in brcmstb_dpfe driver
Summary: CVE-2026-142861 kernel: kernel: Out-of-bounds memory access via missing offse...
Keywords:
Status: NEW
Alias: CVE-2026-142861
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-03 04:56 UTC by OSIDB Bzimport
Modified: 2026-12-03 06:48 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-03 04:56:25 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.