---
id: CVE-2025-38249
title: 'ALSA: usb-audio: Fix out-of-bounds read in snd_usb_get_audioformat_uac3()'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  ALSA: usb-audio: Fix out-of-bounds read in snd_usb_get_audioformat_uac3()

  In snd_usb_get_audioformat_uac3(), the length value returned from
  snd_usb_ctl_msg() is used d…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 9a2fe9b801f585baccf8352d82839dcd54b300cf <
    24ff7d465c4284529bbfa207757bffb6f44b6403
  - >-
    Linux >= 9a2fe9b801f585baccf8352d82839dcd54b300cf <
    2dc1c3edf67abd30c757f8054a5da61927cdda21
  - >-
    Linux >= 9a2fe9b801f585baccf8352d82839dcd54b300cf <
    c3fb926abe90d86f5e3055e0035f04d9892a118b
  - >-
    Linux >= 9a2fe9b801f585baccf8352d82839dcd54b300cf <
    6eb211788e1370af52a245d4d7da35c374c7b401
  - >-
    Linux >= 9a2fe9b801f585baccf8352d82839dcd54b300cf <
    74fcb3852a2f579151ce80b9ed96cd916ba0d5d8
  - >-
    Linux >= 9a2fe9b801f585baccf8352d82839dcd54b300cf <
    0ee87c2814deb5e42921281116ac3abcb326880b
  - >-
    Linux >= 9a2fe9b801f585baccf8352d82839dcd54b300cf <
    11e740dc1a2c8590eb7074b5c4ab921bb6224c36
  - >-
    Linux >= 9a2fe9b801f585baccf8352d82839dcd54b300cf <
    fb4e2a6e8f28a3c0ad382e363aeb9cd822007b8a
  - Linux 4.17
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:52:13.078613Z'
published: '2025-07-09'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T21:02:28.997Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2025-38249'
references:
  - url: 'https://git.kernel.org/stable/c/24ff7d465c4284529bbfa207757bffb6f44b6403'
  - url: 'https://git.kernel.org/stable/c/2dc1c3edf67abd30c757f8054a5da61927cdda21'
  - url: 'https://git.kernel.org/stable/c/c3fb926abe90d86f5e3055e0035f04d9892a118b'
  - url: 'https://git.kernel.org/stable/c/6eb211788e1370af52a245d4d7da35c374c7b401'
  - url: 'https://git.kernel.org/stable/c/74fcb3852a2f579151ce80b9ed96cd916ba0d5d8'
  - url: 'https://git.kernel.org/stable/c/0ee87c2814deb5e42921281116ac3abcb326880b'
  - url: 'https://git.kernel.org/stable/c/11e740dc1a2c8590eb7074b5c4ab921bb6224c36'
  - url: 'https://git.kernel.org/stable/c/fb4e2a6e8f28a3c0ad382e363aeb9cd822007b8a'
tags:
  - cve.org
epss: 0.00184
epssPercentile: 0.08037
ingestedAt: '2026-11-05T22:38:31.942Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

ALSA: usb-audio: Fix out-of-bounds read in snd_usb_get_audioformat_uac3()

In snd_usb_get_audioformat_uac3(), the length value returned from
snd_usb_ctl_msg() is used directly for memory allocation without
validation. This length is controlled by the USB device.

The allocated buffer is cast to a uac3_cluster_header_descriptor
and its fields are accessed without verifying that the buffer
is large enough. If the device returns a smaller than expected
length, this leads to an out-of-bounds read.

Add a length check to ensure the buffer is large enough for
uac3_cluster_header_descriptor.

## Affected

- `Linux >= 9a2fe9b801f585baccf8352d82839dcd54b300cf < 24ff7d465c4284529bbfa207757bffb6f44b6403`
- `Linux >= 9a2fe9b801f585baccf8352d82839dcd54b300cf < 2dc1c3edf67abd30c757f8054a5da61927cdda21`
- `Linux >= 9a2fe9b801f585baccf8352d82839dcd54b300cf < c3fb926abe90d86f5e3055e0035f04d9892a118b`
- `Linux >= 9a2fe9b801f585baccf8352d82839dcd54b300cf < 6eb211788e1370af52a245d4d7da35c374c7b401`
- `Linux >= 9a2fe9b801f585baccf8352d82839dcd54b300cf < 74fcb3852a2f579151ce80b9ed96cd916ba0d5d8`
- `Linux >= 9a2fe9b801f585baccf8352d82839dcd54b300cf < 0ee87c2814deb5e42921281116ac3abcb326880b`
- `Linux >= 9a2fe9b801f585baccf8352d82839dcd54b300cf < 11e740dc1a2c8590eb7074b5c4ab921bb6224c36`
- `Linux >= 9a2fe9b801f585baccf8352d82839dcd54b300cf < fb4e2a6e8f28a3c0ad382e363aeb9cd822007b8a`
- `Linux 4.17`

## Remediation

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