]> git.karo-electronics.de Git - mv-sheeva.git/commit
block: cciss: fix information leak to userland
authorVasiliy Kulikov <segooon@gmail.com>
Thu, 28 Oct 2010 12:31:55 +0000 (06:31 -0600)
committerJens Axboe <jaxboe@fusionio.com>
Thu, 28 Oct 2010 12:31:55 +0000 (06:31 -0600)
commit7ab5118d7c2be650bc936894f159dc1c597badae
treeca1159b578e40251f79e25acd31a9d668bffece5
parent027b180d7405f2b2df25e2a8b1b796b00f3773cf
block: cciss: fix information leak to userland

Structure IOCTL_Command_struct is copied to userland with
some padding fields at the end of the struct unitialized.
It leads to leaking of contents of kernel stack memory.

Signed-off-by: Vasiliy Kulikov <segooon@gmail.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/cciss.c