floppy: don't write kernel-only members to FDRAWCMD ioctl output
commit 2145e15e upstream. Do not leak kernel-only floppy_raw_cmd structure members to userspace. This includes the linked-list pointer and the pointer to the allocated DMA space. Signed-off-by:Matthew Daley <mattd@bugfuzz.com> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org> References: CVE-2014-1738 Signed-off-by:
Kamal Mostafa <kamal@canonical.com>
Showing
Please register or sign in to comment