Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-68346

ALSA: dice: fix buffer overflow in detect_stream_formats()

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: dice: fix buffer overflow in detect_stream_formats() The function detect_stream_formats() reads the stream_count value directly from a FireWire device without validating it. This can lead to out-of-bounds writes when a malicious device provides a stream_count value greater than MAX_STREAMS. Fix by applying the same validation to both TX and RX stream counts in detect_stream_formats().

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 58579c056c1c9510ae6695ed8e01ee05bbdcfb23 to < d6280a5b00cad37d9a9a875849e5bf7ed2fe4950affected
  • 58579c056c1c9510ae6695ed8e01ee05bbdcfb23 to < 3cf854cec0eb371da47ff5fe56eab189d7fa623aaffected
  • 58579c056c1c9510ae6695ed8e01ee05bbdcfb23 to < 4a6ab0f6cc9bdfdfecbf257a46ff4275bd965af4affected
  • 58579c056c1c9510ae6695ed8e01ee05bbdcfb23 to < dea3ed2c16f99f46f97b1a090bf80ecdd6972ce0affected
  • 58579c056c1c9510ae6695ed8e01ee05bbdcfb23 to < c0a1fe1902ad23e6d48e0f68be1258ccf7a163e6affected
  • 58579c056c1c9510ae6695ed8e01ee05bbdcfb23 to < 932aa1e80b022419cf9710e970739b7a8794f27caffected
  • 58579c056c1c9510ae6695ed8e01ee05bbdcfb23 to < 1e1b3207a53e50d5a66289fffc1f7d52cd9c50f9affected
  • 58579c056c1c9510ae6695ed8e01ee05bbdcfb23 to < 324f3e03e8a85931ce0880654e3c3eb38b0f0bbaaffected

Linux Linux

Default version status: affected

  • 4.18affected
  • 0 to < 4.18unaffected
  • 5.10.248 to ≤ 5.10.*unaffected
  • 5.15.198 to ≤ 5.15.*unaffected
  • 6.1.160 to ≤ 6.1.*unaffected
  • 6.6.120 to ≤ 6.6.*unaffected
  • 6.12.63 to ≤ 6.12.*unaffected
  • 6.17.13 to ≤ 6.17.*unaffected
  • 6.18.2 to ≤ 6.18.*unaffected
  • 6.19 to ≤ *unaffected

References