{"id":"CVE-2025-68346","aliases":["CVE-2025-68346"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: dice: fix buffer overflow in detect_stream_formats()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: dice: fix buffer overflow in detect_stream_formats()\n\nThe function detect_stream_formats() reads the stream_count value directly\nfrom a FireWire device without validating it. This can lead to\nout-of-bounds writes when a malicious device provides a stream_count value\ngreater than MAX_STREAMS.\n\nFix by applying the same validation to both TX and RX stream counts in\ndetect_stream_formats().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: dice: fix buffer overflow in detect_stream_formats()\n\nThe function detect_stream_formats() reads the stream_count value directly\nfrom a FireWire device without validating it. This can lead to\nout-of-bounds writes when a malicious device provides a stream_count value\ngreater than MAX_STREAMS.\n\nFix by applying the same validation to both TX and RX stream counts in\ndetect_stream_formats().","source":"cvelist"},{"lang":"es","text":"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().","source":"nvd"}],"published":"2025-12-24T10:32:39.101Z","modified":"2026-10-19T21:10:00.160Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"58579c056c1c9510ae6695ed8e01ee05bbdcfb23","fixed":"d6280a5b00cad37d9a9a875849e5bf7ed2fe4950","status":"affected"},{"type":"git","introduced":"58579c056c1c9510ae6695ed8e01ee05bbdcfb23","fixed":"3cf854cec0eb371da47ff5fe56eab189d7fa623a","status":"affected"},{"type":"git","introduced":"58579c056c1c9510ae6695ed8e01ee05bbdcfb23","fixed":"4a6ab0f6cc9bdfdfecbf257a46ff4275bd965af4","status":"affected"},{"type":"git","introduced":"58579c056c1c9510ae6695ed8e01ee05bbdcfb23","fixed":"dea3ed2c16f99f46f97b1a090bf80ecdd6972ce0","status":"affected"},{"type":"git","introduced":"58579c056c1c9510ae6695ed8e01ee05bbdcfb23","fixed":"c0a1fe1902ad23e6d48e0f68be1258ccf7a163e6","status":"affected"},{"type":"git","introduced":"58579c056c1c9510ae6695ed8e01ee05bbdcfb23","fixed":"932aa1e80b022419cf9710e970739b7a8794f27c","status":"affected"},{"type":"git","introduced":"58579c056c1c9510ae6695ed8e01ee05bbdcfb23","fixed":"1e1b3207a53e50d5a66289fffc1f7d52cd9c50f9","status":"affected"},{"type":"git","introduced":"58579c056c1c9510ae6695ed8e01ee05bbdcfb23","fixed":"324f3e03e8a85931ce0880654e3c3eb38b0f0bba","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.18","status":"unaffected"},{"type":"semver","introduced":"5.10.248","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.198","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.160","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.120","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.63","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.13","lastAffected":"6.17.*","status":"unaffected"},{"type":"semver","introduced":"6.18.2","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/d6280a5b00cad37d9a9a875849e5bf7ed2fe4950","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3cf854cec0eb371da47ff5fe56eab189d7fa623a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4a6ab0f6cc9bdfdfecbf257a46ff4275bd965af4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dea3ed2c16f99f46f97b1a090bf80ecdd6972ce0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c0a1fe1902ad23e6d48e0f68be1258ccf7a163e6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/932aa1e80b022419cf9710e970739b7a8794f27c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1e1b3207a53e50d5a66289fffc1f7d52cd9c50f9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/324f3e03e8a85931ce0880654e3c3eb38b0f0bba","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68346","url":"https://www.cve.org/CVERecord?id=CVE-2025-68346","licence":"CVE Terms of Use","modified":"2026-05-11T21:51:25.174Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68346","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68346","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:09.862Z","epss":{"score":0.00315,"percentile":0.16883,"date":"2026-11-30T12:00:22.000Z"}}