summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/xarray.py
diff options
context:
space:
mode:
authorMarius Zachmann <mail@mariuszachmann.de>2025-06-19 16:27:47 +0300
committerGuenter Roeck <linux@roeck-us.net>2025-07-15 20:36:35 +0300
commit495a4f0dce9c8c4478c242209748f1ee9e4d5820 (patch)
tree6ba63730e296c65db1dce9d2be731572ad74c5de /scripts/gdb/linux/xarray.py
parent347e9f5043c89695b01e66b3ed111755afcf1911 (diff)
downloadlinux-495a4f0dce9c8c4478c242209748f1ee9e4d5820.tar.xz
hwmon: (corsair-cpro) Validate the size of the received input buffer
Add buffer_recv_size to store the size of the received bytes. Validate buffer_recv_size in send_usb_cmd(). Reported-by: syzbot+3bbbade4e1a7ab45ca3b@syzkaller.appspotmail.com Closes: https://lore.kernel.org/linux-hwmon/61233ba1-e5ad-4d7a-ba31-3b5d0adcffcc@roeck-us.net Fixes: 40c3a4454225 ("hwmon: add Corsair Commander Pro driver") Signed-off-by: Marius Zachmann <mail@mariuszachmann.de> Link: https://lore.kernel.org/r/20250619132817.39764-5-mail@mariuszachmann.de Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions