lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Wed, 5 Jun 2013 16:53:13 +0200
From:	Jens Axboe <axboe@...nel.dk>
To:	hari krishnan <p.harikrishnan22@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Bug found in block/scsi_ioctl.c

On Wed, Jun 05 2013, hari krishnan wrote:
> I got a kernel crash, and dump is pointing to "IP: [<ffffffff81260e86>]
> sg_scsi_ioctl+0x166/0x3b0".
> 
> Test case:  *I was just deleting few NPIV port to which some of LUN's where
> exported, after sometime I was running parted on some devices"*
> 
> The crash is in sg_scsi_ioctl of block/scsi_ioctl.c.
> From code and dump it seems sg_scsi_ioctl is allocating request by calling
> blk_get_request and assuming it will never fail, but it will fail if device
> is dead, here in this case some of SCSI devices are dead.

It's a known bug, Joe Lawrence has posted a patch to fix it up that will
be muscled into 3.10.

Can you give it a go?

http://www.spinics.net/lists/linux-scsi/msg66294.html

-- 
Jens Axboe

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ