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 BC30A3E0235 for ; Fri, 24 Apr 2026 14:49:01 +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=1777042141; cv=none; b=I1w4brAhMIfayvgR4OBh+wKPjoaq8cZEC2OpicX0Gopc2o0vfUXg7tUOOFa+fF9Vw/shuFA2tvlGY9JffSTBVo9sbjU0mCog4exCUxCrRSnQcELnwb3O5uuxHni8wunnA2FwjbogvuBl3mQrohBf0j7vot8urvwZKZ+APUFMfW4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777042141; c=relaxed/simple; bh=u64Hl6eP6jH2Wpg/vvJguW/3l9/8ihCpWSYOdic4NKw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Civ9SB7KJdYU2uPbBrmQo7nFkkfmFV0krPRXY4GNnH7g/fgWMNVOPJT0bNnemFi2DxaBQ++EP6mB8NLW7LhLANDKSuXZOMYi29rFlKJReP+rOnsrTEOpb6Clfbot9brk1Z9ddos85H1GzaHX7fvK0lcJT05rkPFYdKRbnEB4DdY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=i6iao+lk; 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="i6iao+lk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 574B1C19425; Fri, 24 Apr 2026 14:49:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777042141; bh=u64Hl6eP6jH2Wpg/vvJguW/3l9/8ihCpWSYOdic4NKw=; h=From:To:Cc:Subject:Date:Reply-To:From; b=i6iao+lk0xK4UF2APSkaaUrb+IAiGlBF1L1SGuGXpLRilFIUTOR6lpWCt1aZZYNWB MfxP14XGJ8SBHuK0DhZZahCiRXqa/MMF3is0vtLwX1BshjBcHHL0hRLah/nC04BaeN RrObK6qZnweDYaq6HGTMBOIlga1nlrFLO4k7t5zs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31642: rxrpc: Fix call removal to use RCU safe deletion Date: Fri, 24 Apr 2026 16:46:04 +0200 Message-ID: <2026042457-CVE-2026-31642-b2f3@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=3277; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=RZb8NUoLH5SZXZn+1JG9BdE2uF1Z9IH0cleNRbIZoFY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmvm1Rt/+/fw1zi8Lv3+rusyJRCjffJV9gZ/8zfe/bD6 QT1CIPGjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIwCSG+QX85cfzLx39+2n3 klv+TNsq/rTuf8uwYPnc15dPv9R/YWtyYcY1I4EnJYniqwE= 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: rxrpc: Fix call removal to use RCU safe deletion Fix rxrpc call removal from the rxnet->calls list to use list_del_rcu() rather than list_del_init() to prevent stuffing up reading /proc/net/rxrpc/calls from potentially getting into an infinite loop. This, however, means that list_empty() no longer works on an entry that's been deleted from the list, making it harder to detect prior deletion. Fix this by: Firstly, make rxrpc_destroy_all_calls() only dump the first ten calls that are unexpectedly still on the list. Limiting the number of steps means there's no need to call cond_resched() or to remove calls from the list here, thereby eliminating the need for rxrpc_put_call() to check for that. rxrpc_put_call() can then be fixed to unconditionally delete the call from the list as it is the only place that the deletion occurs. The Linux kernel CVE team has assigned CVE-2026-31642 to this issue. Affected and fixed versions =========================== Issue introduced in 4.13 with commit 2baec2c3f854d1f79c7bb28386484e144e864a14 and fixed in 6.6.135 with commit 93fc15be44a35b8e3c58d0238ac0d9b7c53465ff Issue introduced in 4.13 with commit 2baec2c3f854d1f79c7bb28386484e144e864a14 and fixed in 6.12.82 with commit c63abf25203b50243fe228090526f9dbf37727bd Issue introduced in 4.13 with commit 2baec2c3f854d1f79c7bb28386484e144e864a14 and fixed in 6.18.23 with commit 3be718f659683ad89fad6f1eb66bee99727cae64 Issue introduced in 4.13 with commit 2baec2c3f854d1f79c7bb28386484e144e864a14 and fixed in 6.19.13 with commit ac5f54691be06a32246179d41be2d73598036deb Issue introduced in 4.13 with commit 2baec2c3f854d1f79c7bb28386484e144e864a14 and fixed in 7.0 with commit 146d4ab94cf129ee06cd467cb5c71368a6b5bad6 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-31642 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: include/trace/events/rxrpc.h net/rxrpc/call_object.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/93fc15be44a35b8e3c58d0238ac0d9b7c53465ff https://git.kernel.org/stable/c/c63abf25203b50243fe228090526f9dbf37727bd https://git.kernel.org/stable/c/3be718f659683ad89fad6f1eb66bee99727cae64 https://git.kernel.org/stable/c/ac5f54691be06a32246179d41be2d73598036deb https://git.kernel.org/stable/c/146d4ab94cf129ee06cd467cb5c71368a6b5bad6