CVE-2026-139232: ksmbd: fix link speed query in fsctl_query_iface_info_ioctl()

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix link speed query in fsctlqueryifaceinfoioctl()

fsctlqueryifaceinfoioctl() used to call netdev->ethtoolops->getlinkksettings() directly and never checked the return value. If the callback fails, cmd.base.speed may be left uninitialized. Also, SPEEDUNKNOWN (-1) is treated as a numeric link speed and would be converted into a bogus link speed.

Use ethtoolgetlinkksettings() 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 SPEEDUNKNOWN.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In ksmbd's fsctl_query_iface_info_ioctl(), use __ethtool_get_link_ksettings() instead of calling get_link_ksettings() directly, check its return value, and fall back to 1Gbps if the query fails or reports 0 or SPEED_UNKNOWN.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:32 PM
Data Sourced
via MITRE·01:32 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203