What’s Vulnerable › Vulnerabilities

CVE-2025-40010: afs: Fix potential null pointer dereference in afs_put_server

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

How to fix

Upgrade to a fixed version: Linux kernel 6.17. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-40010 or the next vulnerability affects your stack