CVE-2025-40229

Source
https://cve.org/CVERecord?id=CVE-2025-40229
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40229.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-40229
Downstream
Published
2025-12-04T15:31:20.548Z
Modified
2025-12-05T12:29:56.310387Z
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

Affected versions

v6.*
v6.14
v6.14-rc7
v6.15
v6.15-rc1
v6.15-rc2
v6.15-rc3
v6.15-rc4
v6.15-rc5
v6.15-rc6
v6.15-rc7
v6.16
v6.16-rc1
v6.16-rc2
v6.16-rc3
v6.16-rc4
v6.16-rc5
v6.16-rc6
v6.16-rc7
v6.17
v6.17-rc1
v6.17-rc2
v6.17-rc3
v6.17-rc4
v6.17-rc5
v6.17-rc6
v6.17-rc7
v6.17.1
v6.17.2
v6.17.3
v6.17.4
v6.17.5
v6.18-rc1

Database specific

source
"https://storage.googleapis.com/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/cve-osv-conversion/osv-output/CVE-2025-40229.json"