CVE-2025-40010 afs: Fix potential null pointer dereference in afs_put_server
A null pointer dereference in the Linux kernel AFS module allows attackers to cause a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-40010?
CVE-2025-40010 is a vulnerability in Linux, published on 20 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2025-40010?
How do I fix CVE-2025-40010?
Apply the vendor's patch.
Is CVE-2025-40010 being exploited?
There is no known exploitation of CVE-2025-40010 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2025-40010, DEBIAN-CVE-2025-40010, GHSA-px42-vq8w-qgwf, ROOT-OS-UBUNTU-2404-CVE-2025-40010, UBUNTU-CVE-2025-40010.