From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796268271; b=4bFuOKdoBoBSCJHG7bdbW2HJc2rjxjjcEKe/opvmiNouC7M9VPmpY/SdA0IHASt26eVO egA3wPGDMWArYMvidhQMy9enSYc9vwV8GxLyVXQeLuu1egtsLMUDKCKLyyyNsAf8o8v/z 521wC5nAa4gxDi/EJGCITeXiiWUHbp0Q7RNfApbXNcOhF3ieFJn9XR6gV/F7aAueMWDzS fSHE72hO9P5iZRM4HUTnoY1joZ5PNS9Ny9RSlrax5K7KYa0EpAPDlFEKeJA8siWakciIc w49QZlfxij33M8fayMjMGl+XcymaaQhlqDN8h2piyPe1QNaXC2kmIFSogcuNc1sHnvA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796268271; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=3jpfWWv97gp93ULgVCpbFxAil9IifVEUN2p2whF+ssY=; b=UWEa8gIW/vSMSefgqRm78jn/bBj5xXTGOXEBlqCnVYVDJQWl+cwBCk7VoXfeEJWjMUbt Uz5L4rx6Hxp69bbafT6XyM3nJwVyg9ohT5yCjW2g11UvLzHCoYVGVe+gvAtTfOzDETYOg B9/g2fMzjR4uZknvJ9pEYRKiunHi5yiBVW/qH3D1DTS4UbN3c4So2X20XdhmW72v1qAKl nCtpH7sCO7PwVedns/FO0DpzHlZVgaYIJdQjpHMLbWqWaUkcgbmbDBrUmc/GC56WFSt5X 3eDLyp8hizVnoKOH9TdXZyanJz1O7fHmdT2NJ3DNFtB3He3Eu26qvkIvlI57S4cXk3w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=gbxoCTue; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 186EA606A322 for ; Thu, 3 Dec 2026 03:24:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=gbxoCTue Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0A3DC1F00896; Thu, 3 Dec 2026 03:24:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796268270; bh=3jpfWWv97gp93ULgVCpbFxAil9IifVEUN2p2whF+ssY=; h=From:To:Cc:Subject:Date:Reply-To; b=gbxoCTueUL9EuwP2kdQFG+r7kBpbNXSEQWXX2cf6C5LrbM7Dyuev38zJJWlEEZrLW nlMd70Mv13PSAMQ0HCvzi7zrNUcGx+ULygNu/QQtJkd0OXxtvyh8yKk4bSfQ4ZXQ95 k7WXRy7mF+wlvQO5uSuDhoon6CBZokVbRh6H+Ibo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-142828: net/rds: ib: don't enable IRQs in rds_ib_conn_free() Date: Thu, 3 Dec 2026 04:21:25 +0100 Message-ID: <2026120318-CVE-2026-142828-dfbd@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3989; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=GXXt1vwFytK9H4FEUZiz0NZu0KCtDbFHFa8sck7KwLc=; b=kA0DAAIRMUfUDdst+ykByyZiAGsQ4C6iXIIG6e1+V1MD0roh823I2mlVVGcWf/5xkZfQcyEVW ohdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmsQ4C4ACgkQMUfUDdst+ykWtQCdFz1m 7eJhf/KmVUOkYOB7zLiocn0AnjpQhoo+tW5WlfDmymoA8bTrZvh4 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: ib: don't enable IRQs in rds_ib_conn_free() __rds_conn_create() calls trans->conn_free() with rds_conn_lock held and IRQs disabled when it loses the race to insert a connection. rds_ib_conn_free() takes the device list lock with spin_lock_irq() and releases it with spin_unlock_irq(), so IRQs are turned on while rds_conn_lock is still held: raw_local_irq_restore() called with IRQs enabled WARNING: kernel/locking/irqflag-debug.c:10 at warn_bogus_irq_restore+0xc/0x20 _raw_spin_unlock_irqrestore+0x67/0x80 __rds_conn_create+0x1de5/0x2290 rds_conn_create_outgoing+0x43/0x60 rds_sendmsg+0xfca/0x20e0 __sys_sendto+0x408/0x5a0 It needs an RDS socket bound to an address on an RDMA device (e.g. rxe) and two concurrent sendto() calls to the same new destination. The TCP and loopback ->conn_free() callbacks already use irqsave, so do the same here. The Linux kernel CVE team has assigned CVE-2026-142828 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.30 with commit 745cbccac3fe8cead529a1b3358e1e86a1505bfa and fixed in 5.10.275 with commit 1fb977e7e1dc932129902a606f9f2e0c459714c7 Issue introduced in 2.6.30 with commit 745cbccac3fe8cead529a1b3358e1e86a1505bfa and fixed in 5.15.226 with commit ee22f05d7cbfac29e9d54de5f5f3df7dc0762319 Issue introduced in 2.6.30 with commit 745cbccac3fe8cead529a1b3358e1e86a1505bfa and fixed in 6.1.193 with commit f88adc86694d00dc497d27f2e67cb5d23a1a8af3 Issue introduced in 2.6.30 with commit 745cbccac3fe8cead529a1b3358e1e86a1505bfa and fixed in 6.6.163 with commit 6a847c72dca79866fdcf8aed60458cd2abe1aeeb Issue introduced in 2.6.30 with commit 745cbccac3fe8cead529a1b3358e1e86a1505bfa and fixed in 6.12.117 with commit 9a99127122a216e79073259baa32681f299f5b2f Issue introduced in 2.6.30 with commit 745cbccac3fe8cead529a1b3358e1e86a1505bfa and fixed in 6.18.63 with commit 80ee045485b98533c5732f417df19229e3794928 Issue introduced in 2.6.30 with commit 745cbccac3fe8cead529a1b3358e1e86a1505bfa and fixed in 7.3.4 with commit cae22ada1f145191866678c675eb511edc4ef4b5 Issue introduced in 2.6.30 with commit 745cbccac3fe8cead529a1b3358e1e86a1505bfa and fixed in 7.4-rc1 with commit f6fa1d60ec3ceb7e6c26aa91eadfef34f94014e1 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-142828 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/ib_cm.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/1fb977e7e1dc932129902a606f9f2e0c459714c7 https://git.kernel.org/stable/c/ee22f05d7cbfac29e9d54de5f5f3df7dc0762319 https://git.kernel.org/stable/c/f88adc86694d00dc497d27f2e67cb5d23a1a8af3 https://git.kernel.org/stable/c/6a847c72dca79866fdcf8aed60458cd2abe1aeeb https://git.kernel.org/stable/c/9a99127122a216e79073259baa32681f299f5b2f https://git.kernel.org/stable/c/80ee045485b98533c5732f417df19229e3794928 https://git.kernel.org/stable/c/cae22ada1f145191866678c675eb511edc4ef4b5 https://git.kernel.org/stable/c/f6fa1d60ec3ceb7e6c26aa91eadfef34f94014e1