- Accueil
- Vulnérabilités
- CVE-2026-142861
CVE-2026-142861
memory: brcmstb_dpfe: Fix out-of-bounds access due to DCPU offset
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | 4.16 |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
- https://git.kernel.org/stable/c/c02029d73f829f63cbaf0ec7bfe08a7499239cd2
- https://git.kernel.org/stable/c/d3e97147bc5ab8e15720565f718b37783a2ce299
- https://git.kernel.org/stable/c/699fd680cd30a48915846b1ae9763ccef9d583ea
- https://git.kernel.org/stable/c/6c1832ac2d8f143349e1b2597d3f43b9f7a2fc30
- https://git.kernel.org/stable/c/1e5d89f835d55e59e2fcfb7e2407d74bc3983695
- https://git.kernel.org/stable/c/5aca21d188570b8b86356a562c7a668a51b1d088
- https://git.kernel.org/stable/c/d0e60dcada94dec8aa390974d47e39b3a14677a7
- https://git.kernel.org/stable/c/7c0b82d087908765c6c7daeb06943e21b78d523e
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:H(CVSS 3.1, CNA:416baaa9-dc9f-4396-8d5f-8c081fb06d67)