diff options
| author | Edward Adam Davis <[email protected]> | 2024-08-24 01:25:23 +0000 |
|---|---|---|
| committer | Dave Kleikamp <[email protected]> | 2024-08-27 16:32:45 +0000 |
| commit | d64ff0d2306713ff084d4b09f84ed1a8c75ecc32 (patch) | |
| tree | 8bfa346f07f579eec4dadea658ec98050fd030af /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | jfs: Fix uaf in dbFreeBits (diff) | |
| download | kernel-d64ff0d2306713ff084d4b09f84ed1a8c75ecc32.tar.gz kernel-d64ff0d2306713ff084d4b09f84ed1a8c75ecc32.zip | |
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: [email protected]
Closes: https://syzkaller.appspot.com/bug?extid=dca05492eff41f604890
Signed-off-by: Edward Adam Davis <[email protected]>
Signed-off-by: Dave Kleikamp <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
