Commit 413ba910 authored by Amir Goldstein's avatar Amir Goldstein
Browse files

ovl: fix dentry reference leak after changes to underlying layers

syzbot excercised the forbidden practice of moving the workdir under
lowerdir while overlayfs is mounted and tripped a dentry reference leak.

Fixes: c63e56a4

 ("ovl: do not open/llseek lower file with upper sb_writers held")
Reported-and-tested-by: default avatar <syzbot+8608bb4553edb8c78f41@syzkaller.appspotmail.com>
Signed-off-by: default avatarAmir Goldstein <amir73il@gmail.com>
parent 98b1cc82
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment