CVE-2025-40229

Source
https://cve.org/CVERecord?id=CVE-2025-40229
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40229.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-40229
Downstream
Published
2025-12-04T15:31:20.548Z
Modified
2026-03-09T23:54:10.622414Z
Summary
mm/damon/core: fix potential memory leak by cleaning ops_filter in damon_destroy_scheme
Details

In the Linux kernel, the following vulnerability has been resolved:

mm/damon/core: fix potential memory leak by cleaning opsfilter in damondestroy_scheme

Currently, damondestroyscheme() 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 opsfilter are properly freed in damondestroy_scheme(), preventing potential memory leaks.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40229.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ab82e57981d0e4cb46d2817e7b65b9d5fdcf3832
Fixed
ff8dcf621a4172f4a6d42cbbb25d21659d3ac300
Fixed
7071537159be845a5c4ed5fb7d3db25aa4bd04a3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40229.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.15.0
Fixed
6.17.6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40229.json"