Skip to content
Heist/ feed
Unrated

ALSA: usbusx2y: fix in04_last array size mismatch with in04_buf

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-97930

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-97930

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
        "lessThan": "e75e4b0e647137f4c9f6dee4a7ef5b7b09e16f57",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
        "lessThan": "869fb83c072e884b80d93eab498e6040ffb010ba",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
        "lessThan": "d170cfbe38c8817ac787f605655546a6d343017d",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
        "lessThan": "229cab526580f82839ae8e4e379753c8cf16952e",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
        "lessThan": "381495b5b3da12d714e53d9d12d955b13fe26eac",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
        "lessThan": "b5753bdfd909f7f095fb464d67802b5e52cbadbf",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
        "lessThan": "861111a14740e12c36d363e9830f8daa734279c9",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "sound/usb/usx2y/usbusx2y.c",
      "sound/usb/usx2y/usbusx2y.h"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "2.6.12"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "2.6.12",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.15.222",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.189",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.158",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.111",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.53",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.7",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "sound/usb/usx2y/usbusx2y.c",
      "sound/usb/usx2y/usbusx2y.h"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-97930

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#38077 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement