mm/damon/core: initialize damo_filter->list from damos_new_filter()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5f1fc67f2cb8d3035d3acd273b48b97835af8afd and Kernel da7beebb49c643cd03c54447ed66595936a7a1ce.
In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: initialize damo_filter->list from damos_new_filter() damos_new_filter() is not initializing the list field of newly allocated filter object. However, DAMON sysfs interface and DAMON_RECLAIM are not initializing it after calling damos_new_filter(). As a result, accessing uninitialized memory is possible. Actually, adding multiple DAMOS filters via DAMON sysfs interface caused NULL pointer dereferencing. Initialize the field just after the allocation from damos_new_filter().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.3, >=98def236f63c66629fb6b2d4b69cecffc5b46539 <5f1fc67f2cb8d3035d3acd273b48b97835af8afd, >=98def236f63c66629fb6b2d4b69cecffc5b46539 <da7beebb49c643cd03c54447ed66595936a7a1ce | 5f1fc67f2cb8d3035d3acd273b48b97835af8afd, da7beebb49c643cd03c54447ed66595936a7a1ce |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket