Files
linux/fs/cifs
Jann Horn c1589311c9 CIFS: fix type confusion in copy offload ioctl
commit 4c17a6d56b upstream.

This might lead to local privilege escalation (code execution as
kernel) for systems where the following conditions are met:

 - CONFIG_CIFS_SMB2 and CONFIG_CIFS_POSIX are enabled
 - a cifs filesystem is mounted where:
  - the mount option "vers" was used and set to a value >=2.0
  - the attacker has write access to at least one file on the filesystem

To attack this, an attacker would have to guess the target_tcon
pointer (but guessing wrong doesn't cause a crash, it just returns an
error code) and win a narrow race.

Signed-off-by: Jann Horn <jann@thejh.net>
Signed-off-by: Steve French <smfrench@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-09-29 19:26:06 +02:00
..
2015-05-20 13:12:51 -05:00
2014-12-10 17:41:02 -08:00
2014-12-14 14:55:45 -06:00
2015-05-20 11:36:16 -05:00
2014-12-14 14:55:57 -06:00
2015-05-20 09:32:21 -05:00
2014-12-14 14:55:45 -06:00
2012-07-24 10:25:13 -05:00
2013-09-08 14:54:24 -05:00