{"id":"CVE-2026-90164","aliases":["CVE-2026-90164"],"related":[],"kind":"vulnerability","state":"published","title":"smb/server: abort initialization when proc setup fails","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb/server: abort initialization when proc setup fails\n\nksmbd_server_init() calls ksmbd_proc_init() before creating the\nremaining proc entries and server subsystems. ksmbd_proc_init() tears\ndown partial state on a procfs or percpu_counter allocation failure,\nbut returns void, so ksmbd_server_init() continues as if the counters\nwere usable.\n\nOnce userspace starts the server, server_ctrl_handle_init() calls\nksmbd_proc_reset(), which reaches percpu_counter_set() with a NULL\nper-CPU counters pointer on SMP systems. The later ksmbd_proc_create()\ncalls also receive a NULL parent and may create entries in the /proc\nroot; ksmbd_proc_cleanup() cannot remove those entries because\nksmbd_proc_fs is NULL.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb/server: abort initialization when proc setup fails\n\nksmbd_server_init() calls ksmbd_proc_init() before creating the\nremaining proc entries and server subsystems. ksmbd_proc_init() tears\ndown partial state on a procfs or percpu_counter allocation failure,\nbut returns void, so ksmbd_server_init() continues as if the counters\nwere usable.\n\nOnce userspace starts the server, server_ctrl_handle_init() calls\nksmbd_proc_reset(), which reaches percpu_counter_set() with a NULL\nper-CPU counters pointer on SMP systems. The later ksmbd_proc_create()\ncalls also receive a NULL parent and may create entries in the /proc\nroot; ksmbd_proc_cleanup() cannot remove those entries because\nksmbd_proc_fs is NULL.","source":"cvelist"}],"published":"2026-09-17T16:06:54.504Z","modified":"2026-10-19T09:19:06.407Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b38f99c1217ae04753340f0fdcd8f35bf56841dc","fixed":"fb4ba2bdfc1de8866e7c8e00df99f4b03ff42f09","status":"affected"},{"type":"git","introduced":"b38f99c1217ae04753340f0fdcd8f35bf56841dc","fixed":"db97f3763727d652112ae70038d4e17b3ce277bb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/fb4ba2bdfc1de8866e7c8e00df99f4b03ff42f09","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/db97f3763727d652112ae70038d4e17b3ce277bb","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90164","url":"https://www.cve.org/CVERecord?id=CVE-2026-90164","licence":"CVE Terms of Use","modified":"2026-10-19T08:59:02.709Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90164","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90164","licence":"Public domain","modified":"2026-10-19T09:19:06.407Z"}],"updatedAt":"2026-11-25T22:59:39.323Z","epss":{"score":0.00189,"percentile":0.08986,"date":"2026-12-01T12:00:22.000Z"}}