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

ALSA: usb-audio: Fix DMA buffer out-of-bounds write when fill_max is set

When a USB audio endpoint requests full packet transfers via the fill_max
descriptor flag, data_ep_set_params() promotes ep->curpacksize to
ep->maxpacksize. However, maxsize is left at the original sample-rate
derived value.

Since u->buffer_size is allocated as maxsize * packets, the resulting
DMA buffer is far too small for the requested transfer length. When the
USB host controller streams up to curpacksize bytes per packet, it writes
past the end of the buffer via DMA, corrupting kernel heap memory.

Update maxsize to curpacksize when fill_max is set so that the allocated
DMA buffer size matches the actual transfer request size.

[ changed to reassign maxsize only when ep->fill_max is set -- tiwai ]
Published: 2026-08-15
Score: 7.0 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability stems from the ALSA usb‑audio driver incorrectly handling the fill_max descriptor flag. When a USB audio endpoint requests full packet transfers, the driver promotes the current packet size but fails to update the maximum packet size used to calculate the DMA buffer. The resulting buffer is significantly smaller than the data transferred, allowing a USB host controller to write beyond the buffer end and corrupt kernel heap memory. This overflow can lead to arbitrary memory corruption, which could be leveraged by an attacker to gain elevated privileges or crash the system.

Affected Systems

Affected systems: All Linux kernel versions that include the affected ALSA usb‑audio driver without the patch. The specific vulnerable kernel versions are not listed in the provided data, but any kernel that has not applied the fix is susceptible.

Risk and Exploitability

The vulnerability is a local kernel memory corruption. The EPSS score is <1% and the flaw is not listed in the CISA KEV catalog, indicating a low exploitation probability. The CVSS score of 7.0 indicates medium to high severity. The likely attack vector is through a malicious USB audio device: based on the description, it is inferred that an attacker could trigger the overflow by connecting a specially crafted USB audio device and forcing the host controller to stream data at the larger packet size. This could allow the attacker to corrupt kernel heap memory, potentially leading to privilege escalation or a denial of service. Administrators should still prioritize applying the kernel patch.

Generated by OpenCVE AI on August 21, 2026 at 22:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the ALSA usb‑audio DMA buffer size fix (commit 04595233e5606d452f9f47e6989fc7ae7440fd40 and related commits).
  • If an immediate kernel upgrade is not possible, restrict the use of USB audio devices by disabling the corresponding ALSA audio drivers or removing USB audio modules from the running system until the patch is applied.
  • Stay informed of related kernel updates by monitoring the Linux kernel mailing list and applying security patches as they become available.

Generated by OpenCVE AI on August 21, 2026 at 22:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6466-1 linux security update
History

Fri, 21 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122

Thu, 20 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


Wed, 19 Aug 2026 17:00:00 +0000


Sat, 15 Aug 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122
CWE-787

Sat, 15 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Fix DMA buffer out-of-bounds write when fill_max is set When a USB audio endpoint requests full packet transfers via the fill_max descriptor flag, data_ep_set_params() promotes ep->curpacksize to ep->maxpacksize. However, maxsize is left at the original sample-rate derived value. Since u->buffer_size is allocated as maxsize * packets, the resulting DMA buffer is far too small for the requested transfer length. When the USB host controller streams up to curpacksize bytes per packet, it writes past the end of the buffer via DMA, corrupting kernel heap memory. Update maxsize to curpacksize when fill_max is set so that the allocated DMA buffer size matches the actual transfer request size. [ changed to reassign maxsize only when ep->fill_max is set -- tiwai ]
Title ALSA: usb-audio: Fix DMA buffer out-of-bounds write when fill_max is set
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-19T16:37:57.897Z

Reserved: 2026-08-15T05:44:03.907Z

Link: CVE-2026-74498

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T13:17:54.760

Modified: 2026-08-19T17:21:07.203

Link: CVE-2026-74498

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74498 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T23:00:14Z

Weaknesses