CVE-2026-74498

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

State
Published
Severity
Not scored
Published
Aug 15, 2026
Updated
Aug 19, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

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 ]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8fdff6a319e7dac757c558bd283dc4577e68cde7 to before 10c24e6fddf4bdff0b6b05a47a4347b38e6960e8Affected
  • 8fdff6a319e7dac757c558bd283dc4577e68cde7 to before b1770f9ac35c0ffc34914d52347c65dcd5ac049bAffected
  • 8fdff6a319e7dac757c558bd283dc4577e68cde7 to before 6cbdd11f9b05b92f4aa29f09a66e19ed0e25e66cAffected
  • 8fdff6a319e7dac757c558bd283dc4577e68cde7 to before 3852974608f53e530e27c21d0c6c7d79c17b3f5aAffected
  • 8fdff6a319e7dac757c558bd283dc4577e68cde7 to before f9b6c9576568169139ac151f7881474f384659fdAffected
  • 8fdff6a319e7dac757c558bd283dc4577e68cde7 to before 04595233e5606d452f9f47e6989fc7ae7440fd40Affected
  • 8fdff6a319e7dac757c558bd283dc4577e68cde7 to before bd65b7191683bebd9923904f0558b9211b9129daAffected
  • 8fdff6a319e7dac757c558bd283dc4577e68cde7 to before d0199ae1666ff9ae2d1d568d64c3430d4c47f0e5Affected
LinuxLinux
  • 3.5Affected
  • before 3.5Not affected
  • 5.10.265 through 5.10.*Not affected
  • 5.15.216 through 5.15.*Not affected
  • 6.1.183 through 6.1.*Not affected
  • 6.6.151 through 6.6.*Not affected
  • 6.12.103 through 6.12.*Not affected
  • 6.18.44 through 6.18.*Not affected
  • 7.1.8 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.