CVE-2026-53334
mm/damon/reclaim: handle ctx allocation failure
Reported by linux · Published July 1, 2026
In the Linux kernel, the following vulnerability has been resolved: mm/damon/reclaim: handle ctx allocation failure Patch series "mm/damon/{reclaim,lru_sort}: handle ctx allocation failures". DAMON_RECLAIM and DAMON_LRU_SORT could dereference NULL pointers if their damon_ctx object allocations fail. The bugs are expected to happen infrequently because the allocations are arguably too small to fail on common setups. But theoretically they are possible and the consequences are bad. Fix those. The issues were discovered [1] by Sashiko. This patch (of 2): DAMON_RECLAIM allocates the damon_ctx object for its kdamond in its init function. damon_reclaim_enabled_store() wrongly assumes the allocation will always succeed once tried. If the damon_ctx allocation was failed, therefore, code execution reaches to damon_commit_ctx() while 'ctx' is NULL. As a result, it dereferences the NULL 'ctx' pointer. Avoid the NULL dereference by returning -ENOMEM if 'ctx' is NULL.
EPSS 0.17% · 6.4th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf6.18 | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| kernel6.18 | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.36-69.134.amzn2023 |
| linux_kernel | linux | 7.0.13, 6.18.36 |
| Linux | Linux | 7e2ed8a29427af534bf2cb9b8bc51762b8b6e654, 66bc00ea37fa8ec14be5a3909d067a5967ef234b, 635b45ce61de53a9357e28ac97461428cdb650f0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 3f7a914ab9a5e46cf8aac7de270f02aa3f63de04, 3f7a914ab9a5e46cf8aac7de270f02aa3f63de04, 3f7a914ab9a5e46cf8aac7de270f02aa3f63de04 |
| Linux | Linux | 6.18, 0, 6.18.36 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| Linux | Linux | 3f7a914ab9a5e46cf8aac7de270f02aa3f63de04, 7.1, 7.0.13 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel-livepatch-6.18.36-69.134 | 0 |
| linux | linux_kernel | 6.18, 6.18, 6.18 |
Timeline
- Jul 1, 2026 CVE Published
- Jul 2, 2026 EPSS Score (11 in total, the first dated here)
- Jul 2, 2026 Coalition ESS Score
- Jul 5, 2026 Security Advisory (17 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (14 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-53334
vulnetix vdb fixes CVE-2026-53334
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-53334/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart