CVE-2026-90166
smb/server: fix null-ptr-deref in ksmbd_ipc_tree_connect_request()
Check your servers for CVE-2026-90166
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-90166 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.87% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before d601be98c9445894c759c28d4a7a52151387f1fb affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 5ffd180307a5ea34dae7f90ff9573ebed6b7fb12 affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 4eb74a34ea401abfbbd5991076715dae3de938df affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 8461f27902727ad434375caf13a0100aafc0340f affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before 7065d3648b1a48d2c49da3d6364dd3c4d503b10c affected from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9, before d2ccf905f47d2344270749f4dfa905afcd3edeb0
Other versions: unaffected
|
| Linux |
affected 5.15 unaffected before 5.15 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.110 up to and including 6.12.* unaffected from 6.18.52 up to and including 6.18.* unaffected from 7.2.6 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-90166 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-90166
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-90166
trivy image --scanners vuln IMAGE | grep CVE-2026-90166
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/d601be98c9445894c759c28d4a7a52151387f1fb git.kernel.org
- https://git.kernel.org/stable/c/5ffd180307a5ea34dae7f90ff9573ebed6b7fb12 git.kernel.org
- https://git.kernel.org/stable/c/4eb74a34ea401abfbbd5991076715dae3de938df git.kernel.org
- https://git.kernel.org/stable/c/8461f27902727ad434375caf13a0100aafc0340f git.kernel.org
- https://git.kernel.org/stable/c/7065d3648b1a48d2c49da3d6364dd3c4d503b10c git.kernel.org
- https://git.kernel.org/stable/c/d2ccf905f47d2344270749f4dfa905afcd3edeb0 git.kernel.org
Source: the record CVE-2026-90166 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse