NetBSD/sys/dev/ata
jdolecek c61cfedcc1 fix use-after-free for ata xfer on bio submission found by KASAN
driver ata_bio hooks read parts of the xfer after ata_exec_xfer()
call in order to determine return value, change so that the hook
doesn't return any value - callers do not care already,
as all I/O requests are asynchronous

this problem was uncovered by recent change for wd(4) to not hold
wd mutex during ata_bio call, the interrupt for the xfer might
thus actually fire immediately

adjust also ata_exec_command driver hooks similarily - remove all
completion and waiting logic from drivers, upper layer ata code
using AT_WAIT/AT_POLL changed to call ata_wait_cmd() itself

PR kern/55169 by Nick Hudson
2020-04-13 10:49:34 +00:00
..
ata_raid_adaptec.c
ata_raid_intel.c use memmove() not memcpy() for overlapping regions. 2019-10-04 12:24:32 +00:00
ata_raid_jmicron.c
ata_raid_nvidia.c
ata_raid_promise.c
ata_raid_subr.c
ata_raid_via.c
ata_raid.c
ata_raidreg.h
ata_raidvar.h
ata_recovery.c fix use-after-free for ata xfer on bio submission found by KASAN 2020-04-13 10:49:34 +00:00
ata_subr.c stop xfer timeouts during recovery, all xfers will be requeued anyway 2020-04-04 22:30:02 +00:00
ata_wdc.c fix use-after-free for ata xfer on bio submission found by KASAN 2020-04-13 10:49:34 +00:00
ata.c fix use-after-free for ata xfer on bio submission found by KASAN 2020-04-13 10:49:34 +00:00
ataconf.h
atareg.h
atavar.h fix use-after-free for ata xfer on bio submission found by KASAN 2020-04-13 10:49:34 +00:00
files.ata
ld_ataraid.c Acquire kernel_lock in the bp->b_iodone callback. 2020-01-17 19:30:51 +00:00
Makefile
sata_subr.c
satafis_subr.c
satafisreg.h
satafisvar.h
satapmp_subr.c fix use-after-free for ata xfer on bio submission found by KASAN 2020-04-13 10:49:34 +00:00
satapmpreg.h
satapmpvar.h
satareg.h
satavar.h
wd.c fix use-after-free for ata xfer on bio submission found by KASAN 2020-04-13 10:49:34 +00:00
wdvar.h New ioctl DIOCGSECTORALIGN returns sector alignment parameters. 2020-03-02 16:01:56 +00:00