{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-72261",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2026-72261"
  ],
  "published": "2026-08-15T06:04:33Z",
  "summary": "ASoC: SOF: ipc3-control: Validate size in snd_sof_update_control",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: SOF: ipc3-control: Validate size in snd_sof_update_control\n\nIn snd_sof_update_control(), firmware-provided cdata->num_elems is\nchecked against local_cdata->data->size but never against the actual\nallocation size. If local_cdata->data->size was previously set to an\ninconsistent value, the memcpy could write past the allocated buffer.\n\nAdd a bounds check to ensure num_elems fits within the available space\nin the ipc_control_data allocation before copying.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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-72261"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/1dc25a3e06364f48c4ef06016852f8b82425151a"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ee781058cd4d71e4449f41cbe6a3b8c59daa2c51"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ecf67f1302f2080b4d241b973364aacda70ad740"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d3abaedf6a58469610136d2dace1a85cddf7afcf"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2a591bf6fd41fd14bdae689aafac4a9ee702c23c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/390aa4c9339bb0ec0bc8d554e830faf93ca9d49e"
    }
  ],
  "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": 7.8,
      "cvss_v3_severity": "High",
      "scenario": "AV:L - The bug is reached on local SOF/IPC3 systems when DSP firmware sends SOF_IPC_GLB_COMP_MSG notifications that flow through sof_ipc3_rx_msg() to sof_ipc3_control_update() and snd_sof_update_control(); setup uses local ALSA ioctl/TLV on /dev/snd/controlC*, not remote network input.\nAC:L - An attacker can create the inconsistent local_cdata->data->size via ALSA bytes put/get IPC to the DSP and then reliably provoke matching firmware control notifications by driving audio activity; no uncontrollable memory layout or victim timing is required.\nPR:L - Reaching SOF binary kcontrols requires only local ALSA access to sound control devices, which is typically granted to unprivileged users in the audio group without init-namespace root or CAP_SYS_ADMIN; user namespaces do not grant this hardware path.\nUI:N - No separate victim action is needed; exploitation uses the attacker's own local ALSA clients and audio sessions to reach the vulnerable IPC3 control-update path on affected SOF hardware.\nS:U - Impact is kernel heap corruption and privilege escalation within the host kernel security domain; it does not cross VM, container, or IOMMU boundaries into another authority.\nC:H - The unchecked memcpy can write past the ipc_control_data kzalloc buffer, corrupting adjacent kernel heap objects and enabling information disclosure or further memory corruption primitives beyond the intended control cache.\nI:H - This is an out-of-bounds kernel heap write that can overwrite adjacent structures and be leveraged for control-flow hijack or local privilege escalation, not merely limited or benign data modification.\nA:H - Writing beyond the allocated ipc_control_data buffer can corrupt critical kernel heap metadata or objects and cause kernel oops/panic or system instability, satisfying high availability impact for kernel crashes."
    }
  }
}
