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

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 20 Oct 2025 15:45:00 +0000

Type Values Removed Values Added
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.
Title afs: Fix potential null pointer dereference in afs_put_server
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2025-10-20T15:26:55.874Z

Reserved: 2025-04-16T07:20:57.151Z

Link: CVE-2025-40010

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-10-20T16:15:37.700

Modified: 2025-10-20T16:15:37.700

Link: CVE-2025-40010

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.