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 B4A023ABD95 for ; Thu, 21 May 2026 10:49:29 +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=1779360570; cv=none; b=Yh8mweNatCACwSOqxxdmxPWBvtmFNmO1YuvRnE7n3A1vdGte8VBfd0+WD+Hdw72elmjmI0W9mbxO0vsZRQxh+xNeDxMsfY+sJ3wA2k9tgLucIWa6MnWi/gHUL+/VYm0O27mV7fbgoy9bj3ox2sO6qk8smaJ+qz5VQ7xNlBuTOMQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779360570; c=relaxed/simple; bh=sqOFobI+AohBvY9uhUFpjV+OvAKjiAJYzSiUaygQ9cs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WZkf+i6jxxbd8fQefhgrEJisf+MgVLARRdj8jByYlDuDXVWjAeBAmuUv22G7bhcieD+9r6r5dVJrLQJLU/+2oWZByKYKwuWzIctkTjqQ+jL/uQj4IcbRt0t6hoLVEQGkofAuC2OYPiP7dSQUp7+9f0OFvk8q4ZwsiC+0/8cN6tM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wYOjGOjq; 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="wYOjGOjq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C2991F000E9; Thu, 21 May 2026 10:49:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779360569; bh=e/4AhqGb5Lih6I0RBRWWmg+DuOSP5WC+KlMg3GcQdPQ=; h=From:To:Cc:Subject:Date:Reply-To; b=wYOjGOjqhnsByIBd01e3BrKHFWAVF+RJ5JjAKQtoLdlSR2ob2UrewzFnNN61E20Ym OP7eDwZIRU4wTnOZ6dh1JaFIkUo1WcZK6nprrvpEzcBz2+FH/cekaP1ke9SRAr4tfj FK+ljK/rwO+wc+Di4zgp/IVvUBIgsIXSHVWMqjZw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43494: net/rds: reset op_nents when zerocopy page pin fails Date: Thu, 21 May 2026 12:49:31 +0200 Message-ID: <2026052130-CVE-2026-43494-a65a@gregkh> X-Mailer: git-send-email 2.54.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=1994; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=RlpBI0ViSgstk7hGJ2t/oD7h9V7uug88SnKOBX9KfD4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFl8j63eHZ2o9ljkiqrBdPei+uX21fk/C3Q0rjZsbvzxg TX4WrpmRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExk3xOG+eHCCUuzzJf/7Crv XWpw9KdC+DWvdoZ5RkyZR44VSwqGntFdtebQ0XO1i8sXAgA= 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: net/rds: reset op_nents when zerocopy page pin fails When iov_iter_get_pages2() fails in rds_message_zcopy_from_user(), the pinned pages are released with put_page(), and rm->data.op_mmp_znotifier is cleared. But we fail to properly clear rm->data.op_nents. Later when rds_message_purge() is called from rds_sendmsg() the cleanup loop iterates over the incorrectly non zero number of op_nents and frees them again. Fix this by properly resetting op_nents when it should be in rds_message_zcopy_from_user(). The Linux kernel CVE team has assigned CVE-2026-43494 to this issue. Affected and fixed versions =========================== Issue introduced in 4.17 with commit 0cebaccef3acbdfbc2d85880a2efb765d2f4e2e3 and fixed in 7.1-rc4 with commit e174929793195e0cd6a4adb0cad731b39f9019b4 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-43494 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: net/rds/message.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/e174929793195e0cd6a4adb0cad731b39f9019b4