diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-11-08 12:05:42 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2019-02-13 15:15:13 +0300 |
commit | b782911b5297c4be0c2de88fc3b36a760eca6321 (patch) | |
tree | b74ae0e6193a1f48779a6b9fa0d0cdf794633322 /fs/fuse/file.c | |
parent | 7407a10de57f5810f3f0e778eb1db0923d24ab16 (diff) | |
download | linux-b782911b5297c4be0c2de88fc3b36a760eca6321.tar.xz |
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