Linux kernel bug fix: platform/loongarch: laptop: Fix possible UAF and simplify generic_acpi_laptop_init()
Subsystem: platform (drivers/platform/loongarch/loongson-laptop.c)
Bug type: use-after-free, severity: unknown
Keywords: double free;UAF
Files changed: drivers/platform/loongarch/loongson-laptop.c
Introduced by Jianmin Lv on 2022-10-12 16:36:20 +0800; fixed by Yang Yingliang on 2022-10-29 16:29:31 +0800 (lifetime: 16 days)