CVE-2026-43141: ntb: ntb_hw_switchtec: Fix shift-out-of-bounds for 0 mw lut

Published May 6, 2026
·
Updated

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

ntb: ntbhwswitchtec: Fix shift-out-of-bounds for 0 mw lut

Number of MW LUTs depends on NTB configuration and can be set to zero, in such scenario rounddownpowoftwo will cause undefined behaviour and should not be performed. This patch ensures that rounddownpowoftwo is called on valid value.

Affected Software

8 affected components
Linux Linux kernel
Linux Linux kernel>=4.15<5.10.252
Linux Linux kernel>=5.11<5.15.202
Linux Linux kernel>=5.16<6.1.165
Linux Linux kernel>=6.2<6.6.128
Linux Linux kernel>=6.7<6.12.75
Linux Linux kernel>=6.13<6.18.16
Linux Linux kernel>=6.19<6.19.6

Event History

May 6, 2026
CVE Published
via MITRE·11:27 AM
Data Sourced
via MITRE·11:27 AM
Description
Data Sourced
via NVD·12:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel's ntb_hw_switchtec driver are affected when the NTB configuration has zero memory-window lookup tables (MW LUTs). The issue is configuration-dependent rather than applying to every Linux kernel system.

2

What is required to trigger the vulnerability?

A local attacker with low privileges can exploit the condition without user interaction, according to the CVSS vector. The vulnerable path requires an NTB configuration in which the number of MW LUTs is zero.

3

What should be done if patching cannot happen immediately?

Avoid or disable NTB configurations that set the number of MW LUTs to zero until the available patch can be applied. This prevents the driver from calling rounddown_pow_of_two with an invalid zero value.

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