{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-99302",
  "modified": "2026-11-24T05:30:02Z",
  "upstream": [
    "CVE-2026-99302"
  ],
  "published": "2026-11-16T09:59:52Z",
  "summary": "nvmet-rdma: reject short connection requests",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-rdma: reject short connection requests\n\nnvmet_rdma_parse_cm_connect_req() treats RDMA-CM private data as a\nstruct nvme_rdma_cm_req but accepts any nonzero private_data_len.  The\niWARP path allocates exactly the peer-provided length, so a six-byte MPA\nrequest reaches the parser and the hsqsize load reads two bytes past the\nallocation.\n\nRequire the complete request structure before reading any of its fields.\nThe decoded KASAN report is:\n\n  BUG: KASAN: slab-out-of-bounds in nvmet_rdma_cm_handler\n    (drivers/nvme/target/rdma.c:1427 drivers/nvme/target/rdma.c:1475\n     drivers/nvme/target/rdma.c:1614 drivers/nvme/target/rdma.c:1814)\n  Read of size 2 at addr ff1100010459d366 by task kworker/u16:1/41\n  Workqueue: iw_cm_wq cm_work_handler\n  Call Trace:\n   <TASK>\n   dump_stack_lvl (lib/dump_stack.c:94 lib/dump_stack.c:120)\n   print_report (mm/kasan/report.c:378 mm/kasan/report.c:482)\n   kasan_report (mm/kasan/report.c:595)\n   nvmet_rdma_cm_handler\n    (drivers/nvme/target/rdma.c:1427 drivers/nvme/target/rdma.c:1475\n     drivers/nvme/target/rdma.c:1614 drivers/nvme/target/rdma.c:1814)\n   cma_cm_event_handler (drivers/infiniband/core/cma.c:2181)\n   iw_conn_req_handler (drivers/infiniband/core/cma.c:2640)\n   cm_work_handler\n    (drivers/infiniband/core/cm.c:2502\n     drivers/infiniband/core/cm.c:3858)\n   process_one_work (kernel/workqueue.c:3396)\n   worker_thread (kernel/workqueue.c:3479 kernel/workqueue.c:3560)\n   kthread (kernel/kthread.c:436)\n   ret_from_fork (arch/x86/kernel/process.c:158)\n   ret_from_fork_asm (arch/x86/entry/entry_64.S:245)\n   </TASK>\n\n  Allocated by task 12:\n   __kasan_kmalloc (mm/kasan/common.c:398 mm/kasan/common.c:415)\n   __kmalloc_node_track_caller_noprof\n    (mm/slub.c:5414 mm/slub.c:5545)\n   kmemdup_noprof (mm/util.c:138)\n   cm_event_handler\n    (drivers/infiniband/core/iwcm.c:194\n     drivers/infiniband/core/iwcm.c:1076)\n   siw_cm_upcall (drivers/infiniband/sw/siw/siw_cm.c:408)\n   siw_proc_mpareq (drivers/infiniband/sw/siw/siw_cm.c:750)\n   siw_cm_work_handler (drivers/infiniband/sw/siw/siw_cm.c:1086)\n\n  The buggy address is located 0 bytes to the right of\n  allocated 6-byte region [ff1100010459d360, ff1100010459d366)",
  "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.193",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-99302"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/9adc20cd6765da78276428a189e7c21ec7f522e5"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/7a38c6f7b5681fccb5f6975943be8f7c83222eba"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a646fb4f3404b228b725f0891c7c3800e0efad38"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2409f47284ff77eed3fa4211149ff160607ba96d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/22d0eb8d7aa4e45d22491d7cc1327010f19c86b9"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/36c3af0e94b6c385c4934c028cbca27e138ae1ee"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/c17d443d1e984a0c0840692c6435cdc455936160"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/635e760169a87abf03874cd4636cd91b580cb427"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-11-23T08:12:11Z"
  }
}
