Skip to content
Heist/ feed
High

ASoC: SOF: ipc3-control: Fix TOCTOU in bytes_put and bytes_get

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: ipc3-control: Fix TOCTOU in bytes_put and bytes_get In sof_ipc3_bytes_put(), the size used for the memcpy is derived from the old data->size already in the buffer, not the incoming new data's size field. If the new data has a different size, the copy length is wrong: it may truncate valid data or copy stale bytes. Similarly, sof_ipc3_bytes_get() checks data->size against max_size without accounting for the sizeof(struct sof_ipc_ctrl_data) offset of the flex array within the allocation. Fix bytes_put to validate and use the incoming data's sof_abi_hdr.size from ucontrol before copying. Fix bytes_get to subtract sizeof(*cdata) from the bounds check to match the actual available space.

Announced Group revision 1
Original source ↗

CVE-2026-72301

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-72301

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "544ac8858f249950b4d99c68e538cdc07300528f",
        "lessThan": "8bd715a9d882fe1993bb2aec5eff89fffa946592",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "544ac8858f249950b4d99c68e538cdc07300528f",
        "lessThan": "0dce240145f47545d2e4b18c6d58033b83e1fd0e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "544ac8858f249950b4d99c68e538cdc07300528f",
        "lessThan": "ed4f758f34be4c32e02933ac4fa044589d9c1c16",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "544ac8858f249950b4d99c68e538cdc07300528f",
        "lessThan": "0c4fbdaca225b97122b61b68c5353caa33a253c3",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "544ac8858f249950b4d99c68e538cdc07300528f",
        "lessThan": "92f90917413bdd6078fefff6f6c83a07bf870b04",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "544ac8858f249950b4d99c68e538cdc07300528f",
        "lessThan": "1f97760417b5faa60e9642fd0ed61eb17d0b1b39",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "sound/soc/sof/ipc3-control.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.18"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.18",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.1.178",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.145",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.97",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.40",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.1.5",
        "versionType": "semver",
        "lessThanOrEqual": "7.1.*"
      },
      {
        "status": "unaffected",
        "version": "7.2",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "sound/soc/sof/ipc3-control.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-72301

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#33010 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement