floppy: ignore kernel-only members in FDRAWCMD ioctl input
commit ef87dbe7 upstream. Always clear out these floppy_raw_cmd struct members after copying the entire structure from userspace so that the in-kernel version is always valid and never left in an interdeterminate state. Signed-off-by:Matthew Daley <mattd@bugfuzz.com> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org> References: CVE-2014-1737 Signed-off-by:
Kamal Mostafa <kamal@canonical.com>
Showing
Please register or sign in to comment