]> Git Repo - linux.git/commit
scsi: core: Avoid that ATA error handling can trigger a kernel hang or oops
authorBart Van Assche <[email protected]>
Thu, 22 Feb 2018 19:30:20 +0000 (11:30 -0800)
committerMartin K. Petersen <[email protected]>
Fri, 2 Mar 2018 01:16:52 +0000 (20:16 -0500)
commit3be8828fc507cdafe7040a3dcf361a2bcd8e305b
tree2649155f701f97e4094d4943ca60750470f8d3a3
parentfa83e65885b9147e2f2b89fdd4ecf7b4ff91571d
scsi: core: Avoid that ATA error handling can trigger a kernel hang or oops

Avoid that the recently introduced call_rcu() call in the SCSI core
triggers a double call_rcu() call.

Reported-by: Natanael Copa <[email protected]>
Reported-by: Damien Le Moal <[email protected]>
References: https://bugzilla.kernel.org/show_bug.cgi?id=198861
Fixes: 3bd6f43f5cb3 ("scsi: core: Ensure that the SCSI error handler gets woken up")
Signed-off-by: Bart Van Assche <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Tested-by: Damien Le Moal <[email protected]>
Cc: Natanael Copa <[email protected]>
Cc: Damien Le Moal <[email protected]>
Cc: Alexandre Oliva <[email protected]>
Cc: Pavel Tikhomirov <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Johannes Thumshirn <[email protected]>
Cc: <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
drivers/scsi/hosts.c
drivers/scsi/scsi_error.c
drivers/scsi/scsi_lib.c
include/scsi/scsi_cmnd.h
include/scsi/scsi_host.h
This page took 0.058548 seconds and 4 git commands to generate.