CVE-2025-68346
JSON

Not scored

ALSA: dice: fix buffer overflow in detect_stream_formats()

Severity
Not scored
Exploit likelihood
0.32% (higher than 17% of CVEs)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 58579c056c1c9510ae6695ed8e01ee05bbdcfb23 before d6280a5b00cad37d9a9a875849e5bf7ed2fe4950, from 58579c056c1c9510ae6695ed8e01ee05bbdcfb23 before 3cf854cec0eb371da47ff5fe56eab189d7fa623a, from 58579c056c1c9510ae6695ed8e01ee05bbdcfb23 before 4a6ab0f6cc9bdfdfecbf257a46ff4275bd965af4, from 58579c056c1c9510ae6695ed8e01ee05bbdcfb23 before dea3ed2c16f99f46f97b1a090bf80ecdd6972ce0, from 58579c056c1c9510ae6695ed8e01ee05bbdcfb23 before c0a1fe1902ad23e6d48e0f68be1258ccf7a163e6, from 58579c056c1c9510ae6695ed8e01ee05bbdcfb23 before 932aa1e80b022419cf9710e970739b7a8794f27c, from 58579c056c1c9510ae6695ed8e01ee05bbdcfb23 before 1e1b3207a53e50d5a66289fffc1f7d52cd9c50f9, from 58579c056c1c9510ae6695ed8e01ee05bbdcfb23 before 324f3e03e8a85931ce0880654e3c3eb38b0f0bba and 1 more
Not affected: before 4.18, from 5.10.248 up to 5.10.*, from 5.15.198 up to 5.15.*, from 6.1.160 up to 6.1.*, from 6.6.120 up to 6.6.*, from 6.12.63 up to 6.12.*
CVE List

What each source says

CVE List

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().

NVD (es)

En el kernel de Linux, se ha corregido la siguiente vulnerabilidad:\n\nALSA: dice: corregir desbordamiento de búfer en detect_stream_formats()\n\nLa función detect_stream_formats() lee el valor stream_count directamente de un dispositivo FireWire sin validarlo. Esto puede provocar escrituras fuera de los límites cuando un dispositivo malicioso proporciona un valor stream_count mayor que MAX_STREAMS.\n\nSe corrige aplicando la misma validación tanto a los contadores de flujo TX como RX en detect_stream_formats().

References

Sources

SourceRecordLicence
CVE ListCVE-2025-68346 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-68346 changed 2026-10-19Public domain