Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1B729347BC4 for ; Sat, 15 Aug 2026 06:35:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775742; cv=none; b=u+cet7X+coMUQydok++dFyiEcfhnYDEvsKBQ3U/wNO3Eny3M/CZDVdK1GrgETG6UXbPceuRVYv2szhmJkelHspyZ45cZeEaneig2IFUFghd9IBrwTFp844Keil+2h8AtkbwEaHhUVdezUzefWgG7r+NaBYXuhXe6AIE1P2CL3aY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786775742; c=relaxed/simple; bh=ssYjA3K5EgQFAjOgW5dssL4Vb1glpL8es8emMGJ4P6U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=N3ZOMBbcvl1AkW+P3JLr8YDN0oXvuV66VwqabT1tWMoTygFIBDinpGNEG0bk1raP5NY03H0d4Y5B8CuJf65sIkpf2+rzJS0MMdEbDRdDIfbZF+UEOoqRKFvUSWMqqbi02J5dx/qMbQQLwWJpMWcDtfp05j4VGfrEdI2bq0LlSE8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Z+1YSMog; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Z+1YSMog" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 71D9F1F000E9; Sat, 15 Aug 2026 06:35:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786775741; bh=+R2RL4sQnd6EpXL4Znlr4uobFkY+yUBr4UDRFPIu+80=; h=From:To:Cc:Subject:Date:Reply-To; b=Z+1YSMogAwDnTzs91jA/GbYxUqe1qkSLPp7Kov1Vkqo7RThCtUKq34OPafcJGsti+ zlEJFUkLFykqqJa19nDSVTGb9lvXPqrjhp8gmzr+wKaGQFGzvd9T5WcKHA2aKUHRE5 O+zhtAJIyL6cICPPY8Tlye6VoVK4maXpur2TJzps= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-74299: RDMA/core: Fix FRMR aging push to queue error flow Date: Sat, 15 Aug 2026 15:10:26 +0900 Message-ID: <2026081549-CVE-2026-74299-cf37@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2488; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=61K2F4D6aIQx1NmER2sEy6D4rRun30stPc5qacaHQN4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNjJw3/xilLbkhynduV+2V5RtXMRSdWbDC0LViqcZux jz/WWHHO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAibt4M86PO3Co9Wt5V7Zd9 35p77fG9DLvMVzLMdzlfXn9E94GUx9dkC9MtqUGiLx9EAgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: RDMA/core: Fix FRMR aging push to queue error flow Aging pools with pinned handles requires moving handles from the active queue to a non-empty inactive queue that might fail on new page allocation, we are currently not handling the fault and leaking any mkey that fails the push. Fix by Introducing push_queue_to_queue_locked() that fills the destination's partial tail page from the source and then splices the remaining source pages onto the destination, performing no allocation. Replace the per-handle move loop in age_pinned_pool() and the open-coded splice in pool_aging_work() with calls to the helper. As the helper cannot fail under memory pressure, removing a class of GFP_ATOMIC allocations under the pool lock and simplifying the error flow. The Linux kernel CVE team has assigned CVE-2026-74299 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit 020d189d16a62ed56115cce7e255459cf0eeb4e6 and fixed in 7.1.5 with commit edf133d28fc43f7f8b0da43a8d5b93fdf8073d35 Issue introduced in 7.1 with commit 020d189d16a62ed56115cce7e255459cf0eeb4e6 and fixed in 7.2-rc1 with commit c6936506ed556ce3ccad36ab999baf2764dd7d25 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-74299 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/infiniband/core/frmr_pools.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/edf133d28fc43f7f8b0da43a8d5b93fdf8073d35 https://git.kernel.org/stable/c/c6936506ed556ce3ccad36ab999baf2764dd7d25