linux/include/uapi/sound
Dmitry Osipenko 10007bd96b ASoC: hdmi-codec: Fix OOB memory accesses
commit 06feec6005 upstream.

Correct size of iec_status array by changing it to the size of status
array of the struct snd_aes_iec958. This fixes out-of-bounds slab
read accesses made by memcpy() of the hdmi-codec driver. This problem
is reported by KASAN.

Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20220112195039.1329-1-digetx@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-02-08 18:34:03 +01:00
..
sof ASoC: SOF: Add memory_info file to debugfs 2020-11-25 11:07:17 +00:00
asequencer.h License cleanup: add SPDX license identifier to uapi header files with a license 2017-11-02 11:20:11 +01:00
asoc.h ASoC: topology: use inclusive language for bclk and fsync 2020-11-13 14:22:05 +00:00
asound_fm.h License cleanup: add SPDX license identifier to uapi header files with a license 2017-11-02 11:20:11 +01:00
asound.h ASoC: hdmi-codec: Fix OOB memory accesses 2022-02-08 18:34:03 +01:00
compress_offload.h ALSA: fix kernel-doc markups 2020-10-26 15:26:31 +01:00
compress_params.h ALSA: compress: add alac & ape decoder params 2020-03-16 17:52:09 +00:00
emu10k1.h ALSA: uapi: Add linux/types.h include back (but carefully) 2019-12-30 22:28:59 +01:00
firewire.h ALSA: firewire-tascam: notify events of change of state for userspace applications 2018-11-23 15:31:15 +01:00
hdsp.h ALSA: uapi: Add linux/types.h include back (but carefully) 2019-12-30 22:28:59 +01:00
hdspm.h ALSA: uapi: Add linux/types.h include back (but carefully) 2019-12-30 22:28:59 +01:00
sb16_csp.h License cleanup: add SPDX license identifier to uapi header files with a license 2017-11-02 11:20:11 +01:00
sfnt_info.h License cleanup: add SPDX license identifier to uapi header files with a license 2017-11-02 11:20:11 +01:00
skl-tplg-interface.h ASoC: Intel: Skylake: Automatic DMIC format configuration according to information from NHLT 2020-04-27 16:02:26 +01:00
snd_sst_tokens.h ASoC: Intel: Skylake: Support multiple format configs 2021-08-23 16:40:02 +01:00
tlv.h ALSA: control: complement TLV macro for db-minmax and db-linear types 2018-05-14 17:47:37 +02:00
usb_stream.h License cleanup: add SPDX license identifier to uapi header files with a license 2017-11-02 11:20:11 +01:00