A vulnerability in the Linux kernel's mm/damon/sysfs component involved missing allocation failure checks for a damon_ctx object used during online DAMON parameter updates. This flaw could lead to invalid memory access and memory leaks. The issue has been fixed by adding proper allocation failure checks and correcting the deallocation logic.