{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-90435",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-90435"
  ],
  "published": "2026-09-17T16:10:40Z",
  "summary": "RDMA/mlx5: Fix integer overflow of user QP buffer size",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/mlx5: Fix integer overflow of user QP buffer size\n\nset_user_buf_size() computes the QP buffer size by left-shifting the\nuser-supplied rq.wqe_cnt and rq.wqe_shift values as signed integers.\nA sufficiently large rq.wqe_cnt causes signed integer overflow, which\nis undefined behavior, and yields a small or negative buf_size, causing\nib_umem_get() to map a buffer smaller than the hardware will actually\nwrite into.\n\nReplace the shifts and addition with check_shl_overflow() and\ncheck_add_overflow(), rejecting invalid user inputs.\n\nMoreover, guard the identical shift computing qp->sq.offset in\n_create_user_qp() before set_user_buf_size() is reached.",
  "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.188",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-90435"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ccce6b7ef1d7efc59ccba3421e1339c6e63a3d20"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d99622e40aaa910ade681dfd4dc0fa240a011331"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c845e5e05140ea1bc64a5b1107942d93c876034d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/42fb8aefffff5b458aaa66803364a16e0ea44129"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/d7fa2ff72ad1861eac194a4e0075d504ba8c246e"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5b6cfc6d7ff0959dd9766fdc24286a253b59ca77"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f917707f0de0832b8ab582391b1f64e549995c6c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/dec47e4b0fe34afdf38caa72b4408ba95502e5de"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-09-18T17:55:42Z"
  }
}
