# CVE-2026-99240: mm/damon/core: error damos\_commit\_quota\_goal() for zero target\_value

> 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-11-02T16:06:43.703Z
- **Modified:** 2026-11-03T20:18:30.493Z

## Who should check

- Anyone running Linux \>= c5e67d40a10234541e220750297304df79aaedd0, \< d5482be6243b816730689099c017109eb8730dd5; \>= c5e67d40a10234541e220750297304df79aaedd0, \< cc190c4073f570fd78a9d00dd3d13a71eced5403; \>= c5e67d40a10234541e220750297304df79aaedd0, \< 156aeda4d74e9007b56492ed1f3b5838822632be; \>= c5e67d40a10234541e220750297304df79aaedd0, \< 610c4438fb66e06d9e693c0ad3b2c1be54c0d61f
- Anyone running Linux 6.17

## Description

In the Linux kernel, the following vulnerability has been resolved:

mm/damon/core: error damos\_commit\_quota\_goal() for zero target\_value

Patch series "mm/damon: move zero damos quota target\_value handling to the
core layer".

Having zero DAMOS quota target value can cause division by zero.  DAMON
API callers are checking the target value parameters to avoid that.  It is
easy to make mistakes in some of the multiple API callers.  Move that to
the core layer.

Patch 1 adds the corner case handling into the core layer DAMON parameters
validation logic.  Patches 2 and 3 remove no more needed DAMON API callers
side handling of the corner case in DAMON\_LRU\_SORT and DMON\_SAMPLIE\_MTIER,
respectively.


This patch (of 3):

If a DAMOS scheme has a damos\_quota\_goal of zero target\_value,
damos\_quota\_goal() could trigger division-by-zero error.  Hence each DAMON
API callers should do the zero target\_value validation.  It is easy to
make mistakes.  Actually such bugs in DAMON\_LRU\_SORT and
DAMON\_SAMPLE\_MTIER were found and fixed \[1\].

It is better to handle the corner case only once in the core layer,
instead of multiple places in all DAMON API callers.  One straightforward
option is using an alternative denominator for the corner case in the
damos\_quota\_goal().  However, the zero target\_value is meaningless.  In
this case, the quota goal is always evaluated as achieved or
over-achieved.  The quota will only keep being reduced.

Simply avoid using zero target\_value by adding a check in the core layer
DAMOS quota goal parameters validation/commit path,
damos\_commit\_quota\_goal().  Update it to return an error in the case. 
Also update its caller to propagate the error.

## Affected and fixed versions

- Linux: \>= c5e67d40a10234541e220750297304df79aaedd0, \< d5482be6243b816730689099c017109eb8730dd5; \>= c5e67d40a10234541e220750297304df79aaedd0, \< cc190c4073f570fd78a9d00dd3d13a71eced5403; \>= c5e67d40a10234541e220750297304df79aaedd0, \< 156aeda4d74e9007b56492ed1f3b5838822632be; \>= c5e67d40a10234541e220750297304df79aaedd0, \< 610c4438fb66e06d9e693c0ad3b2c1be54c0d61f (cvelist)
- Linux: 6.17 (cvelist)

## Mitigation

- Upgrade Linux to 610c4438fb66e06d9e693c0ad3b2c1be54c0d61f or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-99240.md
Affected: Linux >= c5e67d40a10234541e220750297304df79aaedd0, < d5482be6243b816730689099c017109eb8730dd5; >= c5e67d40a10234541e220750297304df79aaedd0, < cc190c4073f570fd78a9d00dd3d13a71eced5403; >= c5e67d40a10234541e220750297304df79aaedd0, < 156aeda4d74e9007b56492ed1f3b5838822632be; >= c5e67d40a10234541e22075…
Fixed in: Linux 156aeda4d74e9007b56492ed1f3b5838822632be, Linux 610c4438fb66e06d9e693c0ad3b2c1be54c0d61f

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-99240 being exploited?

There is no confirmed exploitation: CVE-2026-99240 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-99240?

It has no CVSS score yet. Unknown.

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

Linux \>= c5e67d40a10234541e220750297304df79aaedd0, \< d5482be6243b816730689099c017109eb8730dd5; \>= c5e67d40a10234541e220750297304df79aaedd0, \< cc190c4073f570fd78a9d00dd3d13a71eced5403; \>= c5e67d40a10234541e220750297304df79aaedd0, \< 156aeda4d74e9007b56492ed1f3b5838822632be; \>= c5e67d40a10234541e220750297304df79aaedd0, \< 610c4438fb66e06d9e693c0ad3b2c1be54c0d61f; Linux 6.17.

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

Yes. Fixed in Linux 156aeda4d74e9007b56492ed1f3b5838822632be, Linux 610c4438fb66e06d9e693c0ad3b2c1be54c0d61f. Upgrade Linux to 610c4438fb66e06d9e693c0ad3b2c1be54c0d61f or later.

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

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/d5482be6243b816730689099c017109eb8730dd5>
- other: <https://git.kernel.org/stable/c/cc190c4073f570fd78a9d00dd3d13a71eced5403>
- other: <https://git.kernel.org/stable/c/156aeda4d74e9007b56492ed1f3b5838822632be>
- other: <https://git.kernel.org/stable/c/610c4438fb66e06d9e693c0ad3b2c1be54c0d61f>

## 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-99240>

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