CVE-2026-74643
samples/damon/mtier: error out for zero quota goal target values
Reported by linux · Published August 22, 2026
In the Linux kernel, the following vulnerability has been resolved: samples/damon/mtier: error out for zero quota goal target values Patch series "mm/damon: avoid division by zero from damos_quota_score()". DAMON_SAMPLE_MTIER and DAMON_LRU_SORT allow the user to trigger division by zero in damos_quota_score(). Avoid it by adding parameters validation checks. This patch (of 2): damos_quota_score() can trigger division by zero if the target_value is zero. DAMON_SAMPLE_MTIER lets users set the target_value via node0_mem_{used,free}_bp parameters. It doesn't guard zero value case, though. As a result, users can trigger division by zero. Fix the issue by returning an error when the user tries to start DAMON with zero node0_mem_{used,free}_bp parameter values. DAMON_SAMPLE_MTIER is just a sample module, but the consequence is quite bad. Also the zero node0_mem_free_bp parameter might look like a reasonable setup to some users. Hence, the issue might really happen in the real world. One reliable way to reproduce the issue is like below: # cd /sys/module/damon_sample_mtier/parameters # echo 4096 > node0_start_addr # echo 8192 > node0_end_addr # echo 8192 > node1_start_addr # echo 81920 > node1_end_addr # echo 0 > node0_mem_free_bp # echo Y > enabled # dmesg -w [...] [18792.235916] Oops: divide error: 0000 [#1] SMP NOPTI [...] [18792.242787] RIP: 0010:damos_quota_score+0x6f/0x480 [...] This issue was discovered [1] by Sashiko.
EPSS 0.17% · 5.9th 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 |
|---|---|---|
| Linux | Linux | e16b8d640ec99b28bc827560edcf9706e610c3aa, a16fd3ad9d89b05475864da97327870464611736, 684f271210becd7b8c4088f06c442499e48a43a0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | c5e67d40a10234541e220750297304df79aaedd0, c5e67d40a10234541e220750297304df79aaedd0, c5e67d40a10234541e220750297304df79aaedd0 |
| Linux | Linux | 6.17, 0, 6.18.45 |
| Linux | Linux | 7.2, 0, 6.18.45 |
| linux | linux_kernel | 6.17, 6.17, 6.17 |
Timeline
- Aug 22, 2026 Coalition ESS Score
- Aug 22, 2026 CVE Published
- Aug 23, 2026 EPSS Score (13 in total, the first dated here)
- Sep 3, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-74643
vulnetix vdb fixes CVE-2026-74643
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-74643/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart