# CVE-2026-64417: mm: shrinker: fix NULL pointer dereference in debugfs

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-07-25T08:50:56.800Z
- **Modified:** 2026-09-04T15:24:56.173Z

## Who should check

- Anyone running Linux \>= bbf535fd6f06b94b9d07ed6f09397a936d4a58d8, \< ebb45c2648b1f60715fd283700f651e05e431231; \>= bbf535fd6f06b94b9d07ed6f09397a936d4a58d8, \< 09d2407985b8ce3e831f9d4310fe7ac06a6b3ae9; \>= bbf535fd6f06b94b9d07ed6f09397a936d4a58d8, \< 36f8534f461222291a74156ab91f3ba9f09b6f93; \>= bbf535fd6f06b94b9d07ed6f09397a936d4a58d8, \< 006467ab932698612398f853344a7405164541f4; \>= bbf535fd6f06b94b9d07ed6f09397a936d4a58d8, \< b9beed2322f3538b0d2d53307062da4102b8d8d8; \>= bbf535fd6f06b94b9d07ed6f09397a936d4a58d8, \< e30453c61e185e914fde83c650e268067b140218
- Anyone running Linux 6.0

## Description

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.

## Affected and fixed versions

- Linux: \>= bbf535fd6f06b94b9d07ed6f09397a936d4a58d8, \< ebb45c2648b1f60715fd283700f651e05e431231; \>= bbf535fd6f06b94b9d07ed6f09397a936d4a58d8, \< 09d2407985b8ce3e831f9d4310fe7ac06a6b3ae9; \>= bbf535fd6f06b94b9d07ed6f09397a936d4a58d8, \< 36f8534f461222291a74156ab91f3ba9f09b6f93; \>= bbf535fd6f06b94b9d07ed6f09397a936d4a58d8, \< 006467ab932698612398f853344a7405164541f4; \>= bbf535fd6f06b94b9d07ed6f09397a936d4a58d8, \< b9beed2322f3538b0d2d53307062da4102b8d8d8; \>= bbf535fd6f06b94b9d07ed6f09397a936d4a58d8, \< e30453c61e185e914fde83c650e268067b140218 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64417. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64417.md
Affected: Linux >= bbf535fd6f06b94b9d07ed6f09397a936d4a58d8, < ebb45c2648b1f60715fd283700f651e05e431231; >= bbf535fd6f06b94b9d07ed6f09397a936d4a58d8, < 09d2407985b8ce3e831f9d4310fe7ac06a6b3ae9; >= bbf535fd6f06b94b9d07ed6f09397a936d4a58d8, < 36f8534f461222291a74156ab91f3ba9f09b6f93; >= bbf535fd6f06b94b9d07ed6…
Fixed in: Linux 09d2407985b8ce3e831f9d4310fe7ac06a6b3ae9, Linux 36f8534f461222291a74156ab91f3ba9f09b6f93, Linux 006467ab932698612398f853344a7405164541f4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64417 being exploited?

There is no confirmed exploitation: CVE-2026-64417 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64417?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64417?

Linux \>= bbf535fd6f06b94b9d07ed6f09397a936d4a58d8, \< ebb45c2648b1f60715fd283700f651e05e431231; \>= bbf535fd6f06b94b9d07ed6f09397a936d4a58d8, \< 09d2407985b8ce3e831f9d4310fe7ac06a6b3ae9; \>= bbf535fd6f06b94b9d07ed6f09397a936d4a58d8, \< 36f8534f461222291a74156ab91f3ba9f09b6f93; \>= bbf535fd6f06b94b9d07ed6f09397a936d4a58d8, \< 006467ab932698612398f853344a7405164541f4; \>= bbf535fd6f06b94b9d07ed6f09397a936d4a58d8, \< b9beed2322f3538b0d2d53307062da4102b8d8d8; \>= bbf535fd6f06b94b9d07ed6f09397a936d4a58d8, \< e30453c61e185e914fde83c650e268067b140218; Linux 6.0.

### Is there a fix for CVE-2026-64417?

Yes. Fixed in Linux 09d2407985b8ce3e831f9d4310fe7ac06a6b3ae9, Linux 36f8534f461222291a74156ab91f3ba9f09b6f93, Linux 006467ab932698612398f853344a7405164541f4. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-64417?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/ebb45c2648b1f60715fd283700f651e05e431231>
- patch: <https://git.kernel.org/stable/c/09d2407985b8ce3e831f9d4310fe7ac06a6b3ae9>
- patch: <https://git.kernel.org/stable/c/36f8534f461222291a74156ab91f3ba9f09b6f93>
- patch: <https://git.kernel.org/stable/c/006467ab932698612398f853344a7405164541f4>
- patch: <https://git.kernel.org/stable/c/b9beed2322f3538b0d2d53307062da4102b8d8d8>
- patch: <https://git.kernel.org/stable/c/e30453c61e185e914fde83c650e268067b140218>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64417>

HTML: <https://flawdb.com/CVE-2026-64417> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64417>
