{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "c7db0abe5f2bbfa99a080b344e6f70a3d6d0ea38"
            },
            {
              "fixed": "a57d4afc2768bd8bbc179e94d5bd97fa86ab86e9"
            },
            {
              "fixed": "5eb28b4f552e334b6d788c5d83165769dc45d450"
            },
            {
              "fixed": "c3e8e9451e6f1b69f685b75e0fbf14f3d0fb2539"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.18.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139256.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/irdma: Bound in-flight CQP ops across deferred completions\n\nOn IRDMA_GEN_3+ devices, CQP operations can complete in two stages:\nStage-1 on the CCQ acknowledges receipt and moves an entry from\ncqp-\u003eooo_avail to cqp-\u003eooo_pnd, while Stage-2 signals final completion\nvia an AEQ event or a subsequent CCQ CQE.\n\nIn irdma_sc_ccq_get_cqe_info(), Stage-1 processing advances\ncqp-\u003esq_ring.tail so the SQ descriptor slot can be reused once consumed\nby hardware, whereas cqp-\u003ecompleted_ops is only incremented on Stage-2.\nBecause irdma_cqp_ring_full() only checks cqp-\u003esq_ring, a burst of\nbacklogged commands in dev-\u003ecqp_cmd_head allows irdma_process_bh() to\nsubmit more concurrent in-flight CQP commands than the maximum supported\nlimit (cqp-\u003esq_size - 1) while earlier commands await Stage-2. This\ncauses CQP completions to be lost and synchronous waiters to time out\nwith -ETIMEDOUT (-110).\n\nFix this by:\n  - Updating irdma_cqp_ring_full() to bound total in-flight CQP\n    operations (cqp-\u003erequested_ops - cqp-\u003ecompleted_ops) to\n    (cqp-\u003esq_size - 1).\n  - Calling irdma_process_bh() at the end of irdma_process_ae_def_cmpl()\n    so backlogged commands are drained after Stage-2 AEQ completions\n    increment cqp-\u003ecompleted_ops and free in-flight capacity.",
  "id": "CVE-2026-139256",
  "modified": "2026-12-01T20:45:18.057722237Z",
  "published": "2026-11-30T13:33:03.892Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5eb28b4f552e334b6d788c5d83165769dc45d450"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a57d4afc2768bd8bbc179e94d5bd97fa86ab86e9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c3e8e9451e6f1b69f685b75e0fbf14f3d0fb2539"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139256.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139256"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "RDMA/irdma: Bound in-flight CQP ops across deferred completions"
}