Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2023-53555

mm/damon/core: initialize damo_filter->list from damos_new_filter()

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 98def236f63c66629fb6b2d4b69cecffc5b46539 to < da7beebb49c643cd03c54447ed66595936a7a1ceaffected
  • 98def236f63c66629fb6b2d4b69cecffc5b46539 to < 5f1fc67f2cb8d3035d3acd273b48b97835af8afdaffected

Linux Linux

Default version status: affected

  • 6.3affected
  • 0 to < 6.3unaffected
  • 6.4.11 to ≤ 6.4.*unaffected
  • 6.5 to ≤ *unaffected

References