# CVE-2026-31652: linux: In the Linux kernel, the following vulnerability has been resolved:  mm/damon/stat: deallocate damon_call() failure l...

CVE-2026-31652 is fixed in linux on 1 platform by DEBIAN-CVE-2026-31652 (version 6.19.13-1), released May 15, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-31652
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0012
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 24, 2026

## Description

In the Linux kernel, the following vulnerability has been resolved:  mm/damon/stat: deallocate damon_call() failure leaking damon_ctx  damon_stat_start() always allocates the module's damon_ctx object (damon_stat_context).  Meanwhile, if damon_call() in the function fails, the damon_ctx object is not deallocated.  Hence, if the damon_call() is failed, and the user writes Y to “enabled” again, the previously allocated damon_ctx object is leaked.  This cannot simply be fixed by deallocating the damon_ctx object when damon_call() fails.  That's because damon_call() failure doesn't guarantee the kdamond main function, which accesses the damon_ctx object, is completely finished.  In other words, if damon_stat_start() deallocates the damon_ctx object after damon_call() failure, the not-yet-terminated kdamond could access the freed memory (use-after-free).  Fix the leak while avoiding the use-after-free by keeping returning damon_stat_start() without deallocating the damon_ctx object after damon_call() failure, but deallocating it when the function is invoked again and the kdamond is completely terminated.  If the kdamond is not yet terminated, simply return -EAGAIN, as the kdamond will soon be terminated.  The issue was discovered [1] by sashiko.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 14 | 6.19.13-1 | [DEBIAN-CVE-2026-31652](https://patchblox.com/security/data/fix/linux/debian-cve-2026-31652.md) | May 15, 2026 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
