CVE-2026-64417·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: mm: shrinker: fix NULL pointer dereference in debugfs shrinker_debugfs_add() creates both "count" and "scan" debugfs files unconditionally. That assumes every shrinker implements both count_objects() and scan_objects(), which is not guaranteed. For example, the xen-backend shrinker sets count_objects() but leaves scan_objects() NULL, so writing to its scan file calls through a NULL function pointer and panics the kernel: BUG: kernel NULL pointer dereference, address: 0000000000000000 RIP: 0010:0x0 Code: Unable to access opcode bytes at 0xffffffffffffffd6. Call Trace: <TASK> shrinker_debugfs_scan_write+0x12e/0x270 full_proxy_write+0x5f/0x90 vfs_write+0xde/0x420 ? filp_flush+0x75/0x90 ? filp_close+0x1d/0x30 ? do_dup2+0xb8/0x120 ksys_write+0x68/0xf0 ? filp_flush+0x75/0x90 do_syscall_64+0xb3/0x5b0 entry_SYSCALL_64_after_hwframe+0x76/0x7e The count path has the same issue in principle if a shrinker omits count_objects(). To fix it, only create "count" and "scan" debugfs files when the corresponding callbacks are present.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.1.4
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.16% — higher than 5% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 7.1.4
Fixed in: 7.1.4
How to fix this CVE
Update your Linux kernel to version 7.1.4 or later to resolve a NULL pointer dereference vulnerability in the shrinker debugfs interface. This issue occurs when debugfs files are created for shrinker callbacks that may not be implemented, causing kernel panic when accessed. Affected systems running kernel versions 6.19 through 7.1.3 should prioritize this update.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r
- Verify if debugfs is mounted: mount | grep debugfs
- Look for shrinker entries in debugfs: ls -la /sys/kernel/debug/shrinker/ 2>/dev/null
- After updating, confirm the new version with: uname -r (should be 7.1.4 or later)
- Verify no kernel panic messages in dmesg: dmesg | grep -i 'NULL pointer dereference' | tail -20
FAQ
What is CVE-2026-64417?
CVE-2026-64417 is a kernel memory safety issue where the debugfs shrinker interface unconditionally creates files for callback functions that may not be implemented by all shrinker modules. Writing to these files triggers a NULL pointer dereference and crashes the kernel.
Is CVE-2026-64417 being actively exploited?
No, CVE-2026-64417 is not listed in the CISA Known Exploited Vulnerabilities catalog and has no public exploits available. It requires local access and debugfs write permissions to trigger.
What versions of Kernel are affected by CVE-2026-64417?
Linux kernel versions 6.19 through 7.1.3 are affected. The vulnerability is patched in kernel 7.1.4 and later.
How do I check if my server is vulnerable to CVE-2026-64417?
Run 'uname -r' to check your kernel version. If it falls between 6.19 and 7.1.3, your system is vulnerable. You can also check if debugfs shrinker files exist with: 'ls /sys/kernel/debug/shrinker/*/scan 2>/dev/null && echo vulnerable || echo not vulnerable'
Does Defensia detect CVE-2026-64417?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-64417 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/006467ab932698612398f853344a7405164541f4
- https://git.kernel.org/stable/c/09d2407985b8ce3e831f9d4310fe7ac06a6b3ae9
- https://git.kernel.org/stable/c/36f8534f461222291a74156ab91f3ba9f09b6f93
- https://git.kernel.org/stable/c/b9beed2322f3538b0d2d53307062da4102b8d8d8
- https://git.kernel.org/stable/c/e30453c61e185e914fde83c650e268067b140218
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-64417. Free for 1 server.
Get started free