# CVE-2025-40010: afs: Fix potential null pointer dereference in afs\_put\_server

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-10-20T15:26:55.874Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= 2757a4dc184997c66ef1de32636f73b9f21aac14, \< 7b8381f3c405b864a814d747e526e078c3ef4bc2; \>= 2757a4dc184997c66ef1de32636f73b9f21aac14, \< cab278cead49a547ac84c3e185f446f381303eae; \>= 2757a4dc184997c66ef1de32636f73b9f21aac14, \< a13dbc5e20c7284b82afe6f08debdecf51d2ca04; \>= 2757a4dc184997c66ef1de32636f73b9f21aac14, \< 41782c44bb8431c43043129ae42f2ba614938479; \>= 2757a4dc184997c66ef1de32636f73b9f21aac14, \< 9158c6bb245113d4966df9b2ba602197a379412e
- Anyone running Linux 6.0

## 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

- Linux: \>= 2757a4dc184997c66ef1de32636f73b9f21aac14, \< 7b8381f3c405b864a814d747e526e078c3ef4bc2; \>= 2757a4dc184997c66ef1de32636f73b9f21aac14, \< cab278cead49a547ac84c3e185f446f381303eae; \>= 2757a4dc184997c66ef1de32636f73b9f21aac14, \< a13dbc5e20c7284b82afe6f08debdecf51d2ca04; \>= 2757a4dc184997c66ef1de32636f73b9f21aac14, \< 41782c44bb8431c43043129ae42f2ba614938479; \>= 2757a4dc184997c66ef1de32636f73b9f21aac14, \< 9158c6bb245113d4966df9b2ba602197a379412e (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- Upgrade Linux to 9158c6bb245113d4966df9b2ba602197a379412e or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- other: <https://git.kernel.org/stable/c/7b8381f3c405b864a814d747e526e078c3ef4bc2>
- other: <https://git.kernel.org/stable/c/cab278cead49a547ac84c3e185f446f381303eae>
- other: <https://git.kernel.org/stable/c/a13dbc5e20c7284b82afe6f08debdecf51d2ca04>
- other: <https://git.kernel.org/stable/c/41782c44bb8431c43043129ae42f2ba614938479>
- other: <https://git.kernel.org/stable/c/9158c6bb245113d4966df9b2ba602197a379412e>

## 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-2025-40010>

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