# CVE-2026-74643: samples/damon/mtier: error out for zero quota goal target values

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-08-22T15:32:21.140Z
- **Modified:** 2026-10-14T13:10:00.187Z

## Who should check

- Anyone running Linux \>= c5e67d40a10234541e220750297304df79aaedd0, \< e16b8d640ec99b28bc827560edcf9706e610c3aa; \>= c5e67d40a10234541e220750297304df79aaedd0, \< 684f271210becd7b8c4088f06c442499e48a43a0; \>= c5e67d40a10234541e220750297304df79aaedd0, \< a16fd3ad9d89b05475864da97327870464611736
- Anyone running Linux 6.17

## Description

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.

## Affected and fixed versions

- Linux: \>= c5e67d40a10234541e220750297304df79aaedd0, \< e16b8d640ec99b28bc827560edcf9706e610c3aa; \>= c5e67d40a10234541e220750297304df79aaedd0, \< 684f271210becd7b8c4088f06c442499e48a43a0; \>= c5e67d40a10234541e220750297304df79aaedd0, \< a16fd3ad9d89b05475864da97327870464611736 (cvelist)
- Linux: 6.17 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74643. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74643.md
Affected: Linux >= c5e67d40a10234541e220750297304df79aaedd0, < e16b8d640ec99b28bc827560edcf9706e610c3aa; >= c5e67d40a10234541e220750297304df79aaedd0, < 684f271210becd7b8c4088f06c442499e48a43a0; >= c5e67d40a10234541e220750297304df79aaedd0, < a16fd3ad9d89b05475864da97327870464611736; Linux 6.17
Fixed in: Linux 684f271210becd7b8c4088f06c442499e48a43a0

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74643 being exploited?

There is no confirmed exploitation: CVE-2026-74643 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-74643?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-74643?

Linux \>= c5e67d40a10234541e220750297304df79aaedd0, \< e16b8d640ec99b28bc827560edcf9706e610c3aa; \>= c5e67d40a10234541e220750297304df79aaedd0, \< 684f271210becd7b8c4088f06c442499e48a43a0; \>= c5e67d40a10234541e220750297304df79aaedd0, \< a16fd3ad9d89b05475864da97327870464611736; Linux 6.17.

### Is there a fix for CVE-2026-74643?

Yes. Fixed in Linux 684f271210becd7b8c4088f06c442499e48a43a0. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-74643?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/e16b8d640ec99b28bc827560edcf9706e610c3aa>
- other: <https://git.kernel.org/stable/c/684f271210becd7b8c4088f06c442499e48a43a0>
- other: <https://git.kernel.org/stable/c/a16fd3ad9d89b05475864da97327870464611736>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74643>

HTML: <https://flawdb.com/CVE-2026-74643> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74643>
