diff options
| author | Al Viro <[email protected]> | 2020-08-12 04:15:18 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-08-12 17:22:39 +0000 |
| commit | 24fb33d40d60bd7d196400e7d5b26ff566fd98b7 (patch) | |
| tree | 91905714cf8ebad56a8d3a5e889d60d774e5e92e /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | Merge tag 'tag-chrome-platform-for-v5.9' of git://git.kernel.org/pub/scm/linu... (diff) | |
| download | kernel-24fb33d40d60bd7d196400e7d5b26ff566fd98b7.tar.gz kernel-24fb33d40d60bd7d196400e7d5b26ff566fd98b7.zip | |
fix breakage in do_rmdir()
syzbot reported and bisected a use-after-free due to the recent init
cleanups.
The putname() should happen only after we'd *not* branched to retry,
same as it's done in do_unlinkat().
Reported-by: [email protected]
Fixes: e24ab0ef689d "fs: push the getname from do_rmdir into the callers"
Cc: Christoph Hellwig <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions
