mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 14:14:24 +08:00
88da52ccd6
The WARN_ON_ONCE() in collect_domain_accesses() can be triggered when
trying to link a root mount point. This cannot work in practice because
this directory is mounted, but the VFS check is done after the call to
security_path_link().
Do not use source directory's d_parent when the source directory is the
mount point.
Cc: Günther Noack <gnoack@google.com>
Cc: Paul Moore <paul@paul-moore.com>
Cc: stable@vger.kernel.org
Reported-by: syzbot+bf4903dc7e12b18ebc87@syzkaller.appspotmail.com
Fixes:
|
||
---|---|---|
.. | ||
.kunitconfig | ||
common.h | ||
cred.c | ||
cred.h | ||
fs.c | ||
fs.h | ||
Kconfig | ||
limits.h | ||
Makefile | ||
net.c | ||
net.h | ||
object.c | ||
object.h | ||
ruleset.c | ||
ruleset.h | ||
setup.c | ||
setup.h | ||
syscalls.c | ||
task.c | ||
task.h |