Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 629cbea2 authored by Matthew Daley's avatar Matthew Daley Committed by Ben Hutchings
Browse files

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: default avatarMatthew Daley <mattd@bugfuzz.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent d79119d4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment