---
id: CVE-2026-72301
title: |-
  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 …
summary: |-
  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 …
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-787
vendor: Red Hat
product: Red Hat Enterprise Linux 9
affected:
  - enterprise_linux 10
  - enterprise_linux 8
  - enterprise_linux 9
published: '2026-08-15'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T19:17:20.357'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-72301'
references:
  - url: 'https://git.kernel.org/stable/c/0c4fbdaca225b97122b61b68c5353caa33a253c3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/0dce240145f47545d2e4b18c6d58033b83e1fd0e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/1f97760417b5faa60e9642fd0ed61eb17d0b1b39'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8bd715a9d882fe1993bb2aec5eff89fffa946592'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/92f90917413bdd6078fefff6f6c83a07bf870b04'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ed4f758f34be4c32e02933ac4fa044589d9c1c16'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-72301.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-72301'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2516471'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-72301'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-72301'
  - url: >-
      https://lore.kernel.org/linux-cve-announce/2026081502-CVE-2026-72301-c96e@gregkh/T
tags:
  - nvd
  - csaf
  - vex
  - red-hat
  - cve.org
epss: 0.00169
epssPercentile: 0.06192
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-16T18:46:11.606714Z'
scores:
  nvd: 7.8
  vendor: 7
  cna: 7.8
ingestedAt: '2026-10-16T19:46:24.410Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9 · updated 2026-10-19 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-72301.json)
