linux/drivers/platform/x86/intel
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
..
atomisp2 platform/x86: intel_atomisp2_led: Also turn off the always-on camera LED on the Asus T100TAF 2022-07-10 19:37:19 +02:00
ifs platform/x86/intel/ifs: Disable irq during one load stage 2024-04-29 10:52:02 +02:00
int1092 platform/x86: intel: int1092: intel_sar: Convert to platform remove callback returning void 2023-03-07 12:20:31 +01:00
int3472 platform/x86: int3472: Switch to devm_get_gpiod() 2023-10-06 13:34:58 +03:00
pmc platform/x86:intel/pmc: Enable S0ix blocker show in Lunar Lake 2024-04-29 13:18:25 +02:00
pmt platform/x86/intel/pmt: telemetry: Export API to read telemetry 2023-12-04 14:53:43 +01:00
speed_select_if platform/x86: ISST: fix use-after-free in tpmi_sst_dev_remove() 2024-05-27 11:25:33 +02:00
telemetry platform/x86: intel_telemetry: Fix kernel doc descriptions 2023-11-21 10:09:04 +02:00
uncore-frequency platform-drivers-x86 for v6.10-1 2024-05-16 09:14:50 -07:00
wmi platform/x86: wmi: Do not instantiate older WMI drivers multiple times 2024-03-12 12:47:35 +02:00
bxtwc_tmu.c platform/x86: intel: bxtwc_tmu: Convert to platform remove callback returning void 2023-03-07 12:20:21 +01:00
bytcrc_pwrsrc.c platform/x86/intel: bytcrc_pwrsrc: Convert to platform remove callback returning void 2023-09-28 13:26:54 +03:00
chtdc_ti_pwrbtn.c platform/x86: intel: chtdc_ti_pwrbtn: Convert to platform remove callback returning void 2023-03-07 12:20:23 +01:00
chtwc_int33fe.c usb: typec: change altmode SVID to u16 entry 2023-12-15 13:53:45 +01:00
crystal_cove_charger.c platform/x86: intel_crystal_cove_charger: Fix IRQ masking / unmasking 2022-01-24 10:41:46 +01:00
hid.c platform/x86/intel/hid: Add Lunar Lake and Arrow Lake support 2024-04-08 18:24:07 +03:00
int0002_vgpio.c platform/x86: intel: int0002_vgpio: Pass IRQF_ONESHOT to request_irq() 2024-02-19 12:41:05 +01:00
ishtp_eclite.c
Kconfig platform/x86: Add intel_bytcrc_pwrsrc driver 2023-03-16 14:42:30 +01:00
Makefile platform/x86: Add intel_bytcrc_pwrsrc driver 2023-03-16 14:42:30 +01:00
mrfld_pwrbtn.c platform/x86: intel: mrfld_pwrbtn: Convert to platform remove callback returning void 2023-03-07 12:20:35 +01:00
oaktrail.c Normalise "name (ad@dr)" MODULE_AUTHORs to "name <ad@dr>" 2024-03-06 13:07:39 -08:00
punit_ipc.c platform/x86: intel: punit_ipc: Drop empty platform remove function 2023-02-02 22:48:20 +01:00
rst.c platform/x86/intel/rst: drop owner assignment 2024-04-08 16:16:55 +02:00
sdsi.c platform/x86/intel/sdsi: Add attribute to read the current meter state 2024-04-15 16:05:59 +02:00
smartconnect.c platform/x86/intel/smartconnect: drop owner assignment 2024-04-08 16:16:56 +02:00
tpmi.c platform/x86/intel/tpmi: Add additional TPMI header fields 2024-04-29 13:01:08 +02:00
turbo_max_3.c
vbtn.c platform-drivers-x86 for v6.10-1 2024-05-16 09:14:50 -07:00
vsec.c platform/x86/intel/vsec: Remove nuisance message 2024-03-12 12:47:49 +02:00
vsec.h platform/x86/intel/vsec: Add base address field 2023-12-04 14:53:43 +01:00