CVE-2026-31457
Last modified
CVE-2026-31457 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: mm/damon/sysfs: check contexts->nr in repeat_call_fn damon_sysfs_repeat_call_fn() calls damon_sysfs_upd_tuned_intervals(), damon_sysfs_upd_schemes_stats(), and damon_sysfs_upd_schemes_effective_quotas() without checking contexts->nr. If nr_contexts is set to 0 via sysfs while DAMON is running, these functions dereference contexts_arr[0] and cause a NULL pointer dereference. EPSS estimates a 0.12% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: mm/damon/sysfs: check contexts->nr in repeat_call_fn damon_sysfs_repeat_call_fn() calls damon_sysfs_upd_tuned_intervals(), damon_sysfs_upd_schemes_stats(), and damon_sysfs_upd_schemes_effective_quotas() without checking contexts->nr. If nr_contexts is set to 0 via sysfs while DAMON is running, these functions dereference contexts_arr[0] and cause a NULL pointer dereference. Add the missing check. For example, the issue can be reproduced using DAMON sysfs interface and DAMON user-space tool (damo) [1] like below. $ sudo damo start --refresh_interval 1s $ echo 0 | sudo tee \ /sys/kernel/mm/damon/admin/kdamonds/0/contexts/nr_contexts
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.17, < 6.18.21 | — |
| Linux | Linux Kernel | >= 6.19, < 6.19.11 | — |
| Linux | Linux Kernel | 7.0 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-31457?
How severe is CVE-2026-31457?
How do I fix CVE-2026-31457?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-31451In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-31452In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-31453In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-31454In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-31455In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-31456In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2026-31458In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-31459In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-3146A vulnerability has been found in libvips up to 8.18.0. The …5.5
- CVE-2026-31460In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-31461In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-31462In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2026-31457?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
