commit | 8ed1f0e22f49ef42e63875fd2529389a32ff3566 | [log] [tgz] |
---|---|---|
author | Jann Horn <jann@thejh.net> | Sun Aug 16 20:27:01 2015 +0200 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sun Aug 16 12:35:44 2015 -0700 |
tree | 9f388d7ec994747b8703d371b49e1e27921b2533 | |
parent | 1efdb5f0a9243ca8f3460a5ce1b407b06a021f02 [diff] |
fs/fuse: fix ioctl type confusion fuse_dev_ioctl() performed fuse_get_dev() on a user-supplied fd, leading to a type confusion issue. Fix it by checking file->f_op. Signed-off-by: Jann Horn <jann@thejh.net> Acked-by: Miklos Szeredi <miklos@szeredi.hu> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>