← Back to CVE List
CVE-2026-90214NVD
Vulnerability Summary
In the Linux kernel, the following vulnerability has been resolved:
ASoC: xilinx: formatter_pcm: fix stream_data leak on open error
In xlnx_formatter_pcm_open(), stream_data is allocated and
adata->play_stream or adata->capture_stream is assigned early. If a
later step, such as snd_pcm_hw_constraint_step() or
snd_pcm_hw_constraint_integer(), fails, the function returns the error
immediately. ALSA does not call the close callback when open fails, so
stream_data is leaked and the stream pointer is left dangling, pointing
to a substream that ALSA frees. A later interrupt would then call
snd_pcm_period_elapsed() on the freed substream.
Free stream_data and clear the stream pointer on the error paths.
ASoC: xilinx: formatter_pcm: fix stream_data leak on open error
In xlnx_formatter_pcm_open(), stream_data is allocated and
adata->play_stream or adata->capture_stream is assigned early. If a
later step, such as snd_pcm_hw_constraint_step() or
snd_pcm_hw_constraint_integer(), fails, the function returns the error
immediately. ALSA does not call the close callback when open fails, so
stream_data is leaked and the stream pointer is left dangling, pointing
to a substream that ALSA frees. A later interrupt would then call
snd_pcm_period_elapsed() on the freed substream.
Free stream_data and clear the stream pointer on the error paths.
Affected & Patched Versions
- Linux Linux >= 6f6c3c36f0917be24587eeba818ab4fdfcb5465a and < 5e1a2d9fff57f3a2b1a0f54d128d64245a253004
- Linux Linux >= 6f6c3c36f0917be24587eeba818ab4fdfcb5465a and < edf81b293cba1b00a5e71becf184414f6991a6ca
- Linux Linux >= 6f6c3c36f0917be24587eeba818ab4fdfcb5465a and < 3fd89a51b8cfe788df67f54b716b305dd45b8468
- Linux Linux >= 6f6c3c36f0917be24587eeba818ab4fdfcb5465a and < 8c38ae4a465691947977c25d10394da22a64a19f
- Linux Linux >= 6f6c3c36f0917be24587eeba818ab4fdfcb5465a and < 9030aa4e14b704dc39ee208207cb65064020d857
- Linux Linux >= 6f6c3c36f0917be24587eeba818ab4fdfcb5465a and < 8b30628dfc2b2fad3b55a9441776a226035045fa
- Linux Linux >= 6f6c3c36f0917be24587eeba818ab4fdfcb5465a and < 4e0ce77df7d9808926719d7950a07fbad14ea9ef
- Linux Linux >= 6f6c3c36f0917be24587eeba818ab4fdfcb5465a and < b992511180e126150c6ad3580a6fd568c385f4c6
- Linux Linux >= 5.1
- Linux Linux 5e1a2d9fff57f3a2b1a0f54d128d64245a253004
- Linux Linux edf81b293cba1b00a5e71becf184414f6991a6ca
- Linux Linux 3fd89a51b8cfe788df67f54b716b305dd45b8468
- Linux Linux 8c38ae4a465691947977c25d10394da22a64a19f
- Linux Linux 9030aa4e14b704dc39ee208207cb65064020d857
- Linux Linux 8b30628dfc2b2fad3b55a9441776a226035045fa
- Linux Linux 4e0ce77df7d9808926719d7950a07fbad14ea9ef
- Linux Linux b992511180e126150c6ad3580a6fd568c385f4c6
External References
- https://git.kernel.org/stable/c/5e1a2d9fff57f3a2b1a0f54d128d64245a253004
- https://git.kernel.org/stable/c/edf81b293cba1b00a5e71becf184414f6991a6ca
- https://git.kernel.org/stable/c/3fd89a51b8cfe788df67f54b716b305dd45b8468
- https://git.kernel.org/stable/c/8c38ae4a465691947977c25d10394da22a64a19f
- https://git.kernel.org/stable/c/9030aa4e14b704dc39ee208207cb65064020d857
- https://git.kernel.org/stable/c/8b30628dfc2b2fad3b55a9441776a226035045fa
- https://git.kernel.org/stable/c/4e0ce77df7d9808926719d7950a07fbad14ea9ef
- https://git.kernel.org/stable/c/b992511180e126150c6ad3580a6fd568c385f4c6