https://github.com/torvalds/linux
Revision 0fc13c8995cd96f4123de400c71c223d80400ed9 authored by Stephen M. Cameron on 17 December 2010, 08:01:37 UTC, committed by Jens Axboe on 17 December 2010, 08:01:37 UTC
If you delete a logical drive, and then run BLKRRPART (e.g. via fdisk)
on a logical drive which is "after" the deleted logical drive in the h->drv[]
array, then cciss_revalidate panics because it will access the null pointer
h->drv[x] when x hits the deleted drive.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Cc: stable@kernel.org
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
1 parent 72d4cd9
History
Tip revision: 0fc13c8995cd96f4123de400c71c223d80400ed9 authored by Stephen M. Cameron on 17 December 2010, 08:01:37 UTC
cciss: fix cciss_revalidate panic
Tip revision: 0fc13c8
File Mode Size
apparmor
integrity
keys
selinux
smack
tomoyo
Kconfig -rw-r--r-- 6.8 KB
Makefile -rw-r--r-- 938 bytes
capability.c -rw-r--r-- 23.2 KB
commoncap.c -rw-r--r-- 25.9 KB
device_cgroup.c -rw-r--r-- 11.8 KB
inode.c -rw-r--r-- 8.7 KB
lsm_audit.c -rw-r--r-- 8.7 KB
min_addr.c -rw-r--r-- 1.3 KB
security.c -rw-r--r-- 32.0 KB

back to top