CVE-2026-139233

ksmbd: fix iface_list use-after-free during server reset

No CVSS score yet EPSS 0.20%

Published 30 Nov 2026 Updated 30 Nov 2026 CNA: Linux

Check your servers for CVE-2026-139233

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-139233 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.

Check my servers

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.

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.4% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 0fc403192dcc8def1f6284959141608ac4c86699, before 77b1955bee3f18fdcbd9cca7c66d8078ccc03cf8
affected from b2d99376c5d61eb60ffdb6c503e4b6c8f9712ddd, before 63372a93b7b28665ebf7dc21ea0f7a41b25eea7c
affected from b2d99376c5d61eb60ffdb6c503e4b6c8f9712ddd, before 590fb6597864980fdaf27436d0bf94dae18a69bb
affected from b2d99376c5d61eb60ffdb6c503e4b6c8f9712ddd, before d34d38ab0c62fe4eb9e746420c554e6d0e6f54db
affected 71d4e39530eab7382a2889fa0259a49f0370df18
affected 499089376206f3f7f09d6852b3ec92f2674d24bb
affected from 6.12.26, before 6.12.120
affected from 6.1.158, before 6.2
affected from 6.6.114, before 6.7
Other versions: unaffected
Linux
affected 6.14
unaffected before 6.14
unaffected from 6.12.120 up to and including 6.12.*
unaffected from 6.18.65 up to and including 6.18.*
unaffected from 7.3.6 up to and including 7.3.*
unaffected 7.4-rc1 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-139233 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139233

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-139233
trivy image --scanners vuln IMAGE | grep CVE-2026-139233

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

Source: the record CVE-2026-139233 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.