commit | b782911b5297c4be0c2de88fc3b36a760eca6321 | [log] [tgz] |
---|---|---|
author | Kirill Tkhai <ktkhai@virtuozzo.com> | Thu Nov 08 12:05:42 2018 +0300 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Wed Feb 13 13:15:13 2019 +0100 |
tree | b74ae0e6193a1f48779a6b9fa0d0cdf794633322 | |
parent | 7407a10de57f5810f3f0e778eb1db0923d24ab16 [diff] |
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>