Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-139232

ksmbd: fix link speed query in fsctl_query_iface_info_ioctl()

Published 30/11/2026 · Updated 30/11/2026 · Linux

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix link speed query in fsctl_query_iface_info_ioctl() fsctl_query_iface_info_ioctl() used to call netdev->ethtool_ops->get_link_ksettings() directly and never checked the return value. If the callback fails, cmd.base.speed may be left uninitialized. Also, SPEED_UNKNOWN (-1) is treated as a numeric link speed and would be converted into a bogus link speed. Use __ethtool_get_link_ksettings() to acquire the per-netdev ops lock when needed. Fall back to 1Gbps when the query fails, or when the reported speed is 0 or SPEED_UNKNOWN.

Affected products and versions

Linux Linuxe2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 – < e3f56d093f9bf009c5e9ae182a02c79942e277f8 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 – < 6c20b1d858002def541993b07a9eeec500ead66f · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 – < c31d0b03aeb18569f54d795d6ed4105f3dcbb01d · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 – < a25c18e9a86980646b1b3a24d6fec881d37d8b7a · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 – < b8011a3fcdd8b8714b4c5a39c4e275b14d180a77 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 – < 9acc5061317753d5b7700f2806ad5913963b6733 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 – < 2bc1d25fc8597fa6cbf6b1ff92653881939a6436Fixed in: e3f56d093f9bf009c5e9ae182a02c79942e277f8 · 6c20b1d858002def541993b07a9eeec500ead66f · c31d0b03aeb18569f54d795d6ed4105f3dcbb01d · a25c18e9a86980646b1b3a24d6fec881d37d8b7a · b8011a3fcdd8b8714b4c5a39c4e275b14d180a77 · 9acc5061317753d5b7700f2806ad5913963b6733 · 2bc1d25fc8597fa6cbf6b1ff92653881939a6436
Linux Linux5.15Fixed in: 5.15.226 · 6.1.193 · 6.6.163 · 6.12.119 · 6.18.65 · 7.3.6 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.