summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/tas2552.c
diff options
context:
space:
mode:
authorRyosuke Yasuoka <ryasuoka@redhat.com>2024-05-19 12:43:03 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-16 14:32:26 +0300
commitf80b786ab0550d0020191a59077b2c7e069db2d1 (patch)
treef352788f8314332f77992887b74c3e5d87bbff16 /sound/soc/codecs/tas2552.c
parentee6a497844783f55d5505bf7307832510353e24f (diff)
downloadlinux-f80b786ab0550d0020191a59077b2c7e069db2d1.tar.xz
nfc: nci: Fix uninit-value in nci_rx_work
[ Upstream commit e4a87abf588536d1cdfb128595e6e680af5cf3ed ] syzbot reported the following uninit-value access issue [1] nci_rx_work() parses received packet from ndev->rx_q. It should be validated header size, payload size and total packet size before processing the packet. If an invalid packet is detected, it should be silently discarded. Fixes: d24b03535e5e ("nfc: nci: Fix uninit-value in nci_dev_up and nci_ntf_packet") Reported-and-tested-by: syzbot+d7b4dc6cd50410152534@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=d7b4dc6cd50410152534 [1] Signed-off-by: Ryosuke Yasuoka <ryasuoka@redhat.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound/soc/codecs/tas2552.c')
0 files changed, 0 insertions, 0 deletions