diff options
| author | Mark Pearson <mpearson-lenovo@squebb.ca> | 2026-05-04 14:01:42 -0400 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-05-10 08:31:34 -0700 |
| commit | 3394e894880a60338a2981dd688fd25e88d79667 (patch) | |
| tree | 9eed87753a78e67989184f85344e281da2efa7e0 /scripts/Makefile.thinlto | |
| parent | 5e5b01ae7a70859fc6ab8a62ac922c232de70970 (diff) | |
watchdog: lenovo_se10_wdt: Fix use-after-free and resource leak risk
Review by sashiko.dev highlighted potential use after free and resource
leak instances.
Set se10_pdev to null to prevent use after free
Remove DMI call back and instead directly call
se10_create_platform_device. Handle error cases appropriately
Link: https://sashiko.dev/#/patchset/20260428124954.1193450-1-mpearson-lenovo%40squebb.ca
Signed-off-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Link: https://lore.kernel.org/r/20260504180159.999189-1-mpearson-lenovo@squebb.ca
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
