{"id":"CVE-2025-68346","summary":"ALSA: dice: fix buffer overflow in detect_stream_formats()","details":"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().","modified":"2026-03-31T17:29:32.665095Z","published":"2025-12-24T10:32:39.101Z","related":["SUSE-SU-2026:0278-1","SUSE-SU-2026:0281-1","SUSE-SU-2026:0293-1","SUSE-SU-2026:0315-1","SUSE-SU-2026:20207-1","SUSE-SU-2026:20220-1","SUSE-SU-2026:20228-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1","openSUSE-SU-2026:10039-1","openSUSE-SU-2026:10301-1","openSUSE-SU-2026:20145-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68346.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1e1b3207a53e50d5a66289fffc1f7d52cd9c50f9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/324f3e03e8a85931ce0880654e3c3eb38b0f0bba"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3cf854cec0eb371da47ff5fe56eab189d7fa623a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4a6ab0f6cc9bdfdfecbf257a46ff4275bd965af4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/932aa1e80b022419cf9710e970739b7a8794f27c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c0a1fe1902ad23e6d48e0f68be1258ccf7a163e6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d6280a5b00cad37d9a9a875849e5bf7ed2fe4950"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dea3ed2c16f99f46f97b1a090bf80ecdd6972ce0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68346.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68346"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"58579c056c1c9510ae6695ed8e01ee05bbdcfb23"},{"fixed":"d6280a5b00cad37d9a9a875849e5bf7ed2fe4950"},{"fixed":"3cf854cec0eb371da47ff5fe56eab189d7fa623a"},{"fixed":"4a6ab0f6cc9bdfdfecbf257a46ff4275bd965af4"},{"fixed":"dea3ed2c16f99f46f97b1a090bf80ecdd6972ce0"},{"fixed":"c0a1fe1902ad23e6d48e0f68be1258ccf7a163e6"},{"fixed":"932aa1e80b022419cf9710e970739b7a8794f27c"},{"fixed":"1e1b3207a53e50d5a66289fffc1f7d52cd9c50f9"},{"fixed":"324f3e03e8a85931ce0880654e3c3eb38b0f0bba"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68346.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.18.0"},{"fixed":"5.10.248"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.198"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.160"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.17.13"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.18.0"},{"fixed":"6.18.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68346.json"}}],"schema_version":"1.7.5"}