CVE-2026-98172
smb: client: fix smbd_connection leak on cifs_get_tcp_session() error
Reported by linux · Published October 6, 2026
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix smbd_connection leak on cifs_get_tcp_session() error When an RDMA connection is successfully established via smbd_get_connection() but cifs_get_tcp_session() later fails (e.g. kthread_create() returns an error), the error path frees tcp_ses without first destroying the smbd_connection. Fix this by calling smbd_destroy() in the out_err cleanup path before kfree(tcp_ses). smbd_destroy() safely handles the case where smbd_conn is NULL, so it can be called unconditionally.
EPSS 0.18% · 7.3th percentile
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 2f8946464b11822169b9f10c7cf58a2440b51d54, 2f8946464b11822169b9f10c7cf58a2440b51d54, 2f8946464b11822169b9f10c7cf58a2440b51d54 |
| Linux | Linux | 4.16, 0, 5.10.273 |
| linux | linux_kernel | 4.16, 4.16, 4.16 |
| Linux | Linux | 2f8946464b11822169b9f10c7cf58a2440b51d54, 2f8946464b11822169b9f10c7cf58a2440b51d54, 2f8946464b11822169b9f10c7cf58a2440b51d54 |
| Linux | Linux kernel |
Timeline
- Oct 6, 2026 EPSS Score (7 in total, the first dated here)
- Oct 6, 2026 Coalition ESS Score
- Oct 6, 2026 CVE Published
- Oct 30, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98172
vulnetix vdb fixes CVE-2026-98172
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98172/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart