summaryrefslogtreecommitdiff
path: root/include/linux/adxl.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2020-08-12 05:15:18 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2020-08-12 10:22:39 -0700
commit24fb33d40d60bd7d196400e7d5b26ff566fd98b7 (patch)
tree91905714cf8ebad56a8d3a5e889d60d774e5e92e /include/linux/adxl.h
parentfb893de323e2d39f7a1f6df425703a2edbdf56ea (diff)
downloadlinux-next-24fb33d40d60bd7d196400e7d5b26ff566fd98b7.tar.gz
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: syzbot+bbeb1c88016c7db4aa24@syzkaller.appspotmail.com Fixes: e24ab0ef689d "fs: push the getname from do_rmdir into the callers" Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/adxl.h')
0 files changed, 0 insertions, 0 deletions