{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-43141",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-43141"
  ],
  "published": "2026-05-06T11:29:17Z",
  "summary": "ntb: ntb_hw_switchtec: Fix shift-out-of-bounds for 0 mw lut",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nntb: ntb_hw_switchtec: Fix shift-out-of-bounds for 0 mw lut\n\nNumber of MW LUTs depends on NTB configuration and can be set to zero,\nin such scenario rounddown_pow_of_two will cause undefined behaviour and\nshould not be performed.\nThis patch ensures that rounddown_pow_of_two is called on valid value.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.165",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-43141"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d652ef399f131fcd5f8f34266167449ee7c9e5b3"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5590cd04d6845c01a6bad985a491c58af6fb5389"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a11d03d116eef138a7249202bd772c8e61915aec"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d0559d07afabfddaaded6a61a16154486b956764"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2e4d5e8d86a969318340be95470bb76e52392082"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a133e3caf844a3f56b6eef89ddaa66115874f6bd"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/1a867d0d79a4a570a33f2f433919ad2bd7a27b67"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/186615f8855a0be4ee7d3fcd09a8ecc10e783b08"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-05-12T04:54:46Z"
  }
}
