{"api_version":"1","generated_at":"2026-11-30T19:08:04+00:00","cve":"CVE-2026-139449","urls":{"html":"https://cve.report/CVE-2026-139449","api":"https://cve.report/api/cve/CVE-2026-139449.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139449","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139449"},"summary":{"title":"RDMA/rtrs-clt: Fix recv repost to satisfy ib_drain_rq","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rtrs-clt: Fix recv repost to satisfy ib_drain_rq\n\nOn disconnect the client error recovery path calls ib_drain_qp(), which\nrequires one free RQ slot and that no recv WQEs are posted while the\nqueue is being drained.\n\nWhen the server is loaded with always_invalidate=N, the path does not\nadvertise RTRS_MSG_NEW_RKEY_F.  A client-requested invalidation is then\na standalone SEND_WITH_INV.  The recv completion path did not repost\nthat WQE; it posted two empty recv WQEs later, when the RDMA-with-IMM\nresponse carried RTRS_IO_RSP_W_INV_IMM.  If the invalidate receive\nnever arrived, each such response increased RQ occupancy by one until\nib_post_recv() started returning -ENOMEM and __ib_drain_rq() failed\nwith:\n\n  failed to drain recv queue: -12\n\nRepost one empty recv WQE for every receive completion, including\nSEND_WITH_INV completions on the always_invalidate=N path, and only\nwhile the path is still connected so CQ polling cannot race with\nib_drain_qp().  Size IO connection RQs to 2 * queue_depth + 1 to match\nthe posted recv count and leave the drain slot.\n\nTested with a synthetic RTRS client flooding unpaired\nRTRS_IO_RSP_W_INV_IMM messages; error recovery no longer triggers\n__ib_drain_rq() warnings.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:15","updated_at":"2026-11-30 14:19:15"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/0f42d81c94332b4973f1f77ec3902eb08b9712f3","name":"https://git.kernel.org/stable/c/0f42d81c94332b4973f1f77ec3902eb08b9712f3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3255d6b83491574b115806ec958d8f6ca090fa9c","name":"https://git.kernel.org/stable/c/3255d6b83491574b115806ec958d8f6ca090fa9c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e28debf4e95b49a1a8f965c5cadcc394d5ded464","name":"https://git.kernel.org/stable/c/e28debf4e95b49a1a8f965c5cadcc394d5ded464","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d74fa007d9aa8d0aeb8063230d370364f3bd5f5e","name":"https://git.kernel.org/stable/c/d74fa007d9aa8d0aeb8063230d370364f3bd5f5e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139449","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139449","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6a98d71daea186247005099758af549e6afdd244 e28debf4e95b49a1a8f965c5cadcc394d5ded464 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6a98d71daea186247005099758af549e6afdd244 0f42d81c94332b4973f1f77ec3902eb08b9712f3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6a98d71daea186247005099758af549e6afdd244 d74fa007d9aa8d0aeb8063230d370364f3bd5f5e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6a98d71daea186247005099758af549e6afdd244 3255d6b83491574b115806ec958d8f6ca090fa9c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.8","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.8 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/infiniband/ulp/rtrs/rtrs-clt.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"e28debf4e95b49a1a8f965c5cadcc394d5ded464","status":"affected","version":"6a98d71daea186247005099758af549e6afdd244","versionType":"git"},{"lessThan":"0f42d81c94332b4973f1f77ec3902eb08b9712f3","status":"affected","version":"6a98d71daea186247005099758af549e6afdd244","versionType":"git"},{"lessThan":"d74fa007d9aa8d0aeb8063230d370364f3bd5f5e","status":"affected","version":"6a98d71daea186247005099758af549e6afdd244","versionType":"git"},{"lessThan":"3255d6b83491574b115806ec958d8f6ca090fa9c","status":"affected","version":"6a98d71daea186247005099758af549e6afdd244","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/infiniband/ulp/rtrs/rtrs-clt.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.8"},{"lessThan":"5.8","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"5.8","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.8","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rtrs-clt: Fix recv repost to satisfy ib_drain_rq\n\nOn disconnect the client error recovery path calls ib_drain_qp(), which\nrequires one free RQ slot and that no recv WQEs are posted while the\nqueue is being drained.\n\nWhen the server is loaded with always_invalidate=N, the path does not\nadvertise RTRS_MSG_NEW_RKEY_F.  A client-requested invalidation is then\na standalone SEND_WITH_INV.  The recv completion path did not repost\nthat WQE; it posted two empty recv WQEs later, when the RDMA-with-IMM\nresponse carried RTRS_IO_RSP_W_INV_IMM.  If the invalidate receive\nnever arrived, each such response increased RQ occupancy by one until\nib_post_recv() started returning -ENOMEM and __ib_drain_rq() failed\nwith:\n\n  failed to drain recv queue: -12\n\nRepost one empty recv WQE for every receive completion, including\nSEND_WITH_INV completions on the always_invalidate=N path, and only\nwhile the path is still connected so CQ polling cannot race with\nib_drain_qp().  Size IO connection RQs to 2 * queue_depth + 1 to match\nthe posted recv count and leave the drain slot.\n\nTested with a synthetic RTRS client flooding unpaired\nRTRS_IO_RSP_W_INV_IMM messages; error recovery no longer triggers\n__ib_drain_rq() warnings."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:34:51.514Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/e28debf4e95b49a1a8f965c5cadcc394d5ded464"},{"url":"https://git.kernel.org/stable/c/0f42d81c94332b4973f1f77ec3902eb08b9712f3"},{"url":"https://git.kernel.org/stable/c/d74fa007d9aa8d0aeb8063230d370364f3bd5f5e"},{"url":"https://git.kernel.org/stable/c/3255d6b83491574b115806ec958d8f6ca090fa9c"}],"title":"RDMA/rtrs-clt: Fix recv repost to satisfy ib_drain_rq","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139449","datePublished":"2026-11-30T13:34:51.514Z","dateReserved":"2026-11-30T13:22:15.934Z","dateUpdated":"2026-11-30T13:34:51.514Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:15","lastModifiedDate":"2026-11-30 14:19:15","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139449","Ordinal":"1","Title":"RDMA/rtrs-clt: Fix recv repost to satisfy ib_drain_rq","CVE":"CVE-2026-139449","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139449","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rtrs-clt: Fix recv repost to satisfy ib_drain_rq\n\nOn disconnect the client error recovery path calls ib_drain_qp(), which\nrequires one free RQ slot and that no recv WQEs are posted while the\nqueue is being drained.\n\nWhen the server is loaded with always_invalidate=N, the path does not\nadvertise RTRS_MSG_NEW_RKEY_F.  A client-requested invalidation is then\na standalone SEND_WITH_INV.  The recv completion path did not repost\nthat WQE; it posted two empty recv WQEs later, when the RDMA-with-IMM\nresponse carried RTRS_IO_RSP_W_INV_IMM.  If the invalidate receive\nnever arrived, each such response increased RQ occupancy by one until\nib_post_recv() started returning -ENOMEM and __ib_drain_rq() failed\nwith:\n\n  failed to drain recv queue: -12\n\nRepost one empty recv WQE for every receive completion, including\nSEND_WITH_INV completions on the always_invalidate=N path, and only\nwhile the path is still connected so CQ polling cannot race with\nib_drain_qp().  Size IO connection RQs to 2 * queue_depth + 1 to match\nthe posted recv count and leave the drain slot.\n\nTested with a synthetic RTRS client flooding unpaired\nRTRS_IO_RSP_W_INV_IMM messages; error recovery no longer triggers\n__ib_drain_rq() warnings.","Type":"Description","Title":"RDMA/rtrs-clt: Fix recv repost to satisfy ib_drain_rq"}]}}}