aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorRyosuke Yasuoka <[email protected]>2024-05-19 18:43:03 +0900
committerDavid S. Miller <[email protected]>2024-05-20 11:41:26 +0100
commite4a87abf588536d1cdfb128595e6e680af5cf3ed (patch)
tree687f63f649607a861f24260e842a08c4f3852e95 /include/linux/fpga/fpga-mgr.h
parentcc563e749810f5636451d4b833fbd689899ecdb9 (diff)
nfc: nci: Fix uninit-value in nci_rx_work
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: [email protected] Closes: https://syzkaller.appspot.com/bug?extid=d7b4dc6cd50410152534 [1] Signed-off-by: Ryosuke Yasuoka <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions