diff options
author | Vasiliy Kovalev <kovalev@altlinux.org> | 2024-11-19 18:58:17 +0300 |
---|---|---|
committer | Amir Goldstein <amir73il@gmail.com> | 2024-11-20 12:23:04 +0300 |
commit | c8b359dddb418c60df1a69beea01d1b3322bfe83 (patch) | |
tree | 544c9498f5e0615df5455c8f43ecc941ec73dd46 /tools/perf/scripts/python | |
parent | d66907b51ba07450bf9c6fb94364e3bf3f5e4c04 (diff) | |
download | linux-c8b359dddb418c60df1a69beea01d1b3322bfe83.tar.xz |
ovl: Filter invalid inodes with missing lookup function
Add a check to the ovl_dentry_weird() function to prevent the
processing of directory inodes that lack the lookup function.
This is important because such inodes can cause errors in overlayfs
when passed to the lowerstack.
Reported-by: syzbot+a8c9d476508bd14a90e5@syzkaller.appspotmail.com
Link: https://syzkaller.appspot.com/bug?extid=a8c9d476508bd14a90e5
Suggested-by: Miklos Szeredi <miklos@szeredi.hu>
Link: https://lore.kernel.org/linux-unionfs/CAJfpegvx-oS9XGuwpJx=Xe28_jzWx5eRo1y900_ZzWY+=gGzUg@mail.gmail.com/
Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions