diff options
author | Amir Goldstein <amir73il@gmail.com> | 2019-06-19 13:34:44 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-03 14:13:44 +0300 |
commit | b74063b5f16ab816dece79eec1830870d472aa43 (patch) | |
tree | 3a9c26edfd3145f1a3be224140193e4706c7e2ec /lib/mpi/mpiutil.c | |
parent | 993a0821eb5b810bff67152a8005e1107f07a69d (diff) | |
download | linux-b74063b5f16ab816dece79eec1830870d472aa43.tar.xz |
fanotify: update connector fsid cache on add mark
commit c285a2f01d692ef48d7243cf1072897bbd237407 upstream.
When implementing connector fsid cache, we only initialized the cache
when the first mark added to object was added by FAN_REPORT_FID group.
We forgot to update conn->fsid when the second mark is added by
FAN_REPORT_FID group to an already attached connector without fsid
cache.
Reported-and-tested-by: syzbot+c277e8e2f46414645508@syzkaller.appspotmail.com
Fixes: 77115225acc6 ("fanotify: cache fsid in fsnotify_mark_connector")
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions