Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.252, 5.15.202, 6.1.165, 6.12.75, 6.18.16, 6.19.6, 6.6.128
CVEs
CVE-2026-43141
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 00:57 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 6 May 2026, 11:27 UTC

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.

osv:CVE-2026-43141

Kernel

Fixed versions: 5.10.252, 5.15.202, 6.1.165, 6.6.128, 6.12.75, 6.18.16, 6.19.6

Complete source record
{
  "id": "50e60360f38475469da8e6094bc060f95907106b91967668cf294f552b057edd",
  "url": "https://osv.dev/vulnerability/CVE-2026-43141",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ntb: ntb_hw_switchtec: Fix shift-out-of-bounds for 0 mw lut",
    "summary": "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.",
    "evidence": "osv:CVE-2026-43141",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.252",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.202",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.165",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.128",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.75",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.16",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.19.6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-43141",
      "aliases": [
        "CVE-2026-43141"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ec0467ccbdeb69a86c8729073057bda7bce00eec"
                },
                {
                  "fixed": "d652ef399f131fcd5f8f34266167449ee7c9e5b3"
                },
                {
                  "fixed": "5590cd04d6845c01a6bad985a491c58af6fb5389"
                },
                {
                  "fixed": "a11d03d116eef138a7249202bd772c8e61915aec"
                },
                {
                  "fixed": "d0559d07afabfddaaded6a61a16154486b956764"
                },
                {
                  "fixed": "2e4d5e8d86a969318340be95470bb76e52392082"
                },
                {
                  "fixed": "a133e3caf844a3f56b6eef89ddaa66115874f6bd"
                },
                {
                  "fixed": "1a867d0d79a4a570a33f2f433919ad2bd7a27b67"
                },
                {
                  "fixed": "186615f8855a0be4ee7d3fcd09a8ecc10e783b08"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43141.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.15.0"
                },
                {
                  "fixed": "5.10.252"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.202"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.165"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.128"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.75"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.16"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "6.19.6"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43141.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:48.877661465Z",
      "provider": "osv",
      "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",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43141.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-43141",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43141.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-43141",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 516794,
  "published_at": "2026-05-06T11:27:26.193+00:00"
}