A use-after-free flaw was found in xgene_hwmon_remove in drivers/hwmon/xgene-hwmon.c in the Hardware Monitoring Linux Kernel Driver (xgene-hwmon). This flaw could allow a local attacker to crash the system due to a race problem. This vulnerability could even lead to a kernel information leak problem.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://lore.kernel.org/all/20230318122758.2140868-1-linux%40roeck-us.net/ | |
https://lists.debian.org/debian-lts-announce/2023/05/msg00005.html | third party advisory mailing list |
https://lists.debian.org/debian-lts-announce/2023/05/msg00006.html | third party advisory mailing list |
https://github.com/torvalds/linux/commit/cb090e64cf25602b9adaf32d5dfc9c8bec493cd1 | patch |