diff options
| author | Edward Adam Davis <eadavis@qq.com> | 2024-08-24 04:25:23 +0300 |
|---|---|---|
| committer | Dave Kleikamp <dave.kleikamp@oracle.com> | 2024-08-27 19:32:45 +0300 |
| commit | d64ff0d2306713ff084d4b09f84ed1a8c75ecc32 (patch) | |
| tree | 8bfa346f07f579eec4dadea658ec98050fd030af /drivers/usb/cdns3/cdns3-debug.h | |
| parent | d6c1b3599b2feb5c7291f5ac3a36e5fa7cedb234 (diff) | |
| download | linux-d64ff0d2306713ff084d4b09f84ed1a8c75ecc32.tar.xz | |
jfs: check if leafidx greater than num leaves per dmap tree
syzbot report a out of bounds in dbSplit, it because dmt_leafidx greater
than num leaves per dmap tree, add a checking for dmt_leafidx in dbFindLeaf.
Shaggy:
Modified sanity check to apply to control pages as well as leaf pages.
Reported-and-tested-by: syzbot+dca05492eff41f604890@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=dca05492eff41f604890
Signed-off-by: Edward Adam Davis <eadavis@qq.com>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions
