CVE-2026-31458: Linux kernel · mm/damon/sysfs: check contexts->nr before accessing contexts_arr[0]
Affects Linux kernelSource CVE Database V5
Not known to be exploited · fixed in bbe03ad3fb9e714191757ca7b41582f930be7be2 : update Linux kernel when convenient.
Data as of 5 Nov 2026, 22:32 UTC
Rated Medium by Threat Radar's AI analysis · No CVSS score from NVD or the CNA
Thin evidence
One scorer or none- CISA SSVC
- Exploitation
- No evidence of active exploitation and no public proof of concept
- Automatable
- Attackers cannot reliably automate steps 1–4 of the kill chain
- Technical impact
- Limited control over the software or limited information exposure
CISA SSVC assessment, 2026-11-05.
- Patch
- Available – fixed in bbe03ad3fb9e714191757ca7b41582f930be7be2, aba546061341b56e9ffb37e1eb661a3628b6ec12, 708033c231bd782858f4ddbb46ee874a5a5fbdab +2
Exploitation evidence
Disclosed: evidence found.
CVE published 22 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in– |
AI-suggested
A fix is available and has been applied in specific Linux kernel commits identified by their hashes. Users should update to a Linux kernel version that includes these fixes. No additional mitigation is indicated or required beyond applying the official patch.
Description
CVE-2026-31458 is a vulnerability in the Linux kernel's DAMON subsystem where multiple sysfs command paths access an array element without verifying the array size. Privileged users can set the number of contexts to zero, causing NULL pointer dereferences when certain commands are executed. This issue has been fixed in specific Linux kernel commits.
References
- git.kernel.org/stable/c/aba546061341b56e9ffb37e1eb661a3628b6ec12 (opens in a new tab)
- git.kernel.org/stable/c/1e8da792672481d603fa7cd0d815577220a3ee27 (opens in a new tab)
- git.kernel.org/stable/c/708033c231bd782858f4ddbb46ee874a5a5fbdab (opens in a new tab)
- git.kernel.org/stable/c/bbe03ad3fb9e714191757ca7b41582f930be7be2 (opens in a new tab)
- git.kernel.org/stable/c/1bfe9fb5ed2667fb075682408b776b5273162615 (opens in a new tab)