CVE record · CVE-2026-31458

mm/damon/sysfs: check contexts->nr before accessing contexts_arr[0]

No CVSS scoreEPSS 0.0012 · 2nd percentile

Published by the CVE Program (CNA: Linux) at 22 Apr 2026, 13:53 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
VendorProductVersions
Linux Linux
  • affected 0ac32b8affb5a384253dbb8339bd2d0e91add0b7 to before aba546061341b56e9ffb37e1eb661a3628b6ec12 git
  • affected 0ac32b8affb5a384253dbb8339bd2d0e91add0b7 to before 1e8da792672481d603fa7cd0d815577220a3ee27 git
  • affected 0ac32b8affb5a384253dbb8339bd2d0e91add0b7 to before 708033c231bd782858f4ddbb46ee874a5a5fbdab git
  • affected 0ac32b8affb5a384253dbb8339bd2d0e91add0b7 to before bbe03ad3fb9e714191757ca7b41582f930be7be2 git
  • affected 0ac32b8affb5a384253dbb8339bd2d0e91add0b7 to before 1bfe9fb5ed2667fb075682408b776b5273162615 git
Other versions: unaffected
Linux Linux
  • affected 5.18
  • unaffected before 5.18 semver
  • unaffected 6.6.131 to 6.6.*, inclusive semver
  • unaffected 6.12.80 to 6.12.*, inclusive semver
  • unaffected 6.18.21 to 6.18.*, inclusive semver
  • unaffected 6.19.11 to 6.19.*, inclusive semver
  • unaffected 7.0 to *, inclusive original_commit_for_fix
Other versions: affected
Identifiers
CVE-2026-31458
CNA
Linux
Published
22 Apr 2026
Updated
5 Nov 2026

Machine-written summary

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

The Linux kernel's DAMON sysfs code is affected from 5.18 until fixed in the 6.6.131, 6.12.80, 6.18.21 and 6.19.11 stable series. A privileged local user who sets nr_contexts to 0 while DAMON is running can trigger NULL pointer dereferences. Upgrade to 6.6.131, 6.12.80, 6.18.21, 6.19.11 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.0012, the 2nd percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 22 Apr 2026, 13:53 UTC Confirmed by the CVE List
  2. 22 Apr 2026, 14:16 UTC Confirmed by NVD

Sources

References from the CNA

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.