CVE-2026-98172

Not scored yetLast modified Oct 30, 2026

Description

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 2f8946464b11822169b9f10c7cf58a2440b51d54, < c295f6505aec085d73e8dcea9f648c8af1b9da8c; >= 2f8946464b11822169b9f10c7cf58a2440b51d54, < 45a97df1b7fe6c1ca5493f8fb5284203991aeeb9; >= 2f8946464b11822169b9f10c7cf58a2440b51d54, < 3164402c58940ff58a3cecdb026405f07b0253af; >= 2f8946464b11822169b9f10c7cf58a2440b51d54, < e3344bb0ff5ec8a276f42239e140f5442841ef23; >= 2f8946464b11822169b9f10c7cf58a2440b51d54, < 5c908e49d349266dff0c86dda6a05df0ff19b824; >= 2f8946464b11822169b9f10c7cf58a2440b51d54, < 928edc4bd6a617caabeb575fc13c254d9df623c4; >= 2f8946464b11822169b9f10c7cf58a2440b51d54, < b26a3fcf2f1c2cadba400290b639f01395db8fc8; >= 2f8946464b11822169b9f10c7cf58a2440b51d54, < e75c96157d45e498970158c8f7373d90102e33b9
LinuxLinux4.16

References

Timeline

Published
Oct 6, 2026
Last modified
Oct 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-981737.5In the Linux kernel, the following vulnerability has been resolved: smb: client: fix use-after-free of iface in cifs_try_adding_channels() CVE-2026-981747.5In the Linux kernel, the following vulnerability has been resolved: smb: client: fix rlist race and missing initialization TCP_Server_InfoCVE-2026-981757.5In the Linux kernel, the following vulnerability has been resolved: smb: client: cancel reconnect work in clean_demultiplex_info() clean_dCVE-2026-98176In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Avoid integer underflow with ffs in EOP ring size calc TheCVE-2026-98177In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Avoid integer underflow in EOP ring size calculation. The CVE-2026-98178In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: Skip KFD mapping clear before initialization amdgpu_amdkfdCVE-2026-98179In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix rmmio iounmap skipped on device removal amdgpu_pci_remCVE-2026-981807.1In the Linux kernel, the following vulnerability has been resolved: drm/msm: RCU-free the scheduler-containing ring and VM objects Both stCVE-2026-98181In the Linux kernel, the following vulnerability has been resolved: drm/gud: fix out-of-bounds write in gud_plane_atomic_check() The planeCVE-2026-98182In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: refuse to make a monitor active when it has no queue ACVE-2026-98183In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: avoid out-of-bounds read for empty PREQ elements ieee8CVE-2026-98184In the Linux kernel, the following vulnerability has been resolved: wifi: mwifiex: prevent authentication frame length truncation mwifiex_