aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorNihar Chaithanya <[email protected]>2024-10-08 20:21:38 +0000
committerDave Kleikamp <[email protected]>2024-10-29 22:43:41 +0000
commita174706ba4dad895c40b1d2277bade16dfacdcd9 (patch)
treed27dd2a19fc2c5b170e20a41b084f35122c73644 /drivers/usb/cdns3/cdns3-ti.c
parentjfs: xattr: check invalid xattr size more strictly (diff)
downloadkernel-a174706ba4dad895c40b1d2277bade16dfacdcd9.tar.gz
kernel-a174706ba4dad895c40b1d2277bade16dfacdcd9.zip
jfs: add a check to prevent array-index-out-of-bounds in dbAdjTree
When the value of lp is 0 at the beginning of the for loop, it will become negative in the next assignment and we should bail out. Reported-by: [email protected] Closes: https://syzkaller.appspot.com/bug?extid=412dea214d8baa3f7483 Tested-by: [email protected] Signed-off-by: Nihar Chaithanya <[email protected]> Signed-off-by: Dave Kleikamp <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions