mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 23:51:39 +00:00
b0c9a26435
In case of region creation fail in ipc_devlink_create_region(), previously
created regions delete process starts from tainted pointer which actually
holds error code value.
Fix this bug by decreasing region index before delete.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes:
|
||
---|---|---|
.. | ||
iosm_ipc_chnl_cfg.c | ||
iosm_ipc_chnl_cfg.h | ||
iosm_ipc_coredump.c | ||
iosm_ipc_coredump.h | ||
iosm_ipc_debugfs.c | ||
iosm_ipc_debugfs.h | ||
iosm_ipc_devlink.c | ||
iosm_ipc_devlink.h | ||
iosm_ipc_flash.c | ||
iosm_ipc_flash.h | ||
iosm_ipc_imem_ops.c | ||
iosm_ipc_imem_ops.h | ||
iosm_ipc_imem.c | ||
iosm_ipc_imem.h | ||
iosm_ipc_irq.c | ||
iosm_ipc_irq.h | ||
iosm_ipc_mmio.c | ||
iosm_ipc_mmio.h | ||
iosm_ipc_mux_codec.c | ||
iosm_ipc_mux_codec.h | ||
iosm_ipc_mux.c | ||
iosm_ipc_mux.h | ||
iosm_ipc_pcie.c | ||
iosm_ipc_pcie.h | ||
iosm_ipc_pm.c | ||
iosm_ipc_pm.h | ||
iosm_ipc_port.c | ||
iosm_ipc_port.h | ||
iosm_ipc_protocol_ops.c | ||
iosm_ipc_protocol_ops.h | ||
iosm_ipc_protocol.c | ||
iosm_ipc_protocol.h | ||
iosm_ipc_task_queue.c | ||
iosm_ipc_task_queue.h | ||
iosm_ipc_trace.c | ||
iosm_ipc_trace.h | ||
iosm_ipc_uevent.c | ||
iosm_ipc_uevent.h | ||
iosm_ipc_wwan.c | ||
iosm_ipc_wwan.h | ||
Makefile |