CVE-2026-43239: smb: client: prevent races in ->query_interfaces()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
smb: client: prevent races in ->query_interfaces()
It was possible for two query interface works to be concurrently trying to update the interfaces.
Prevent this by checking and updating iface_last_update under iface_lock.
The Linux kernel CVE team has assigned CVE-2026-43239 to this issue.
Affected and fixed versions
===========================
Fixed in 6.6.128 with commit 93e8e3ee165ae4609a1222b516b573837103d2c3 Fixed in 6.12.75 with commit ab6564f416a6eaf1199200b6100952407b438f7d Fixed in 6.18.16 with commit 6287eefaf21ec805d42f941bd368018cf397a7f5 Fixed in 6.19.6 with commit 76cc4faba0343c6db945b8dc75425b33d633e1b8 Fixed in 7.0 with commit c3c06e42e1527716c54f3ad2ced6a034b5f3a489
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-43239
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
fs/smb/client/smb2ops.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/93e8e3ee165ae4609a1222b516b573837103d2c3 https://git.kernel.org/stable/c/ab6564f416a6eaf1199200b6100952407b438f7d https://git.kernel.org/stable/c/6287eefaf21ec805d42f941bd368018cf397a7f5 https://git.kernel.org/stable/c/76cc4faba0343c6db945b8dc75425b33d633e1b8 https://git.kernel.org/stable/c/c3c06e42e1527716c54f3ad2ced6a034b5f3a489