VDB

CVE-2026-46020

CVE-2026-46020 PUBLISHED

mm/damon/core: validate damos_quota_goal->nid for node_mem_{used,free}_bp

Reported by linux · Published May 27, 2026

In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: validate damos_quota_goal->nid for node_mem_{used,free}_bp Patch series "mm/damon/core: validate damos_quota_goal->nid". node_mem[cg]_{used,free}_bp DAMOS quota goals receive the node id. The node id is used for si_meminfo_node() and NODE_DATA() without proper validation. As a result, privileged users can trigger an out of bounds memory access using DAMON_SYSFS. Fix the issues. The issue was originally reported [1] with a fix by another author. The original author announced [2] that they will stop working including the fix that was still in the review stage. Hence I'm restarting this. This patch (of 2): Users can set damos_quota_goal->nid with arbitrary value for node_mem_{used,free}_bp. But DAMON core is using those for si_meminfo_node() without the validation of the value. This can result in out of bounds memory access. The issue can actually triggered using DAMON user-space tool (damo), like below. $ sudo ./damo start --damos_action stat \ --damos_quota_goal node_mem_used_bp 50% -1 \ --damos_quota_interval 1s $ sudo dmesg [...] [ 65.565986] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000098 Fix this issue by adding the validation of the given node. If an invalid node id is given, it returns 0% for used memory ratio, and 100% for free memory ratio.

EPSS 0.12% · 2.1th percentile

Fixed versions

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

PackageEcosystemFixed in
kernel-livepatch-6.18.30-61.116Amazon Linux1:1.0-0.amzn2023
python3-perf6.18Amazon Linux1:6.18.30-61.116.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.30-61.116.amzn2023
bpftool6.18Amazon Linux1:6.18.30-61.116.amzn2023
perf6.18Amazon Linux1:6.18.30-61.116.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.30-61.116.amzn2023

Risk scores

EPSS Score
0.12%
2.1th percentile

Affected products

VendorProductVersions
LinuxLinux0e1c773b501f33437d87b72c7d26080361e224b1, 0e1c773b501f33437d87b72c7d26080361e224b1, 0e1c773b501f33437d87b72c7d26080361e224b1
LinuxLinux6.16, 0, 6.18.27
amazon:2023kernel-livepatch-6.18.30-61.1160
amazon:2023python3-perf6.180
amazon:2023kernel6.18-tools-devel0
amazon:2023bpftool6.180
amazon:2023perf6.180
amazon:2023kernel6.18-modules-extra0
LinuxLinux7.1, 0e1c773b501f33437d87b72c7d26080361e224b1, 0e1c773b501f33437d87b72c7d26080361e224b1
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.180
linuxlinux_kernel6.16, 6.16, 6.16
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-modules-extra-common0

Timeline

  • May 27, 2026 CVE Published
  • May 28, 2026 EPSS Score (14 in total, the first dated here)
  • May 29, 2026 Security Advisory (131 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Jun 16, 2026 CVE Updated
  • Aug 11, 2026 Distribution Patch (128 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-46020
vulnetix vdb fixes CVE-2026-46020

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-46020/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 ›