mm/damon/stat: fix memory leak on damon_start() failure in damon_stat_start()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 50bc1d7e0f3bb6932c8dc5da0907eead0790176b, Kernel 8a62c58411cbd748d7aeab0e5b0963e33ff47a7a and Kernel e04ed278d25bf15769800bf6e35c6737f137186f.
In the Linux kernel, the following vulnerability has been resolved: mm/damon/stat: fix memory leak on damon_start() failure in damon_stat_start() Destroy the DAMON context and reset the global pointer when damon_start() fails. Otherwise, the context allocated by damon_stat_build_ctx() is leaked, and the stale damon_stat_context pointer will be overwritten on the next enable attempt, making the old allocation permanently unreachable.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.17, >=369c415e60732b7c8ed33368891581246f580d7a <50bc1d7e0f3bb6932c8dc5da0907eead0790176b, >=369c415e60732b7c8ed33368891581246f580d7a <8a62c58411cbd748d7aeab0e5b0963e33ff47a7a, >=369c415e60732b7c8ed33368891581246f580d7a <e04ed278d25bf15769800bf6e35c6737f137186f | 50bc1d7e0f3bb6932c8dc5da0907eead0790176b, 8a62c58411cbd748d7aeab0e5b0963e33ff47a7a, e04ed278d25bf15769800bf6e35c6737f137186f |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket