Skip to content
Heist/ feed
Back to feed
HighFix available

ASoC: SOF: ipc3-control: Fix heap overflow in bytes_ext put/get

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: ipc3-control: Fix heap overflow in bytes_ext put/get The ipc_control_data buffer is allocated as kzalloc(max_size), where max_size covers the entire struct sof_ipc_ctrl_data including its flexible array payload. However, the bounds checks in bytes_ext_put and _bytes_ext_get compared user data lengths against max_size directly, ignoring that cdata->data sits at an offset of sizeof(struct sof_ipc_ctrl_data) bytes into the allocation. This allowed writing up to sizeof(struct sof_ipc_ctrl_data) bytes past the end of the heap buffer from unprivileged userspace via the ALSA TLV kcontrol interface, and similarly allowed over-reading adjacent heap data on the get path. Fix all bounds checks to subtract sizeof(*cdata) from max_size so they reflect the actual space available at the cdata->data offset. Also fix the error-path restore in bytes_ext_put which wrote to cdata->data instead of cdata, causing the same overflow.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.184, 6.12.97, 6.18.40, 6.6.145, 7.1.5
CVEs
CVE-2026-72262
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 21:21 UTC · Revision 1

Source evidence

ASoC: SOF: ipc3-control: Fix heap overflow in bytes_ext put/get

core-osv · Original source

Published 15 Aug 2026, 05:54 UTC

In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: ipc3-control: Fix heap overflow in bytes_ext put/get The ipc_control_data buffer is allocated as kzalloc(max_size), where max_size covers the entire struct sof_ipc_ctrl_data including its flexible array payload. However, the bounds checks in bytes_ext_put and _bytes_ext_get compared user data lengths against max_size directly, ignoring that cdata->data sits at an offset of sizeof(struct sof_ipc_ctrl_data) bytes into the allocation. This allowed writing up to sizeof(struct sof_ipc_ctrl_data) bytes past the end of the heap buffer from unprivileged userspace via the ALSA TLV kcontrol interface, and similarly allowed over-reading adjacent heap data on the get path. Fix all bounds checks to subtract sizeof(*cdata) from max_size so they reflect the actual space available at the cdata->data offset. Also fix the error-path restore in bytes_ext_put which wrote to cdata->data instead of cdata, causing the same overflow.

osv:CVE-2026-72262

Kernel

Fixed versions: 6.1.184, 6.6.145, 6.12.97, 6.18.40, 7.1.5

Complete source record
{
  "id": "d4638a2c66eb7c968b90bc98a2c6bc0cb1a0304172e12da79cc55adb3aa5e03c",
  "url": "https://osv.dev/vulnerability/CVE-2026-72262",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ASoC: SOF: ipc3-control: Fix heap overflow in bytes_ext put/get",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: ipc3-control: Fix heap overflow in bytes_ext put/get The ipc_control_data buffer is allocated as kzalloc(max_size), where max_size covers the entire struct sof_ipc_ctrl_data including its flexible array payload. However, the bounds checks in bytes_ext_put and _bytes_ext_get compared user data lengths against max_size directly, ignoring that cdata->data sits at an offset of sizeof(struct sof_ipc_ctrl_data) bytes into the allocation. This allowed writing up to sizeof(struct sof_ipc_ctrl_data) bytes past the end of the heap buffer from unprivileged userspace via the ALSA TLV kcontrol interface, and similarly allowed over-reading adjacent heap data on the get path. Fix all bounds checks to subtract sizeof(*cdata) from max_size so they reflect the actual space available at the cdata->data offset. Also fix the error-path restore in bytes_ext_put which wrote to cdata->data instead of cdata, causing the same overflow.",
    "evidence": "osv:CVE-2026-72262",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.184",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.145",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.97",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.40",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.1.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-72262",
      "aliases": [
        "CVE-2026-72262"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "67ec2a091630c28ea8d05db2bd7178a05b04b7e6"
                },
                {
                  "fixed": "af4b437a463ac0482ba705434a44da06783778e6"
                },
                {
                  "fixed": "1adde1941bba7b0d7104b86ed819d48d81cb0ad9"
                },
                {
                  "fixed": "eaa67e139c9217099e2a7b717aeeb46c65de3494"
                },
                {
                  "fixed": "121577383b5cf221e86581e0f2bcca4c66f17469"
                },
                {
                  "fixed": "f4933e1d11b97b6a0951648b7c3e53850e1b33a9"
                },
                {
                  "fixed": "fd46668d538993218eea19c6925c868ac0f2630c"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72262.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.18.0"
                },
                {
                  "fixed": "6.1.184"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.145"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.97"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.40"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.1.5"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72262.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.636130602Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/121577383b5cf221e86581e0f2bcca4c66f17469",
        "https://git.kernel.org/stable/c/1adde1941bba7b0d7104b86ed819d48d81cb0ad9",
        "https://git.kernel.org/stable/c/af4b437a463ac0482ba705434a44da06783778e6",
        "https://git.kernel.org/stable/c/eaa67e139c9217099e2a7b717aeeb46c65de3494",
        "https://git.kernel.org/stable/c/f4933e1d11b97b6a0951648b7c3e53850e1b33a9",
        "https://git.kernel.org/stable/c/fd46668d538993218eea19c6925c868ac0f2630c",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72262.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-72262",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72262.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-72262",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490222,
  "published_at": "2026-08-15T05:54:49.635+00:00"
}