Re: [patch] cciss: info leak in cciss_ioctl32_passthru()

From: Dan Carpenter
Date: Tue Jun 04 2013 - 07:18:22 EST


On Tue, Jun 04, 2013 at 04:09:10PM +0530, P J P wrote:
> Hello Dan,
> ===
> diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
> index 6374dc1..34971aa 100644
> --- a/drivers/block/cciss.c
> +++ b/drivers/block/cciss.c
> @@ -1201,6 +1201,7 @@ static int cciss_ioctl32_passthru(struct
> block_device *bdev, fmode_t mode,
> int err;
> u32 cp;
>
> + memset(&arg64, 0, sizeof(arg64));
> ...
> ===
>
> This exact same patch was included back in 2010 by Mr Vasiliy Kulikov.
>
> -> https://git.kernel.org/linus/7ab5118d7c2be650bc936894f159dc1c597badae
>
> But there is no entry/log of its reversal. Any idea why was it removed?

No no. Vasily patched cciss_ioctl32_big_passthru() and this patch
changes cciss_ioctl32_passthru().

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/