CVE-2026-98162
smb/server: fix tree connection leak in smb2_tree_connect()
Check your servers for CVE-2026-98162
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-98162 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 tree connection leak in smb2_tree_connect()
See the procedure below:
smb2_tree_connect ksmbd_tree_conn_connect xa_store(&sess->tree_conns, tree_conn->id, tree_conn) ksmbd_counter_inc(KSMBD_COUNTER_TREE_CONNS) ksmbd_share_tree_conn_inc(sc) ksmbd_iov_pin_rsp // fail status.ret = KSMBD_TREE_CONN_STATUS_NOMEM // do not disconnect tree_conn
Disconnect the new tree connection if ksmbd_iov_pin_rsp() fails.
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.89% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d, before fa0c45986fc60b3edfb35879f2fb0eacc0e49e98 affected from e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d, before fea9c705bbc618ba6426424c9f8330555820c9ec affected from e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d, before a6c88e5e3a75f1e4a98ad4bc4037465ccd7925bc affected from e2b76ab8b5c9327ab2dae6da05d0752eb2f4771d, before 39f2032096715daae5f6fd0f587ca7a474b019df affected f2283680a80571ca82d710bc6ecd8f8beac67d63 affected 9f297df20d93411c0b4ddad7f88ba04a7cd36e77 affected from 5.15.145, before 5.16 affected from 6.1.71, before 6.2
Other versions: unaffected
|
| Linux |
affected 6.6 unaffected before 6.6 unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.18.57 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-98162 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98162
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-98162
trivy image --scanners vuln IMAGE | grep CVE-2026-98162
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/fa0c45986fc60b3edfb35879f2fb0eacc0e49e98 git.kernel.org
- https://git.kernel.org/stable/c/fea9c705bbc618ba6426424c9f8330555820c9ec git.kernel.org
- https://git.kernel.org/stable/c/a6c88e5e3a75f1e4a98ad4bc4037465ccd7925bc git.kernel.org
- https://git.kernel.org/stable/c/39f2032096715daae5f6fd0f587ca7a474b019df git.kernel.org
Source: the record CVE-2026-98162 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