mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-13 14:54:49 +00:00
When pci_pool_alloc fails in mvs_task_prep then task->lldd_task stays NULL but it's later used in mvs_abort_task as slot which is passed to mvs_slot_task_free causing NULL pointer dereference. Just return from mvs_slot_task_free when passed with NULL slot. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=101891 Signed-off-by: Dāvis Mosāns <davispuh@gmail.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Cc: stable@vger.kernel.org Signed-off-by: James Bottomley <JBottomley@Odin.com> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| mv_64xx.c | ||
| mv_64xx.h | ||
| mv_94xx.c | ||
| mv_94xx.h | ||
| mv_chips.h | ||
| mv_defs.h | ||
| mv_init.c | ||
| mv_sas.c | ||
| mv_sas.h | ||