{"id":"CVE-2026-98172","published":"2026-10-06T08:44:16Z","modified":"2026-10-30T12:37:51Z","title":"smb: client: fix smbd_connection leak on cifs_get_tcp_session() error","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix smbd_connection leak on cifs_get_tcp_session() error\n\nWhen an RDMA connection is successfully established via\nsmbd_get_connection() but cifs_get_tcp_session() later fails (e.g.\nkthread_create() returns an error), the error path frees tcp_ses\nwithout first destroying the smbd_connection.\n\nFix this by calling smbd_destroy() in the out_err cleanup path before\nkfree(tcp_ses).  smbd_destroy() safely handles the case where\nsmbd_conn is NULL, so it can be called unconditionally.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00177,"percentile":0.07207,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/c295f6505aec085d73e8dcea9f648c8af1b9da8c","tags":[]},{"url":"https://git.kernel.org/stable/c/45a97df1b7fe6c1ca5493f8fb5284203991aeeb9","tags":[]},{"url":"https://git.kernel.org/stable/c/3164402c58940ff58a3cecdb026405f07b0253af","tags":[]},{"url":"https://git.kernel.org/stable/c/e3344bb0ff5ec8a276f42239e140f5442841ef23","tags":[]},{"url":"https://git.kernel.org/stable/c/5c908e49d349266dff0c86dda6a05df0ff19b824","tags":[]},{"url":"https://git.kernel.org/stable/c/928edc4bd6a617caabeb575fc13c254d9df623c4","tags":[]},{"url":"https://git.kernel.org/stable/c/b26a3fcf2f1c2cadba400290b639f01395db8fc8","tags":[]},{"url":"https://git.kernel.org/stable/c/e75c96157d45e498970158c8f7373d90102e33b9","tags":[]}],"priority":{"score":1.4,"factors":[{"name":"EPSS percentile","points":1.44}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 2f8946464b11822169b9f10c7cf58a2440b51d54, < c295f6505aec085d73e8dcea9f648c8af1b9da8c",">= 2f8946464b11822169b9f10c7cf58a2440b51d54, < 45a97df1b7fe6c1ca5493f8fb5284203991aeeb9",">= 2f8946464b11822169b9f10c7cf58a2440b51d54, < 3164402c58940ff58a3cecdb026405f07b0253af",">= 2f8946464b11822169b9f10c7cf58a2440b51d54, < e3344bb0ff5ec8a276f42239e140f5442841ef23",">= 2f8946464b11822169b9f10c7cf58a2440b51d54, < 5c908e49d349266dff0c86dda6a05df0ff19b824",">= 2f8946464b11822169b9f10c7cf58a2440b51d54, < 928edc4bd6a617caabeb575fc13c254d9df623c4",">= 2f8946464b11822169b9f10c7cf58a2440b51d54, < b26a3fcf2f1c2cadba400290b639f01395db8fc8",">= 2f8946464b11822169b9f10c7cf58a2440b51d54, < e75c96157d45e498970158c8f7373d90102e33b9"]},{"vendor":"Linux","product":"Linux","versions":["4.16"]}],"euvd":{"id":"EUVD-2026-93100","exploited":false,"provenance":"source"}}