Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
USB: core: limit access to rawdescriptors which were not allocated
When using systemcall to read the rawdescriptors, make sure we won't access to the rawdescriptors never allocated, which are number exceed the USB_MAXCONFIG. Reported-by: syzbot+256e56ddde8b8957eabd@syzkaller.appspotmail.com Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
- Loading branch information