# CVE-2026-90005: samples/damon/wsse: handle damon\_start() failure

> 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-28)
- **Published:** 2026-09-16T10:33:14.753Z
- **Modified:** 2026-10-19T09:18:48.210Z

## Who should check

- Anyone running Linux \>= b757c6cfc696d43501632861f731412b14a7be86, \< 6179c7f47876d576dfe30efa8fbf1b0b1fdd13c0; \>= b757c6cfc696d43501632861f731412b14a7be86, \< e60774d6335b89fac0be8b17a041fcffc508d281; \>= b757c6cfc696d43501632861f731412b14a7be86, \< e4742be45ea45bf554399ce89a09f71e525d7981
- Anyone running Linux 6.14

## Description

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

samples/damon/wsse: handle damon\_start() failure

Patch series "samples/damon: handle damon\_{start,stop}() failures".

All DAMON sample modules are not correctly handling failures from
damon\_start().  Among those, mtier also has an additional problem for
handling of damon\_stop() failures.  wsse and prcl also have a problem in
their damon\_call() failure handling.  As a result, memory leaks, next
DAMON operation disruptions, and use-after-free can happen.  Fix those.

Note that only the damon\_start() failure caused issues can reliably be
reproduced.  Reproducing those issues require the admin permission,
though.


This patch (of 6):

damon\_sample\_wsse\_start() callers assume it will clean up resources when
it fails.  And the function does the cleanup for context buildup failures.
However, it is not doing the cleanup for damon\_start() failure.  As a
result, when damon\_start() fails, it leaks the memory for DAMON context. 
Free the context in case of the failure to fix the issues.

Note that the issue can reliably be reproduced because the module calls
damon\_start() in the exclusive mode.  For example,

    $ sudo damo start
    $ echo $$ \| sudo tee /sys/module/damon\_sample\_wsse/parameters/target\_pid
    $ echo Y \| sudo tee /sys/module/damon\_sample\_wsse/parameters/enabled
    $ sudo cat /proc/allocinfo \| grep damon\_new\_ctx

Because the first command is running another DAMON instance, the third
command fails the damon\_start() call because the new DAMON instance cannot
exclusively run.  And without this fix, by repeating the third and the
fourth commands above, we can show the memory consumption is only
increasing due to the leaks.  It requires the sudo permission though.

The issue was discovered \[1\] by Sashiko.

## Affected and fixed versions

- Linux: \>= b757c6cfc696d43501632861f731412b14a7be86, \< 6179c7f47876d576dfe30efa8fbf1b0b1fdd13c0; \>= b757c6cfc696d43501632861f731412b14a7be86, \< e60774d6335b89fac0be8b17a041fcffc508d281; \>= b757c6cfc696d43501632861f731412b14a7be86, \< e4742be45ea45bf554399ce89a09f71e525d7981 (cvelist)
- Linux: 6.14 (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-90005. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90005.md
Affected: Linux >= b757c6cfc696d43501632861f731412b14a7be86, < 6179c7f47876d576dfe30efa8fbf1b0b1fdd13c0; >= b757c6cfc696d43501632861f731412b14a7be86, < e60774d6335b89fac0be8b17a041fcffc508d281; >= b757c6cfc696d43501632861f731412b14a7be86, < e4742be45ea45bf554399ce89a09f71e525d7981; Linux 6.14
Fixed in: Linux 6179c7f47876d576dfe30efa8fbf1b0b1fdd13c0

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

There is no confirmed exploitation: CVE-2026-90005 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-28).

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

It has no CVSS score yet. Unknown.

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

Linux \>= b757c6cfc696d43501632861f731412b14a7be86, \< 6179c7f47876d576dfe30efa8fbf1b0b1fdd13c0; \>= b757c6cfc696d43501632861f731412b14a7be86, \< e60774d6335b89fac0be8b17a041fcffc508d281; \>= b757c6cfc696d43501632861f731412b14a7be86, \< e4742be45ea45bf554399ce89a09f71e525d7981; Linux 6.14.

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

Yes. Fixed in Linux 6179c7f47876d576dfe30efa8fbf1b0b1fdd13c0. No fix listed yet: follow the vendor advisory.

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

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/6179c7f47876d576dfe30efa8fbf1b0b1fdd13c0>
- other: <https://git.kernel.org/stable/c/e60774d6335b89fac0be8b17a041fcffc508d281>
- other: <https://git.kernel.org/stable/c/e4742be45ea45bf554399ce89a09f71e525d7981>

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

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