CVE-2026-90164: smb/server: abort initialization when proc setup fails

Published Sep 17, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

smb/server: abort initialization when proc setup fails

ksmbdserverinit() calls ksmbdprocinit() before creating the remaining proc entries and server subsystems. ksmbdprocinit() tears down partial state on a procfs or percpucounter allocation failure, but returns void, so ksmbdserverinit() continues as if the counters were usable.

Once userspace starts the server, serverctrlhandleinit() calls ksmbdprocreset(), which reaches percpucounterset() with a NULL per-CPU counters pointer on SMP systems. The later ksmbdproccreate() calls also receive a NULL parent and may create entries in the /proc root; ksmbdproccleanup() cannot remove those entries because ksmbdprocfs is NULL.

Event History

Sep 17, 2026
CVE Published
via MITRE·04:06 PM
Data Sourced
via MITRE·04:06 PM
Description

Frequently Asked Questions

1

What conditions are required to trigger this issue?

Initialization of the ksmbd server must encounter a procfs or per-CPU counter allocation failure during ksmbd_proc_init(). If userspace subsequently starts the server, it can reach a reset path that uses a NULL per-CPU counters pointer on SMP systems.

2

Which systems are most directly exposed to a crash?

SMP systems are directly affected by the NULL per-CPU counters pointer path, because ksmbd_proc_reset() can call percpu_counter_set() after failed initialization. The issue is relevant when the ksmbd server is initialized and its proc setup has partially failed.

3

What side effects can indicate partial initialization occurred?

Later proc-entry creation can receive a NULL parent and create entries in the /proc root. Cleanup cannot remove those entries because ksmbd_proc_fs is NULL.

4

What does the fix change?

The fix makes server initialization abort when proc setup fails, rather than continuing with torn-down or unusable proc state.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203