An issue was discovered in the Linux kernel before 6.2.9. A use-after-free was found in bq24190_remove in drivers/power/supply/bq24190_charger.c. It could allow a local attacker to crash the system due to a race condition.
cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.2.9
git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=47c29d69212911f50bdcdd0564b5999a559010d4
github.com/torvalds/linux/commit/47c29d69212911f50bdcdd0564b5999a559010d4
lore.kernel.org/all/CAHk-=whcaHLNpb7Mu_QX7ABwPgyRyfW-V8=v4Mv0S22fpjY4JQ%40mail.gmail.com/
lore.kernel.org/lkml/20230309174728.233732-1-zyytlz.wz%40163.com/