mm/damon/ops-common: handle extreme intervals in damon_hot_score()
In the Linux kernel, the following vulnerability has been resolved: mm/damon/ops-common: handle extreme intervals in damon_hot_score() Fix three issues in damon_hot_score() that comes from wrong handling of extreme (zero or too high) monitoring intervals user setup. When the user sets sampling interval zero, damon_max_nr_accesses(), which is called from damon_hot_score(), causes a divide-by-zero. Needless to say, it is a problem. When the user sets the aggregation interval zero, the function returns zero. It is wrong, since the real maximum nr_acceses in the setup should be one. Worse yet, it can cause another divide-by-zero from its caller, damon_hot_score(), since it uses damon_max_nr_accesses() return value as a denominator. When the user sets the aggregation interval very high, damon_hot_score() could return a value out of [0, DAMOS_MAX_SCORE] range. Since the return value is used as an index to the regions_score_histogram array, which is DAMOS_MAX_SCORE+1 size, it causes out of bounds array access. The issues can be relatively easily reproduced like below. The sysfs write permission is required, though. # ./damo start --damos_action lru_prio --damos_quota_space 100M \ --damos_quota_interval 1s # cd /sys/kernel/mm/damon/admin/kdamonds/0 # echo 0 > contexts/0/monitoring_attrs/intervals/sample_us # echo 0 > contexts/0/monitoring_attrs/intervals/aggr_us # echo commit > state # dmesg [...] [ 131.329762] Oops: divide error: 0000 [#1] SMP NOPTI [...] [ 131.336089] RIP: 0010:damon_hot_score+0x27/0xd0 [...] Fix the divide-by-zero intervals problems by explicitly handling the zero intervals in damon_max_nr_accesses(). Fix the out-of-bound array access by applying [0, DAMOS_MAX_SCORE] bounds before returning from damon_hot_score(). The issue was discovered [1] by Sashiko.
- Published
- Jul 25, 2026
- Updated
- Aug 17, 2026
- EPSS
- 0.2% · 7th percentile
- CWE
- —
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
0
Monitor
Low priority for now.
- CVSS
- 0 / 40 · —
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
Affected systems
—
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 5.16affected
- 198f0f4c58b9f481e4e51c8c70a6ab9852bbab7f and later · before 58321b4e6e4f0f412069ab27ccdd56292757343aaffected · git
- 198f0f4c58b9f481e4e51c8c70a6ab9852bbab7f and later · before 74fef68d521150281e36cdaa20e9e1ee3e3aa146affected · git
- 198f0f4c58b9f481e4e51c8c70a6ab9852bbab7f and later · before ef2ae10a4582bc92b7e944181bbd2f87f3d30f3aaffected · git
- 198f0f4c58b9f481e4e51c8c70a6ab9852bbab7f and later · before 9c8f31eaae6140ecadec0c07320498a944556de2affected · git
- 198f0f4c58b9f481e4e51c8c70a6ab9852bbab7f and later · before 76e415ea88d20f022ed5cfcf78c50e156a267e91affected · git
- 198f0f4c58b9f481e4e51c8c70a6ab9852bbab7f and later · before 35d4a3cf70a855b50e53189ac2f8463e20a02046affected · git
- before 5.16not affected · semver
- 6.1.178 and later · up to and including 6.1.*not affected · semver
- 6.6.145 and later · up to and including 6.6.*not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.180-1 | 6.1.180-1 |
| Debian:12 | linux-6.12 | before 6.12.100-1~deb12u1 | 6.12.100-1~deb12u1 |
| Debian:13 | linux | before 6.12.96-1 | 6.12.96-1 |
| Debian:14 | linux | before 7.1.4-1 | 7.1.4-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-74705udp: fix potential use-after-free in tunnel segmentation40Plan
- CVE-2026-74612veth: fix skb length accounting after XDP frag adjustment40Plan
- CVE-2026-74475vxlan: use neigh_ha_snapshot() in route_shortcircuit()40Plan
- CVE-2026-74309vdpa/octeon_ep: fix IRQ-to-ring mapping in interrupt handler40Plan
- CVE-2026-74280crypto: marvell/octeontx - fix DMA cleanup using wrong loop index40Plan
- CVE-2026-74279crypto: cavium/cpt - fix DMA cleanup using wrong loop index40Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 35d4a3cf70a855b50e53189ac2f8463e20a02046 | Vendor (CNA) |
| Linux Linux | 58321b4e6e4f0f412069ab27ccdd56292757343a | Vendor (CNA) |
| Linux Linux | 74fef68d521150281e36cdaa20e9e1ee3e3aa146 | Vendor (CNA) |
| Linux Linux | 76e415ea88d20f022ed5cfcf78c50e156a267e91 | Vendor (CNA) |
| Linux Linux | 9c8f31eaae6140ecadec0c07320498a944556de2 | Vendor (CNA) |
| Linux Linux | ef2ae10a4582bc92b7e944181bbd2f87f3d30f3a | Vendor (CNA) |
| Debian:linux | 6.1.180-1 · Debian:12 | Package registry (OSV) |
| Debian:linux-6.12 | 6.12.100-1~deb12u1 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
No CVSS vector for this record, so attack conditions can't be derived.
Weakness class (CWE)
—
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- git.kernel.org/stable/c/35d4a3cf70a855b50e53189ac2f8463e20a02046
- git.kernel.org/stable/c/58321b4e6e4f0f412069ab27ccdd56292757343a
- git.kernel.org/stable/c/74fef68d521150281e36cdaa20e9e1ee3e3aa146
- git.kernel.org/stable/c/76e415ea88d20f022ed5cfcf78c50e156a267e91
- git.kernel.org/stable/c/9c8f31eaae6140ecadec0c07320498a944556de2
- git.kernel.org/stable/c/ef2ae10a4582bc92b7e944181bbd2f87f3d30f3a
Vendor advisories and official records. Exploit/PoC links are deliberately left out.