ntb: ntb_hw_switchtec: Fix shift-out-of-bounds for 0 mw lut
Summary
| CVE | CVE-2026-43141 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-06 12:16:31 UTC |
| Updated | 2026-05-13 20:52:24 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.1 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Problem Types: CWE-125
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected ec0467ccbdeb69a86c8729073057bda7bce00eec d652ef399f131fcd5f8f34266167449ee7c9e5b3 git | Not specified |
| CNA | Linux | Linux | affected ec0467ccbdeb69a86c8729073057bda7bce00eec 5590cd04d6845c01a6bad985a491c58af6fb5389 git | Not specified |
| CNA | Linux | Linux | affected ec0467ccbdeb69a86c8729073057bda7bce00eec a11d03d116eef138a7249202bd772c8e61915aec git | Not specified |
| CNA | Linux | Linux | affected ec0467ccbdeb69a86c8729073057bda7bce00eec d0559d07afabfddaaded6a61a16154486b956764 git | Not specified |
| CNA | Linux | Linux | affected ec0467ccbdeb69a86c8729073057bda7bce00eec 2e4d5e8d86a969318340be95470bb76e52392082 git | Not specified |
| CNA | Linux | Linux | affected ec0467ccbdeb69a86c8729073057bda7bce00eec a133e3caf844a3f56b6eef89ddaa66115874f6bd git | Not specified |
| CNA | Linux | Linux | affected ec0467ccbdeb69a86c8729073057bda7bce00eec 1a867d0d79a4a570a33f2f433919ad2bd7a27b67 git | Not specified |
| CNA | Linux | Linux | affected ec0467ccbdeb69a86c8729073057bda7bce00eec 186615f8855a0be4ee7d3fcd09a8ecc10e783b08 git | Not specified |
| CNA | Linux | Linux | affected 4.15 | Not specified |
| CNA | Linux | Linux | unaffected 4.15 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.252 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.202 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.165 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.128 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.75 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.16 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.19.6 6.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/d0559d07afabfddaaded6a61a16154486b956764 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/1a867d0d79a4a570a33f2f433919ad2bd7a27b67 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/186615f8855a0be4ee7d3fcd09a8ecc10e783b08 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/a11d03d116eef138a7249202bd772c8e61915aec | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/a133e3caf844a3f56b6eef89ddaa66115874f6bd | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/d652ef399f131fcd5f8f34266167449ee7c9e5b3 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/5590cd04d6845c01a6bad985a491c58af6fb5389 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/2e4d5e8d86a969318340be95470bb76e52392082 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.