CVE-2026-97930

ALSA: usbusx2y: fix in04_last array size mismatch with in04_buf

State
Published
Severity
Not scored
Published
Sep 25, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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

ALSA: usbusx2y: fix in04_last array size mismatch with in04_buf

The in04_last array in struct usx2ydev is declared as char[24], but in04_buf is allocated as sizeof(struct us428_ctls) which is 21 bytes. In i_usx2y_in04_int(), when ctl_snapshot_last == -2 (initialization path):

memcpy(usx2y->in04_last, usx2y->in04_buf, sizeof(usx2y->in04_last));

This copies 24 bytes from a 21-byte slab allocation, reading 3 bytes past the end of the source object.

Introduce a USX2Y_IN04_SIZE constant defined as sizeof(struct us428_ctls) and use it consistently for the in04_last array, the in04_buf allocation, the URB transfer length, and the comparison loop, replacing the bare 24 and 21 literals throughout.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before e75e4b0e647137f4c9f6dee4a7ef5b7b09e16f57Affected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 869fb83c072e884b80d93eab498e6040ffb010baAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before d170cfbe38c8817ac787f605655546a6d343017dAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 229cab526580f82839ae8e4e379753c8cf16952eAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 381495b5b3da12d714e53d9d12d955b13fe26eacAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before b5753bdfd909f7f095fb464d67802b5e52cbadbfAffected
  • 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 861111a14740e12c36d363e9830f8daa734279c9Affected
LinuxLinux
  • 2.6.12Affected
  • before 2.6.12Not affected
  • 5.15.222 through 5.15.*Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.111 through 6.12.*Not affected
  • 6.18.53 through 6.18.*Not affected
  • 7.2.7 through 7.2.*Not affected
  • 7.3 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.