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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-09-17T16:06:55.863Z
- Modified: 2026-10-30T13:20:44.650Z
- Assigned by: Linux

## Description

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

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

See the procedure below:

  ksmbd_tree_conn_connect
    ksmbd_share_config_get
      share->name = kstrdup() // fail
      if (!test_share_config_flag(share, KSMBD_SHARE_FLAG_PIPE)) // false
      // do not check `share->name`
    ksmbd_ipc_tree_connect_request
      strlen(share->name) // null-ptr-deref

(As written by CVE List.)

## Affected

- Linux Linux: from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before d601be98c9445894c759c28d4a7a52151387f1fb; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 5ffd180307a5ea34dae7f90ff9573ebed6b7fb12; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 4eb74a34ea401abfbbd5991076715dae3de938df; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 8461f27902727ad434375caf13a0100aafc0340f; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 7065d3648b1a48d2c49da3d6364dd3c4d503b10c; from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before d2ccf905f47d2344270749f4dfa905afcd3edeb0; 5.15 (not affected: before 5.15; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.52 up to 6.18.*; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/d601be98c9445894c759c28d4a7a52151387f1fb>
- <https://git.kernel.org/stable/c/5ffd180307a5ea34dae7f90ff9573ebed6b7fb12>
- <https://git.kernel.org/stable/c/4eb74a34ea401abfbbd5991076715dae3de938df>
- <https://git.kernel.org/stable/c/8461f27902727ad434375caf13a0100aafc0340f>
- <https://git.kernel.org/stable/c/7065d3648b1a48d2c49da3d6364dd3c4d503b10c>
- <https://git.kernel.org/stable/c/d2ccf905f47d2344270749f4dfa905afcd3edeb0>

## Sources

- CVE List: [CVE-2026-90166](https://www.cve.org/CVERecord?id=CVE-2026-90166), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-90166](https://nvd.nist.gov/vuln/detail/CVE-2026-90166), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-90166 · Whole record: https://cve.day/CVE-2026-90166.json · Rebuilt by cve.day 2026-11-25T22:59:39.324Z
