Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 2AE3930274D for ; Fri, 3 Apr 2026 13:28:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775222890; cv=none; b=Q72DLWdgzKmhtOh6cQ2y3pdmWwatxb2BRfCbWbUl3ha3fUik0rqWPSFNry7LEP7/z93CAkd43WHfBiC6CgFcLEE88zpgpGyOP4poJStFPlfHQLi9JlFTpCvKQAAb9NRm7/gGSBQ5+LI/CKBkXhuvgbQMgBogJYsHzp8njlriXmY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775222890; c=relaxed/simple; bh=39S2RYdr6PBZQCMoC4y+CnSfWbIr7bVefyJss0AjHEY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UHWxt0bHNp5gMyp60in4PnImkizNFAkowiVZ54WYl38Xr5VaHxcH1ePRs076SFFrew/Pp9fOK7JVCWVCsus0JjjE0MKnmb2TioEf9fjoMqtHXF1xvGHDB7fT+8WuNWKZYL2zSyDia7kWvwtcV4ZNSnhADA+6z0dxFOR/TRdOU0s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=he/Gh6BJ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="he/Gh6BJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E0D0C4CEF7; Fri, 3 Apr 2026 13:28:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775222889; bh=39S2RYdr6PBZQCMoC4y+CnSfWbIr7bVefyJss0AjHEY=; h=From:To:Cc:Subject:Date:Reply-To:From; b=he/Gh6BJRwJijBMpSGscaS9qBXa65OYAaKCnfGY6cvSvula95MWfW/aZ8/lK2nzzm VLYm0+77CTR/sVbN/X1U1YNi4gaowahdxwRopRHWTGyxSb6HZQ6mpYn/Q0nk12p7b1 rsOpg+3zCvckeJa3KdLTblIEyGrHu3uwyIu01oEQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23419: net/rds: Fix circular locking dependency in rds_tcp_tune Date: Fri, 3 Apr 2026 15:28:03 +0200 Message-ID: <2026040303-CVE-2026-23419-6055@gregkh> X-Mailer: git-send-email 2.53.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=3628; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=oggAAJzFci5H6HSjLcSbRVZZlZW6IyGYKHCrB0TTOCw=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnnDyRP2vhJ4llhx2Q98y/b+7O9LjpMPmBs9FztpMCSV cwvP2os6ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJnH7NsKC74/Tm9ycVet0N sjc+v6sYfW9RLD/DXJHN86Xn9AX8Yivm2t2/mkd88sXHugA= 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: Fix circular locking dependency in rds_tcp_tune syzbot reported a circular locking dependency in rds_tcp_tune() where sk_net_refcnt_upgrade() is called while holding the socket lock: ====================================================== WARNING: possible circular locking dependency detected ====================================================== kworker/u10:8/15040 is trying to acquire lock: ffffffff8e9aaf80 (fs_reclaim){+.+.}-{0:0}, at: __kmalloc_cache_noprof+0x4b/0x6f0 but task is already holding lock: ffff88805a3c1ce0 (k-sk_lock-AF_INET6){+.+.}-{0:0}, at: rds_tcp_tune+0xd7/0x930 The issue occurs because sk_net_refcnt_upgrade() performs memory allocation (via get_net_track() -> ref_tracker_alloc()) while the socket lock is held, creating a circular dependency with fs_reclaim. Fix this by moving sk_net_refcnt_upgrade() outside the socket lock critical section. This is safe because the fields modified by the sk_net_refcnt_upgrade() call (sk_net_refcnt, ns_tracker) are not accessed by any concurrent code path at this point. v2: - Corrected fixes tag - check patch line wrap nits - ai commentary nits The Linux kernel CVE team has assigned CVE-2026-23419 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit 3a58f13a881ed351198ffab4cf9953cf19d2ab3a and fixed in 6.6.130 with commit 8babb271403378ba6836f6c8599c5313d0e2355d Issue introduced in 5.18 with commit 3a58f13a881ed351198ffab4cf9953cf19d2ab3a and fixed in 6.12.77 with commit 8519e6883a942e510f33a0e634e27bcc3a844a40 Issue introduced in 5.18 with commit 3a58f13a881ed351198ffab4cf9953cf19d2ab3a and fixed in 6.18.17 with commit 6ce948fa54599f369ff7fe8b793a6aae4b0762b2 Issue introduced in 5.18 with commit 3a58f13a881ed351198ffab4cf9953cf19d2ab3a and fixed in 6.19.7 with commit 026bbaeeab9e04534ee58882b6447300629b42f6 Issue introduced in 5.18 with commit 3a58f13a881ed351198ffab4cf9953cf19d2ab3a and fixed in 7.0-rc3 with commit 6a877ececd6daa002a9a0002cd0fbca6592a9244 Issue introduced in 5.17.7 with commit 2a6efabed754c9dcf27e6def71317b374f58a852 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-23419 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/tcp.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/8babb271403378ba6836f6c8599c5313d0e2355d https://git.kernel.org/stable/c/8519e6883a942e510f33a0e634e27bcc3a844a40 https://git.kernel.org/stable/c/6ce948fa54599f369ff7fe8b793a6aae4b0762b2 https://git.kernel.org/stable/c/026bbaeeab9e04534ee58882b6447300629b42f6 https://git.kernel.org/stable/c/6a877ececd6daa002a9a0002cd0fbca6592a9244