{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139256","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.923Z","datePublished":"2026-11-30T13:33:03.892Z","dateUpdated":"2026-11-30T13:33:03.892Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:33:03.892Z"},"descriptions":[{"lang":"en","value":"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->ooo_avail to cqp->ooo_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->sq_ring.tail so the SQ descriptor slot can be reused once consumed\nby hardware, whereas cqp->completed_ops is only incremented on Stage-2.\nBecause irdma_cqp_ring_full() only checks cqp->sq_ring, a burst of\nbacklogged commands in dev->cqp_cmd_head allows irdma_process_bh() to\nsubmit more concurrent in-flight CQP commands than the maximum supported\nlimit (cqp->sq_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->requested_ops - cqp->completed_ops) to\n    (cqp->sq_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->completed_ops and free in-flight capacity."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/irdma/ctrl.c","drivers/infiniband/hw/irdma/hw.c"],"versions":[{"version":"c7db0abe5f2bbfa99a080b344e6f70a3d6d0ea38","lessThan":"a57d4afc2768bd8bbc179e94d5bd97fa86ab86e9","status":"affected","versionType":"git"},{"version":"c7db0abe5f2bbfa99a080b344e6f70a3d6d0ea38","lessThan":"5eb28b4f552e334b6d788c5d83165769dc45d450","status":"affected","versionType":"git"},{"version":"c7db0abe5f2bbfa99a080b344e6f70a3d6d0ea38","lessThan":"c3e8e9451e6f1b69f685b75e0fbf14f3d0fb2539","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/infiniband/hw/irdma/ctrl.c","drivers/infiniband/hw/irdma/hw.c"],"versions":[{"version":"6.18","status":"affected"},{"version":"0","lessThan":"6.18","status":"unaffected","versionType":"semver"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/a57d4afc2768bd8bbc179e94d5bd97fa86ab86e9"},{"url":"https://git.kernel.org/stable/c/5eb28b4f552e334b6d788c5d83165769dc45d450"},{"url":"https://git.kernel.org/stable/c/c3e8e9451e6f1b69f685b75e0fbf14f3d0fb2539"}],"title":"RDMA/irdma: Bound in-flight CQP ops across deferred completions","x_generator":{"engine":"bippy-1.2.0"}}}}