CVE-2025-40010
afs: Fix potential null pointer dereference in afs_put_server
Mitigation
- Upgrade Linux to 9158c6bb245113d4966df9b2ba602197a379412e or later.
Who should check
- Anyone running Linux >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < 7b8381f3c405b864a814d747e526e078c3ef4bc2; >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < cab278cead49a547ac84c3e185f446f381303eae; >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < a13dbc5e20c7284b82afe6f08debdecf51d2ca04; >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < 41782c44bb8431c43043129ae42f2ba614938479; >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < 9158c6bb245113d4966df9b2ba602197a379412e
- Anyone running Linux 6.0
Vulnerability facts
- Affected
- Linux >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < 7b8381f3c405b864a814d747e526e078c3ef4bc2; >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < cab278cead49a547ac84c3e185f446f381303eae; >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < a13dbc5e20c7284b82afe6f08debdecf51d2ca04; >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < 41782c44bb8431c43043129ae42f2ba614938479; >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < 9158c6bb245113d4966df9b2ba602197a379412e; Linux 6.0
- Fixed in
- Linux 7b8381f3c405b864a814d747e526e078c3ef4bc2, Linux 41782c44bb8431c43043129ae42f2ba614938479, Linux 9158c6bb245113d4966df9b2ba602197a379412e
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < 7b8381f3c405b864a814d747e526e078c3ef4bc2; >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < cab278cead49a547ac84c3e185f446f381303eae; >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < a13dbc5e20c7284b82afe6f08debdecf51d2ca04; >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < 41782c44bb8431c43043129ae42f2ba614938479; >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < 9158c6bb245113d4966df9b2ba602197a379412e | — | cvelist |
| Linux | 6.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-40010. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-40010.md Affected: Linux >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < 7b8381f3c405b864a814d747e526e078c3ef4bc2; >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < cab278cead49a547ac84c3e185f446f381303eae; >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < a13dbc5e20c7284b82afe6f08debdecf51d2ca04; >= 2757a4dc184997c66ef1de3… Fixed in: Linux 7b8381f3c405b864a814d747e526e078c3ef4bc2, Linux 41782c44bb8431c43043129ae42f2ba614938479, Linux 9158c6bb245113d4966df9b2ba602197a379412e 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.
References
Other
- https://git.kernel.org/stable/c/7b8381f3c405b864a814d747e526e078c3ef4bc2
- https://git.kernel.org/stable/c/cab278cead49a547ac84c3e185f446f381303eae
- https://git.kernel.org/stable/c/a13dbc5e20c7284b82afe6f08debdecf51d2ca04
- https://git.kernel.org/stable/c/41782c44bb8431c43043129ae42f2ba614938479
- https://git.kernel.org/stable/c/9158c6bb245113d4966df9b2ba602197a379412e
FAQ
Is CVE-2025-40010 being exploited?
There is no confirmed exploitation: CVE-2025-40010 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-40010?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2025-40010?
Linux >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < 7b8381f3c405b864a814d747e526e078c3ef4bc2; >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < cab278cead49a547ac84c3e185f446f381303eae; >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < a13dbc5e20c7284b82afe6f08debdecf51d2ca04; >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < 41782c44bb8431c43043129ae42f2ba614938479; >= 2757a4dc184997c66ef1de32636f73b9f21aac14, < 9158c6bb245113d4966df9b2ba602197a379412e; Linux 6.0.
Is there a fix for CVE-2025-40010?
Yes. Fixed in Linux 7b8381f3c405b864a814d747e526e078c3ef4bc2, Linux 41782c44bb8431c43043129ae42f2ba614938479, Linux 9158c6bb245113d4966df9b2ba602197a379412e. Upgrade Linux to 9158c6bb245113d4966df9b2ba602197a379412e or later.
How do I check if I'm affected by CVE-2025-40010?
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.