{"id":"AZL-117142","summary":"CVE-2026-139449 affecting package kernel 6.6.161.1-1","details":"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.","modified":"2026-12-01T14:17:41.467719324Z","published":"2026-11-30T14:19:15Z","upstream":["CVE-2026-139449"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139449"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-117142.json"}}],"schema_version":"1.9.2"}