CVE-2026-90166: smb/server: fix null-ptr-deref in ksmbd_ipc_tree_connect_request()

Published Sep 17, 2026
·
Updated

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

smb/server: fix null-ptr-deref in ksmbdipctreeconnectrequest()

See the procedure below:

ksmbdtreeconnconnect ksmbdshareconfigget share->name = kstrdup() // fail if (!testshareconfigflag(share, KSMBDSHAREFLAGPIPE)) // false // do not check share->name ksmbdipctreeconnectrequest strlen(share->name) // null-ptr-deref

Affected Software

1 affected component
Linux Linux kernel

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 condition triggers the crash?

The crash occurs when allocation of share->name with kstrdup() fails for a share that is not marked with KSMBD_SHARE_FLAG_PIPE. The subsequent IPC tree-connect request calls strlen() on the null share->name pointer.

2

What component is involved?

The affected code path is in the Linux kernel SMB server implementation, ksmbd, specifically ksmbd_ipc_tree_connect_request().

3

How can this be identified in logs or crash diagnostics?

Look for a kernel null-pointer dereference whose stack or faulting path includes ksmbd_ipc_tree_connect_request() and strlen(), following ksmbd_tree_conn_connect() and ksmbd_share_config_get().

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