VDB

CVE-2026-72178

CVE-2026-72178 PUBLISHED

mm/damon/core: always put unsuccessfully committed target pids

Reported by linux · Published August 15, 2026

In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: always put unsuccessfully committed target pids damon_commit_target() puts and gets the destination and the source target pids. It puts the destination target pid because it will be overwritten by the source target pid. It gets the source pid because the caller is supposed to eventually put the pids. In more detail, the caller will call damon_destroy_ctx() after damon_commit_ctx() to destroy the entire source context. And in this case, [f]vaddr operation set's cleanup_target() callback will put the pids. The commit operation is made at the context level. The operation can fail in multiple places including in the middle and after the targets commit operations. For any such failures, immediately the error is returned to the damon_commit_ctx() caller. If some or all of the source target pids were committed to the destination during the unsuccessful context commit attempt, those pids should be put twice. The source context will do the put operations using the above explained routine. However, let's suppose the destination context was not originally using [f]vaddr operation set and the commit failed before the ops of the source context is committed. The destination does not have the cleanup_target() ops callback, so it cannot put the pids via the damon_destroy_ctx(). As a result, the pids are leaked. The issue in the real world would be not very common. The commit feature is for changing parameters of running DAMON context while inheriting internal status like the monitoring results. The monitoring results of a physical address range ain't have things that are beneficial to be inherited to a virtual address ranges monitoring. So the problem-causing DAMON control would be not very common in the real world. That said, it is a supported feature. And damon_commit_target() failure due to memory allocation is relatively realistic [1] if there are a huge number of target regions. Fix by putting the pids in the commit operation in case of the failures. The issue was discovered [2] by Sashiko.

EPSS 0.21% · 11.0th percentile

Fixed versions

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

PackageEcosystemFixed in
kernel6.18-modules-extra-commonAmazon Linux1:6.18.41-94.142.amzn2023
LinuxLinux6.11

Risk scores

EPSS Score
0.21%
11.0th percentile

Affected products

VendorProductVersions
LinuxLinux83dc7bbaecae6e69e338355e9a137f0e7a0ecc40, 83dc7bbaecae6e69e338355e9a137f0e7a0ecc40, 83dc7bbaecae6e69e338355e9a137f0e7a0ecc40
LinuxLinux6.11, 0, 6.12.97
amazon:2023kernel6.18-modules-extra-common0
LinuxLinux7.2, 7.1.5, 6.18.40
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.120
amazon:2023kernel6.18-headers0
amazon:2023kernel6.180
amazon:2023bpftool6.120
amazon:2023kernel-livepatch-6.12.100-125.1790
amazon:2023perf6.180
amazon:2023kernel-livepatch-6.18.41-94.1420
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.18-modules-extra0
amazon:2023perf6.120
amazon:2023microvm-kernel6.180
linuxlinux_kernel6.11, 6.11, 6.11

…and 7 more

Timeline

  • Aug 15, 2026 Coalition ESS Score
  • Aug 15, 2026 CVE Published
  • Aug 17, 2026 CVE Updated
  • Aug 19, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (14 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-72178
vulnetix vdb fixes CVE-2026-72178

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-2026-72178/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 ›