CVE-2025-40010
JSON

Not scored

afs: Fix potential null pointer dereference in afs_put_server

Severity
Not scored
Exploit likelihood
0.24% (higher than 16% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 2757a4dc184997c66ef1de32636f73b9f21aac14 before 7b8381f3c405b864a814d747e526e078c3ef4bc2, from 2757a4dc184997c66ef1de32636f73b9f21aac14 before cab278cead49a547ac84c3e185f446f381303eae, from 2757a4dc184997c66ef1de32636f73b9f21aac14 before a13dbc5e20c7284b82afe6f08debdecf51d2ca04, from 2757a4dc184997c66ef1de32636f73b9f21aac14 before 41782c44bb8431c43043129ae42f2ba614938479, from 2757a4dc184997c66ef1de32636f73b9f21aac14 before 9158c6bb245113d4966df9b2ba602197a379412e, 6.0
Not affected: before 6.0, from 6.1.155 up to 6.1.*, from 6.6.109 up to 6.6.*, from 6.12.50 up to 6.12.*, from 6.16.10 up to 6.16.*, from 6.17 up to *
CVE List

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: afs: Corregir posible desreferencia de puntero nulo en afs_put_server afs_put_server() accedía a server->debug_id antes de la comprobación de NULO, lo que podría llevar a una desreferencia de puntero nulo. Mover la asignación de debug_id, asegurando que nunca desreferenciemos un puntero de servidor NULO.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-40010 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-40010 changed 2026-10-19Public domain