# mm/damon/sysfs-schemes: protect memcg_path kfree() with damon_sysfs_lock

CVE record · `CVE-2026-46121`

- **Identifiers:** `CVE-2026-46121`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 28 May 2026
- **Updated:** 6 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 28 May 2026, 09:35 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `490a43d07f1663d827e802720d30cbc0494e4f81 to before b1e9f2d5870776347edef927f9bb3ea19b8e3abb` (git)
  - affected: `c5d5b0047b0c0f304608f3824139f7bd34c48413 to before c88802d0e8edd14b6cd2daf3000f99adbc4c85c5` (git)
  - affected: `4f489fe6afb395dbc79840efa3c05440b760d883 to before eafd6f5372d29b0dd213799b92c2c9c7ad31d7da` (git)
  - affected: `4f489fe6afb395dbc79840efa3c05440b760d883 to before baecc45ad60e621ef14d6c1e7f41ef36bbfdf910` (git)
  - affected: `4f489fe6afb395dbc79840efa3c05440b760d883 to before 1e68eb96e8beb1abefd12dd22c5637795d8a877e` (git)
  - affected: `4a158ac0538dd5695eeaa00aa0720d711f3e4ef1` (git)
  - affected: `6.6.96 to before 6.6.140` (semver)
  - affected: `6.12.36 to before 6.12.88` (semver)
  - affected: `6.15.5 to before 6.16` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.16`
  - unaffected: `before 6.16` (semver)
  - unaffected: `6.6.140 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.88 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.30 to 6.18.*, inclusive` (semver)
  - unaffected: `7.0.7 to 7.0.*, inclusive` (semver)
  - unaffected: `7.1 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel's DAMON sysfs memcg_path file is not protected by a lock, so a read can race with a write that frees the buffer, causing a use-after-free. A user with access to these sysfs files can trigger the race, and affected versions start at 6.16. Upgrade to 6.6.140, 6.12.88, 6.18.30, 7.0.7, or a later release in the same series.

Written 17 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0013, the 2nd percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 28 May 2026, 09:35 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-46121)
- 28 May 2026, 10:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-46121)

## Sources

- [CVE List: CVE-2026-46121](https://www.cve.org/CVERecord?id=CVE-2026-46121)
- [NVD: CVE-2026-46121](https://nvd.nist.gov/vuln/detail/CVE-2026-46121)

### References from the CNA

- <https://git.kernel.org/stable/c/b1e9f2d5870776347edef927f9bb3ea19b8e3abb>
- <https://git.kernel.org/stable/c/c88802d0e8edd14b6cd2daf3000f99adbc4c85c5>
- <https://git.kernel.org/stable/c/eafd6f5372d29b0dd213799b92c2c9c7ad31d7da>
- <https://git.kernel.org/stable/c/baecc45ad60e621ef14d6c1e7f41ef36bbfdf910>
- <https://git.kernel.org/stable/c/1e68eb96e8beb1abefd12dd22c5637795d8a877e>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-46121>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-46121/>. Everything for agents: <https://agentprime.io/llms.txt>.
