aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDeepak Sharma <deepak.sharma.472935@gmail.com>2025-09-26 20:28:11 +0530
committerJiri Kosina <jkosina@suse.com>2025-10-14 11:46:49 +0200
commit362f21536966d7039da1de762f28f4ad44565acc (patch)
treee0e2767018b5beec65ed4d34042d86467f92c8cd /tools/perf/scripts/python/exported-sql-viewer.py
parentHID: intel-thc-hid: intel-quickspi: Add ARL PCI Device Id's (diff)
downloadlinux-362f21536966d7039da1de762f28f4ad44565acc.tar.gz
linux-362f21536966d7039da1de762f28f4ad44565acc.zip
HID: cp2112: Add parameter validation to data length
Syzkaller reported a stack OOB access in cp2112_write_req caused by lack of parameter validation for the user input in I2C SMBUS ioctl in cp2112 driver Add the parameter validation for the data->block[0] to be bounded by I2C_SMBUS_BLOCK_MAX + the additional compatibility padding [jkosina@suse.com: fix whitespace damage] Reported-by: syzbot+7617e19c8a59edfbd879@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=7617e19c8a59edfbd879 Tested-by: syzbot+7617e19c8a59edfbd879@syzkaller.appspotmail.com Signed-off-by: Deepak Sharma <deepak.sharma.472935@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions