https://github.com/torvalds/linux
Revision 2a5f07b5ec098edc69e05fdd2f35d3fbb1235723 authored by Tejun Heo on 01 November 2010, 10:39:19 UTC, committed by Jeff Garzik on 12 November 2010, 22:10:51 UTC
SCSI commands may be issued between __scsi_add_device() and dev->sdev
assignment, so it's unsafe for ata_qc_complete() to dereference
dev->sdev->locked without checking whether it's NULL or not.  Fix it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: stable@kernel.org
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
1 parent a0a6da1
Raw File
Tip revision: 2a5f07b5ec098edc69e05fdd2f35d3fbb1235723 authored by Tejun Heo on 01 November 2010, 10:39:19 UTC
libata: fix NULL sdev dereference race in atapi_qc_complete()
Tip revision: 2a5f07b
Kconfig
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.
#
mainmenu "Linux/$ARCH $KERNELVERSION Kernel Configuration"

config SRCARCH
	string
	option env="SRCARCH"

source "arch/$SRCARCH/Kconfig"
back to top