{"id":"CVE-2025-40010","summary":"afs: Fix potential null pointer dereference in afs_put_server","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nafs: Fix potential null pointer dereference in afs_put_server\n\nafs_put_server() accessed server-\u003edebug_id before the NULL check, which\ncould lead to a null pointer dereference. Move the debug_id assignment,\nensuring we never dereference a NULL server pointer.","modified":"2026-04-16T04:37:29.684120937Z","published":"2025-10-20T15:26:55.874Z","related":["SUSE-SU-2025:21040-1","SUSE-SU-2025:21052-1","SUSE-SU-2025:21056-1","SUSE-SU-2025:21064-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4128-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4140-1","SUSE-SU-2025:4141-1","SUSE-SU-2025:4301-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40010.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/41782c44bb8431c43043129ae42f2ba614938479"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7b8381f3c405b864a814d747e526e078c3ef4bc2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9158c6bb245113d4966df9b2ba602197a379412e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a13dbc5e20c7284b82afe6f08debdecf51d2ca04"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cab278cead49a547ac84c3e185f446f381303eae"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40010.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40010"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2757a4dc184997c66ef1de32636f73b9f21aac14"},{"fixed":"7b8381f3c405b864a814d747e526e078c3ef4bc2"},{"fixed":"cab278cead49a547ac84c3e185f446f381303eae"},{"fixed":"a13dbc5e20c7284b82afe6f08debdecf51d2ca04"},{"fixed":"41782c44bb8431c43043129ae42f2ba614938479"},{"fixed":"9158c6bb245113d4966df9b2ba602197a379412e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40010.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.1.155"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.109"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.50"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.16.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40010.json"}}],"schema_version":"1.7.5"}