summaryrefslogtreecommitdiffstats
path: root/fs/fuse/file.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-11-08 12:05:42 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2019-02-13 13:15:13 +0100
commitb782911b5297c4be0c2de88fc3b36a760eca6321 (patch)
treeb74ae0e6193a1f48779a6b9fa0d0cdf794633322 /fs/fuse/file.c
parent7407a10de57f5810f3f0e778eb1db0923d24ab16 (diff)
downloadlinux-b782911b5297c4be0c2de88fc3b36a760eca6321.tar.bz2
fuse: Verify userspace asks to requeue interrupt that we really sent
When queue_interrupt() is called from fuse_dev_do_write(), it came from userspace directly. Userspace may pass any request id, even the request's we have not interrupted (or even background's request). This patch adds sanity check to make kernel safe against that. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse/file.c')
0 files changed, 0 insertions, 0 deletions