{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-74340",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2026-74340"
  ],
  "published": "2026-08-15T06:04:33Z",
  "summary": "wifi: wcn36xx: fix OOB read from firmware count in PRINT_REG_INFO indication",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: wcn36xx: fix OOB read from firmware count in PRINT_REG_INFO indication\n\nThe firmware-controlled rsp->count field is used as the loop bound for\nindexing into the flexible rsp->regs[] array without validation against\nthe message length. A count exceeding the actual data causes out-of-\nbounds reads from the heap-allocated message buffer.\n\nAdd a check that count fits within the received message.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.178",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-74340"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/22b0b8572a64362531dd0ed499b75e16282aeb2b"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/3cf92b44c4fb88a5e8de8733a4494c0956606bca"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/0907c06dccae9e3c8d5a68eb9014beec73a36e79"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/64228dfc4247aca178c01e5a37af7d8dcc7a6089"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/23d210877968657bd07e1a517e0b516db20a1d80"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f03782f7f41f2afee5076a1ef08ced5649218771"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f987efff29a5fe45320ea5991c9d5cb98b676953"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/df2187acfca6c6cca372c5d35f42394d9c270b09"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-17T05:50:24Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 8.1,
      "cvss_v3_severity": "High",
      "scenario": "AV:A - The bug is reached when WCN3660/3680 firmware delivers a PRINT_REG_INFO_IND over the WLAN_CTRL rpmsg channel; crafted 802.11 traffic in radio range can cause the firmware to emit this malformed indication on Qualcomm Android phones and tablets using wcn36xx.\nAC:L - An adjacent attacker can repeatedly transmit WiFi frames during background scanning or association to elicit the firmware indication, then set count far above the short rpmsg payload; the driver loop performs deterministic out-of-bounds reads until a fault occurs.\nPR:N - Exploitation requires no local account or kernel privileges on the victim; only radio proximity to a device with the wcn36xx driver loaded and WiFi active, which is the default state on typical mobile deployments of this chipset.\nUI:N - No specific victim action beyond normal WiFi operation is required; phones continuously scan and associate automatically, allowing an adjacent attacker to trigger the firmware indication passively or via a rogue access point.\nS:U - The out-of-bounds read occurs in kernel heap memory during wcn36xx firmware message handling, enabling standard kernel information disclosure or denial of service rather than crossing a VM, IOMMU, or other separate security authority boundary.\nC:H - The unchecked firmware count allows unbounded out-of-bounds reads from the kmalloc_flex indication buffer into adjacent kernel heap objects; with debug_mask set the leaked register values are printed to the kernel log, and the reads themselves expose sensitive heap contents.\nI:N - This is a read-only out-of-bounds access that indexes past the message buffer without writing memory; the loop only reads addr/value pairs for debug logging and does not corrupt heap metadata or provide an arbitrary write primitive.\nA:H - A firmware-controlled count near UINT_MAX causes the handler to perform massive out-of-bounds reads past the kmalloc allocation, reliably triggering a kernel page fault, oops, or panic and denying all system and wireless availability."
    }
  }
}
