{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "fee5f1ef6cf76f87d9799596d06979c9e6589f2b"
            },
            {
              "fixed": "c02029d73f829f63cbaf0ec7bfe08a7499239cd2"
            },
            {
              "fixed": "d3e97147bc5ab8e15720565f718b37783a2ce299"
            },
            {
              "fixed": "699fd680cd30a48915846b1ae9763ccef9d583ea"
            },
            {
              "fixed": "6c1832ac2d8f143349e1b2597d3f43b9f7a2fc30"
            },
            {
              "fixed": "1e5d89f835d55e59e2fcfb7e2407d74bc3983695"
            },
            {
              "fixed": "5aca21d188570b8b86356a562c7a668a51b1d088"
            },
            {
              "fixed": "d0e60dcada94dec8aa390974d47e39b3a14677a7"
            },
            {
              "fixed": "7c0b82d087908765c6c7daeb06943e21b78d523e"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "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"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142861.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmemory: brcmstb_dpfe: Fix out-of-bounds access due to DCPU offset\n\nOn API v1/v2 boards, the DCPU coprocessor can steer kernel readl_relaxed()\nand writel_relaxed() to any address within 256 MB of the ioremapped DPFE\ndmem or regs base. The DCPU firmware provides a 28-bit offset which the\ndriver adds to the ioremap base without any bounds checking in\nget_msg_ptr().\n\nThis allows a compromised DCPU firmware to trick the host kernel into\nreading or writing arbitrary memory-mapped I/O registers in vmalloc\nspace. When combined with a root-writable sysfs file like dpfe_refresh,\nit provides an arbitrary MMIO write primitive. Similarly, world-readable\nsysfs files can be used to leak other devices' register contents.\n\nFix this by recording the resource_size() of the dmem and regs ioremaps\nat probe time, and rejecting any offset that, along with the largest\nfield accessed (DRAM_VENDOR_ERROR + sizeof(u32)), exceeds the recorded\nmapping size.",
  "id": "CVE-2026-142861",
  "modified": "2026-12-03T04:45:41.913010470Z",
  "published": "2026-12-03T03:21:03.447Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1e5d89f835d55e59e2fcfb7e2407d74bc3983695"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5aca21d188570b8b86356a562c7a668a51b1d088"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/699fd680cd30a48915846b1ae9763ccef9d583ea"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6c1832ac2d8f143349e1b2597d3f43b9f7a2fc30"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7c0b82d087908765c6c7daeb06943e21b78d523e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c02029d73f829f63cbaf0ec7bfe08a7499239cd2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d0e60dcada94dec8aa390974d47e39b3a14677a7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d3e97147bc5ab8e15720565f718b37783a2ce299"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142861.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142861"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "memory: brcmstb_dpfe: Fix out-of-bounds access due to DCPU offset"
}