85449b28ff
[ Upstream commit 919ddf8336f0b84c0453bac583808c9f165a85c2 ]
aac_probe_one() calls hardware-specific init functions through the
aac_driver_ident::init pointer, all of which eventually call down to
aac_init_adapter().
If aac_init_adapter() fails after allocating memory for aac_dev::queues,
it frees the memory but does not clear that member.
After the hardware-specific init function returns an error,
aac_probe_one() goes down an error path that frees the memory pointed to
by aac_dev::queues, resulting.in a double-free.
Reported-by: Michael Gordon <m.gordon.zelenoborsky@gmail.com>
Link: https://bugs.debian.org/1075855
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
aachba.c | ||
aacraid.h | ||
commctrl.c | ||
comminit.c | ||
commsup.c | ||
dpcsup.c | ||
linit.c | ||
nark.c | ||
rkt.c | ||
rx.c | ||
sa.c | ||
src.c |