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

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-06T11:27:26.193Z
- Modified: 2026-11-11T21:10:00.200Z
- Weaknesses: CWE-125
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from ec0467ccbdeb69a86c8729073057bda7bce00eec before d652ef399f131fcd5f8f34266167449ee7c9e5b3; from ec0467ccbdeb69a86c8729073057bda7bce00eec before 5590cd04d6845c01a6bad985a491c58af6fb5389; from ec0467ccbdeb69a86c8729073057bda7bce00eec before a11d03d116eef138a7249202bd772c8e61915aec; from ec0467ccbdeb69a86c8729073057bda7bce00eec before d0559d07afabfddaaded6a61a16154486b956764; from ec0467ccbdeb69a86c8729073057bda7bce00eec before 2e4d5e8d86a969318340be95470bb76e52392082; from ec0467ccbdeb69a86c8729073057bda7bce00eec before a133e3caf844a3f56b6eef89ddaa66115874f6bd; from ec0467ccbdeb69a86c8729073057bda7bce00eec before 1a867d0d79a4a570a33f2f433919ad2bd7a27b67; from ec0467ccbdeb69a86c8729073057bda7bce00eec before 186615f8855a0be4ee7d3fcd09a8ecc10e783b08; 4.15 (not affected: before 4.15; from 5.10.252 up to 5.10.*; from 5.15.202 up to 5.15.*; from 6.1.165 up to 6.1.*; from 6.6.128 up to 6.6.*; from 6.12.75 up to 6.12.*; from 6.18.16 up to 6.18.*; from 6.19.6 up to 6.19.*; from 7.0 up to *)
- linux 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; from 6.19 before 6.19.6

## References

- <https://git.kernel.org/stable/c/d652ef399f131fcd5f8f34266167449ee7c9e5b3> (patch)
- <https://git.kernel.org/stable/c/5590cd04d6845c01a6bad985a491c58af6fb5389> (patch)
- <https://git.kernel.org/stable/c/a11d03d116eef138a7249202bd772c8e61915aec> (patch)
- <https://git.kernel.org/stable/c/d0559d07afabfddaaded6a61a16154486b956764> (patch)
- <https://git.kernel.org/stable/c/2e4d5e8d86a969318340be95470bb76e52392082> (patch)
- <https://git.kernel.org/stable/c/a133e3caf844a3f56b6eef89ddaa66115874f6bd> (patch)
- <https://git.kernel.org/stable/c/1a867d0d79a4a570a33f2f433919ad2bd7a27b67> (patch)
- <https://git.kernel.org/stable/c/186615f8855a0be4ee7d3fcd09a8ecc10e783b08> (patch)

## Sources

- CVE List: [CVE-2026-43141](https://www.cve.org/CVERecord?id=CVE-2026-43141), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-43141](https://nvd.nist.gov/vuln/detail/CVE-2026-43141), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43141 · Whole record: https://cve.day/CVE-2026-43141.json · Rebuilt by cve.day 2026-11-25T22:59:20.696Z
