In the Linux kernel, the following vulnerability has been resolved: mm: shrinker: fix NULL pointer dereference in debugfs shrinker_debugfs_add()… (CVE-2026-64417)
A vulnerability in the Linux kernel's memory management shrinker subsystem could cause a NULL pointer dereference leading to a kernel panic. The issue arises because debugfs files "count" and "scan" are created unconditionally, assuming corresponding callback functions exist, which is not always true. This flaw was fixed by ensuring these debugfs files are only created when their respective callbacks are present.
AI Analysis
Technical Summary
The Linux kernel's shrinker_debugfs_add() function creates debugfs files "count" and "scan" without verifying that the shrinker implements the corresponding count_objects() and scan_objects() callbacks. If a shrinker omits either callback, such as the xen-backend shrinker which sets count_objects() but leaves scan_objects() NULL, writing to the "scan" debugfs file triggers a NULL pointer dereference and kernel panic. The fix involves conditional creation of these debugfs files only when the associated callbacks are implemented.
Potential Impact
Exploitation of this vulnerability can cause a kernel panic due to a NULL pointer dereference, resulting in a denial of service condition on affected systems. There is no indication of privilege escalation or code execution. No known exploits are reported in the wild.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this issue by conditionally creating debugfs files only when the corresponding callbacks exist. Users should apply the official kernel update that includes this fix once available. Patch status is not yet confirmed from vendor advisories; check the Linux kernel mailing lists or vendor advisories for the official patch and update guidance.
In the Linux kernel, the following vulnerability has been resolved: mm: shrinker: fix NULL pointer dereference in debugfs shrinker_debugfs_add()… (CVE-2026-64417)
Description
A vulnerability in the Linux kernel's memory management shrinker subsystem could cause a NULL pointer dereference leading to a kernel panic. The issue arises because debugfs files "count" and "scan" are created unconditionally, assuming corresponding callback functions exist, which is not always true. This flaw was fixed by ensuring these debugfs files are only created when their respective callbacks are present.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's shrinker_debugfs_add() function creates debugfs files "count" and "scan" without verifying that the shrinker implements the corresponding count_objects() and scan_objects() callbacks. If a shrinker omits either callback, such as the xen-backend shrinker which sets count_objects() but leaves scan_objects() NULL, writing to the "scan" debugfs file triggers a NULL pointer dereference and kernel panic. The fix involves conditional creation of these debugfs files only when the associated callbacks are implemented.
Potential Impact
Exploitation of this vulnerability can cause a kernel panic due to a NULL pointer dereference, resulting in a denial of service condition on affected systems. There is no indication of privilege escalation or code execution. No known exploits are reported in the wild.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this issue by conditionally creating debugfs files only when the corresponding callbacks exist. Users should apply the official kernel update that includes this fix once available. Patch status is not yet confirmed from vendor advisories; check the Linux kernel mailing lists or vendor advisories for the official patch and update guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-fmww-fwc4-2q32
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64417"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420a9c2644c7f8084158
Added to database: 07/25/2026, 23:08:58 UTC
Last enriched: 07/25/2026, 23:26:40 UTC
Last updated: 07/26/2026, 03:43:13 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.