Kernel crash via unchecked empty DAMON contexts
Published Apr 22, 2026 · Updated Apr 22, 2026
NULL pointer dereference in Linux Kernel 6.17 through 6.18.20 and 6.19 through 6.19.10 allows local users to crash the kernel via DAMON sysfs. damon_sysfs_repeat_call_fn() invokes three update helpers without checking contexts->nr, causing them to dereference contexts_arr[0] after nr_contexts becomes zero. Write access to the DAMON sysfs controls and a running DAMON instance are required; the bounded consequence is a kernel crash.
Summary
What happened
NULL pointer dereference in Linux Kernel 6.17 through 6.18.20 and 6.19 through 6.19.10 allows local users to crash the kernel via DAMON sysfs. damon_sysfs_repeat_call_fn() invokes three update helpers without checking contexts->nr, causing them to dereference contexts_arr[0] after nr_contexts becomes zero. Write access to the DAMON sysfs controls and a running DAMON instance are required; the bounded consequence is a kernel crash.
The record
- CVE
- CVE-2026-31457
- Published
- Apr 22, 2026
- Updated
- Apr 22, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-476, T1499
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Apr 22, 2026CVE publishedPublication date reported by the CVE source.
- Apr 22, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.17
- Affected versionversion=d809a7c64ba8229286b333c0cba03b1cdfb50238 <3527e9fdc38570cea0f6ddb7a2c9303d4044b217
- Affected versionversion=d809a7c64ba8229286b333c0cba03b1cdfb50238 <652cd0641a763dd0e846b0d12814977fadb2b7d8
- Affected versionversion=d809a7c64ba8229286b333c0cba03b1cdfb50238 <6557004a8b59c7701e695f02be03c7e20ed1cc15
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Linux CNA DAMON sysfs reproducerproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo