linux/drivers/platform/x86/intel/speed_select_if
Harshit Mogalapalli a4edf675ba platform/x86: ISST: fix use-after-free in tpmi_sst_dev_remove()
In tpmi_sst_dev_remove(), tpmi_sst is dereferenced after being freed.
Fix this by reordering the kfree() post the dereference.

Fixes: 9d1d36268f ("platform/x86: ISST: Support partitioned systems")
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Link: https://lore.kernel.org/r/20240517144946.289615-1-harshit.m.mogalapalli@oracle.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2024-05-27 11:25:33 +02:00
..
isst_if_common.c platform-drivers-x86 for v6.10-1 2024-05-16 09:14:50 -07:00
isst_if_common.h platform/x86: ISST: Add API version of the target 2023-03-07 12:08:30 +01:00
isst_if_mbox_msr.c
isst_if_mbox_pci.c
isst_if_mmio.c platform/x86: intel_speed_select_if: Use devm_ioremap_resource 2023-10-04 11:10:31 +03:00
isst_tpmi_core.c platform/x86: ISST: fix use-after-free in tpmi_sst_dev_remove() 2024-05-27 11:25:33 +02:00
isst_tpmi_core.h platform/x86: ISST: Add suspend/resume callbacks 2023-03-16 15:18:02 +01:00
isst_tpmi.c platform/x86: ISST: Add suspend/resume callbacks 2023-03-16 15:18:02 +01:00
Kconfig platform/x86: ISST: Enumerate TPMI SST and create framework 2023-03-16 15:18:02 +01:00
Makefile platform/x86: ISST: Enumerate TPMI SST and create framework 2023-03-16 15:18:02 +01:00