VDB

CVE-2025-40228

CVE-2025-40228 PUBLISHED

mm/damon/sysfs: catch commit test ctx alloc failure

Reported by linux · Published December 4, 2025

In the Linux kernel, the following vulnerability has been resolved: mm/damon/sysfs: catch commit test ctx alloc failure Patch series "mm/damon/sysfs: fix commit test damon_ctx [de]allocation". DAMON sysfs interface dynamically allocates and uses a damon_ctx object for testing if given inputs for online DAMON parameters update is valid. The object is being used without an allocation failure check, and leaked when the test succeeds. Fix the two bugs. This patch (of 2): The damon_ctx for testing online DAMON parameters commit inputs is used without its allocation failure check. This could result in an invalid memory access. Fix it by directly returning an error when the allocation failed.

EPSS 0.20% · 9.5th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxf0c5118ebb0eb7e4fd6f0d2ace3315ca141b317f, 5b3609d9b9650bdea0bfdf643e0ce57e1aed67fc

Risk scores

EPSS Score
0.20%
9.5th percentile

Affected products

VendorProductVersions
LinuxLinux4c9ea539ad59ec60676930dacee02b7adde2e0c0, 4c9ea539ad59ec60676930dacee02b7adde2e0c0
LinuxLinux6.15, 0, 6.17.6
LinuxLinux6.18, 0, 6.17.6
linuxlinux_kernel6.15, 6.15

Timeline

  • Dec 4, 2025 CVE Published
  • Dec 5, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (147 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (154 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score
  • Jun 17, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-40228
vulnetix vdb fixes CVE-2025-40228

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40228/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›