What’s Vulnerable › Vulnerabilities
CVE-2026-43141: ntb: ntb_hw_switchtec: Fix shift-out-of-bounds for 0 mw lut
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-06 · updated 2026-06-17
- Weakness: CWE-125
Description
In the Linux kernel, the following vulnerability has been resolved: ntb: ntb_hw_switchtec: 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 rounddown_pow_of_two will cause undefined behaviour and should not be performed. This patch ensures that rounddown_pow_of_two is called on valid value.
Affected products
- Linux kernel: from 4.15 before 5.10.252; from 5.11 before 5.15.202; from 5.16 before 6.1.165; from 6.2 before 6.6.128; from 6.7 before 6.12.75; from 6.13 before 6.18.16 — fixed in 5.10.252, 5.15.202, 6.1.165, 6.12.75, 6.18.16, 6.19.6
How to fix
Upgrade to a fixed version: Linux kernel 5.10.252, 5.15.202, 6.1.165, 6.12.75. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/186615f8855a0be4ee7d3fcd09a8ecc10e783b08
- https://git.kernel.org/stable/c/1a867d0d79a4a570a33f2f433919ad2bd7a27b67
- https://git.kernel.org/stable/c/2e4d5e8d86a969318340be95470bb76e52392082
- https://git.kernel.org/stable/c/5590cd04d6845c01a6bad985a491c58af6fb5389
- https://git.kernel.org/stable/c/a11d03d116eef138a7249202bd772c8e61915aec
- https://git.kernel.org/stable/c/a133e3caf844a3f56b6eef89ddaa66115874f6bd
- https://git.kernel.org/stable/c/d0559d07afabfddaaded6a61a16154486b956764
- https://git.kernel.org/stable/c/d652ef399f131fcd5f8f34266167449ee7c9e5b3
Get alerted when CVE-2026-43141 or the next vulnerability affects your stack