{"id":"CVE-2026-139156","aliases":["CVE-2026-139156"],"related":[],"kind":"vulnerability","state":"published","title":"nvme-rdma: fix NULL metadata_sgl dereference with T10-PI","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-rdma: fix NULL metadata_sgl dereference with T10-PI\n\nSince commit 2a8513091d2f (\"nvme-rdma: parallelize I/O queue allocation\nand startup\") the I/O tag set is allocated before the I/O queues.\nnvme_rdma_init_request() only sets req->metadata_sgl if\nqueue->pi_support is set, but pi_support is only set later by\nnvme_rdma_alloc_queue(), so every I/O request is left with a NULL\nmetadata_sgl.\n\nWith an RDMA device that supports integrity and a namespace formatted\nwith protection information, nvme_rdma_dma_map_req() then dereferences\nthe NULL pointer on the first integrity I/O, already during the\nnamespace scan when there is more than one I/O queue.\n\nQueues that a later reconnect adds for the first time have the same\nproblem.\n\nCheck queue_idx and the controller's max_integrity_segments instead,\nwhich is what nvme_rdma_alloc_queue() derives pi_support from.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme-rdma: fix NULL metadata_sgl dereference with T10-PI\n\nSince commit 2a8513091d2f (\"nvme-rdma: parallelize I/O queue allocation\nand startup\") the I/O tag set is allocated before the I/O queues.\nnvme_rdma_init_request() only sets req->metadata_sgl if\nqueue->pi_support is set, but pi_support is only set later by\nnvme_rdma_alloc_queue(), so every I/O request is left with a NULL\nmetadata_sgl.\n\nWith an RDMA device that supports integrity and a namespace formatted\nwith protection information, nvme_rdma_dma_map_req() then dereferences\nthe NULL pointer on the first integrity I/O, already during the\nnamespace scan when there is more than one I/O queue.\n\nQueues that a later reconnect adds for the first time have the same\nproblem.\n\nCheck queue_idx and the controller's max_integrity_segments instead,\nwhich is what nvme_rdma_alloc_queue() derives pi_support from.","source":"cvelist"}],"published":"2026-11-30T13:32:06.082Z","modified":"2026-12-01T06:17:38.057Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2a8513091d2f0b9a1e94b1843c48c712e7c17301","fixed":"3783c349a3de6a1d994b50b7a01402e682be1d87","status":"affected"},{"type":"git","introduced":"2a8513091d2f0b9a1e94b1843c48c712e7c17301","fixed":"557114b52c1d73f45c603337ac3465bba6667e34","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.3","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/3783c349a3de6a1d994b50b7a01402e682be1d87","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/557114b52c1d73f45c603337ac3465bba6667e34","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139156","url":"https://www.cve.org/CVERecord?id=CVE-2026-139156","licence":"CVE Terms of Use","modified":"2026-12-01T05:41:38.430Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139156","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139156","licence":"Public domain","modified":"2026-12-01T06:17:38.057Z"}],"updatedAt":"2026-12-01T06:32:17.115Z","epss":{"score":0.005,"percentile":0.44417,"date":"2026-12-01T12:00:22.000Z"}}