What’s Vulnerable › Vulnerabilities
CVE-2025-40010: afs: Fix potential null pointer dereference in afs_put_server
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-20 · updated 2026-10-19
Description
In the Linux kernel, the following vulnerability has been resolved: afs: Fix potential null pointer dereference in afs_put_server afs_put_server() accessed server->debug_id before the NULL check, which could lead to a null pointer dereference. Move the debug_id assignment, ensuring we never dereference a NULL server pointer.
Affected products
- Linux kernel: 6.0 — fixed in 6.17
How to fix
Upgrade to a fixed version: Linux kernel 6.17. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/41782c44bb8431c43043129ae42f2ba614938479
- https://git.kernel.org/stable/c/7b8381f3c405b864a814d747e526e078c3ef4bc2
- https://git.kernel.org/stable/c/9158c6bb245113d4966df9b2ba602197a379412e
- https://git.kernel.org/stable/c/a13dbc5e20c7284b82afe6f08debdecf51d2ca04
- https://git.kernel.org/stable/c/cab278cead49a547ac84c3e185f446f381303eae
Get alerted when CVE-2025-40010 or the next vulnerability affects your stack