CVE-2026-139233

high

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix iface_list use-after-free during server reset ksmbd_find_netdev_name_iface_list() walks iface_list for fsctl_query_iface_info_ioctl(), which holds RTNL. But during server reset, ksmbd_tcp_destroy() unlinks and frees the entries without RTNL, and queued SMB requests can still be running at that point. So an FSCTL_QUERY_NETWORK_INTERFACE_INFO request can therefore race with interface destruction and dereference a freed entry. With debug-only instrumentation to make the race deterministic, KASAN reports: BUG: KASAN: slab-use-after-free in ksmbd_find_netdev_name_iface_list ksmbd_find_netdev_name_iface_list fsctl_query_iface_info_ioctl smb2_ioctl handle_ksmbd_work Freed by: kfree ksmbd_tcp_destroy ksmbd_conn_transport_destroy kill_server_store The fix is to detach iface_list to a temporary list under RTNL, then drop RTNL before cleanup because the following cleanup may block and hold RTNL for a long time.

References

https://git.kernel.org/stable/c/d34d38ab0c62fe4eb9e746420c554e6d0e6f54db

https://git.kernel.org/stable/c/77b1955bee3f18fdcbd9cca7c66d8078ccc03cf8

https://git.kernel.org/stable/c/63372a93b7b28665ebf7dc21ea0f7a41b25eea7c

https://git.kernel.org/stable/c/590fb6597864980fdaf27436d0bf94dae18a69bb

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-138938

Details

Source: Mitre, NVD

Published: 2026-11-30

Updated: 2026-11-30

Risk Information

CVSS v2

Base Score: 6.9

Vector: CVSS2#AV:L/AC:M/Au:N/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 7.1

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Severity: High