7.1high
ntb: ntb_hw_switchtec: Fix shift-out-of-bounds for 0 mw lut
- Severity
- 7.1high CVSS:3.1 by NVD
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 and 1 more 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.* | CVE List |
| 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 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ntb: ntb_hw_switchtec: Corrección de desplazamiento fuera de límites para 0 mw lut El número de MW LUTs depende de la configuración de NTB y puede establecerse en cero; en tal escenario, rounddown_pow_of_two causará un comportamiento indefinido y no debería realizarse. Este parche asegura que rounddown_pow_of_two se llama con un valor válido.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43141 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-43141 changed 2026-11-11 | Public domain |