CVE-2025-68346
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().
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
In the Linux kernel's ALSA dice driver, a missing bounds check on FireWire device stream counts can cause a buffer overflow.
Vulnerability
The detect_stream_formats() function in the ALSA dice driver reads the stream_count value directly from a FireWire device without validating it against the MAX_STREAMS limit. This lack of validation can lead to out-of-bounds writes when a malicious or malformed device provides a stream_count value greater than MAX_STREAMS [1][2][3][4].
Exploitation
An attacker with physical access to the FireWire bus or the ability to connect a malicious FireWire device can supply a crafted stream_count value. No authentication is required beyond device enumeration. The attack surface is limited to systems with the snd-dice driver loaded and a FireWire controller present.
Impact
Successful exploitation results in a buffer overflow, potentially causing memory corruption, system crash, or arbitrary code execution in kernel context. The vulnerability is rated with a CVSS score that reflects the high impact on confidentiality, integrity, and availability.
Mitigation
The fix applies the same validation to both TX and RX stream counts in detect_stream_formats(), ensuring that values before use. The patch has been merged into the stable kernel tree and is available in the referenced commits [1][2][3][4]. Users should update to a kernel version containing the fix.
AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
8- git.kernel.org/stable/c/1e1b3207a53e50d5a66289fffc1f7d52cd9c50f9nvd
- git.kernel.org/stable/c/324f3e03e8a85931ce0880654e3c3eb38b0f0bbanvd
- git.kernel.org/stable/c/3cf854cec0eb371da47ff5fe56eab189d7fa623anvd
- git.kernel.org/stable/c/4a6ab0f6cc9bdfdfecbf257a46ff4275bd965af4nvd
- git.kernel.org/stable/c/932aa1e80b022419cf9710e970739b7a8794f27cnvd
- git.kernel.org/stable/c/c0a1fe1902ad23e6d48e0f68be1258ccf7a163e6nvd
- git.kernel.org/stable/c/d6280a5b00cad37d9a9a875849e5bf7ed2fe4950nvd
- git.kernel.org/stable/c/dea3ed2c16f99f46f97b1a090bf80ecdd6972ce0nvd
News mentions
0No linked articles in our index yet.