# CVE-2026-90166: smb/server: fix null-ptr-deref in ksmbd\_ipc\_tree\_connect\_request()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-17T16:06:55.863Z
- **Modified:** 2026-10-30T13:20:44.650Z

## Who should check

- Anyone running Linux \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< d601be98c9445894c759c28d4a7a52151387f1fb; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 5ffd180307a5ea34dae7f90ff9573ebed6b7fb12; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 4eb74a34ea401abfbbd5991076715dae3de938df; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 8461f27902727ad434375caf13a0100aafc0340f; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 7065d3648b1a48d2c49da3d6364dd3c4d503b10c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< d2ccf905f47d2344270749f4dfa905afcd3edeb0
- Anyone running Linux 5.15

## 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

## Affected and fixed versions

- Linux: \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< d601be98c9445894c759c28d4a7a52151387f1fb; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 5ffd180307a5ea34dae7f90ff9573ebed6b7fb12; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 4eb74a34ea401abfbbd5991076715dae3de938df; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 8461f27902727ad434375caf13a0100aafc0340f; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 7065d3648b1a48d2c49da3d6364dd3c4d503b10c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< d2ccf905f47d2344270749f4dfa905afcd3edeb0 (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-90166. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90166.md
Affected: Linux >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < d601be98c9445894c759c28d4a7a52151387f1fb; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 5ffd180307a5ea34dae7f90ff9573ebed6b7fb12; >= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, < 4eb74a34ea401abfbbd5991076715dae3de938df; >= e2f34481b24db2fd634b5ed…
Fixed in: Linux 5ffd180307a5ea34dae7f90ff9573ebed6b7fb12, Linux 4eb74a34ea401abfbbd5991076715dae3de938df, Linux 8461f27902727ad434375caf13a0100aafc0340f, Linux 7065d3648b1a48d2c49da3d6364dd3c4d503b10c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-90166 being exploited?

There is no confirmed exploitation: CVE-2026-90166 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-90166?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-90166?

Linux \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< d601be98c9445894c759c28d4a7a52151387f1fb; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 5ffd180307a5ea34dae7f90ff9573ebed6b7fb12; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 4eb74a34ea401abfbbd5991076715dae3de938df; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 8461f27902727ad434375caf13a0100aafc0340f; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< 7065d3648b1a48d2c49da3d6364dd3c4d503b10c; \>= e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, \< d2ccf905f47d2344270749f4dfa905afcd3edeb0; Linux 5.15.

### Is there a fix for CVE-2026-90166?

Yes. Fixed in Linux 5ffd180307a5ea34dae7f90ff9573ebed6b7fb12, Linux 4eb74a34ea401abfbbd5991076715dae3de938df, Linux 8461f27902727ad434375caf13a0100aafc0340f, Linux 7065d3648b1a48d2c49da3d6364dd3c4d503b10c. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-90166?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-90166>

HTML: <https://flawdb.com/CVE-2026-90166> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-90166>
