aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLiam Howlett <liam.howlett@oracle.com>2022-11-07 20:11:42 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2022-11-07 12:58:26 -0800
commit59f2f4b8a757412fce372f6d0767bdb55da127a8 (patch)
treef4b518e9d6a7734d2a8c30062101ce219b8b37a8 /include
parentMerge tag 'platform-drivers-x86-v6.1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86 (diff)
downloadlinux-dev-59f2f4b8a757412fce372f6d0767bdb55da127a8.tar.xz
linux-dev-59f2f4b8a757412fce372f6d0767bdb55da127a8.zip
fs/userfaultfd: Fix maple tree iterator in userfaultfd_unregister()
When iterating the VMAs, the maple state needs to be invalidated if the tree is modified by a split or merge to ensure the maple tree node contained in the maple state is still valid. These invalidations were missed, so add them to the paths which alter the tree. Reported-by: syzbot+0d2014e4da2ccced5b41@syzkaller.appspotmail.com Fixes: 69dbe6daf104 (userfaultfd: use maple tree iterator to iterate VMAs) Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions