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 9FFB53CAE60 for ; Fri, 1 May 2026 14:21:49 +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=1777645309; cv=none; b=kPYSpsrWQTvMmH1xZ3/br/IDIRYtDqSzm+cEuIIgOXISPZXUfJerMdoDBEZhqEPRrRQSYH6mu3BDYomWw4NooCF/sffqanb9nT9LVy4F0jk8YLshg0aDk4RPeR86igu70z3x7bsJCDrIM+UC70LBeay2oALBvqsiFWDfHWwfxiM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645309; c=relaxed/simple; bh=Vmkmr7gfRw0idmC1O+p3fv8vNJN/oW12oqo0QOmxrrw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=iO79pXpTqkiFlUm09bYFQ0Oub5FBb6bk7ilHM2bEQVmKq658v6V03gfqp1cCupV5Dng+0KxG2mRoHSf+x734boT1tIMZsFd359PMo2Qjr8yi8gvqc7I6jDU3Dtmt6F4uO06slekHxF1UXh7vhAhvuZdBI6C/qEB5ogPtXcq6Ke0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pDgD+ZGU; 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="pDgD+ZGU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A17AC2BCB4; Fri, 1 May 2026 14:21:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777645309; bh=Vmkmr7gfRw0idmC1O+p3fv8vNJN/oW12oqo0QOmxrrw=; h=From:To:Cc:Subject:Date:Reply-To:From; b=pDgD+ZGUBOBKYDLD2na2R8N9/dar0OAPtq1yEvZWBFbXGiZ57BN1MnX+g2Ftup1sb g2tm7o9Hs2GlcbVz02W8TifOLiFcT5isnNzg0eZ6k4zf6xeX7UUeeJVT4nqn6l/7df RDJzmqL1Bdtz59/3pKBuRvcfiSv0TM1S8qtHO5Zo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43041: net: qrtr: replace qrtr_tx_flow radix_tree with xarray to fix memory leak Date: Fri, 1 May 2026 16:16:14 +0200 Message-ID: <2026050104-CVE-2026-43041-eac4@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=3892; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=f6QA+9s4rpJaadcbCZsCWNEfXrvm96ND6kMJdG/nEAc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlftmZUt5+xyZv9KPnHz/OHc0JfHlv95mc1v9IGMReml ZcMHGWrO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAimv8Y5pkLnfZZyqIruTR+ 8RfX296zr6/QqmFYcP5qWaDwFY+zvV/EJ4s4qRv943U4AAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: net: qrtr: replace qrtr_tx_flow radix_tree with xarray to fix memory leak __radix_tree_create() allocates and links intermediate nodes into the tree one by one. If a subsequent allocation fails, the already-linked nodes remain in the tree with no corresponding leaf entry. These orphaned internal nodes are never reclaimed because radix_tree_for_each_slot() only visits slots containing leaf values. The radix_tree API is deprecated in favor of xarray. As suggested by Matthew Wilcox, migrate qrtr_tx_flow from radix_tree to xarray instead of fixing the radix_tree itself [1]. xarray properly handles cleanup of internal nodes — xa_destroy() frees all internal xarray nodes when the qrtr_node is released, preventing the leak. [1] https://lore.kernel.org/all/20260225071623.41275-1-jiayuan.chen@linux.dev/T/ The Linux kernel CVE team has assigned CVE-2026-43041 to this issue. Affected and fixed versions =========================== Issue introduced in 5.6 with commit 5fdeb0d372ab33b4175043a2a4a1730239a217f1 and fixed in 5.10.253 with commit f2dd9aaf6e2861337f5835f877a5b2becaf4b015 Issue introduced in 5.6 with commit 5fdeb0d372ab33b4175043a2a4a1730239a217f1 and fixed in 5.15.203 with commit 4b75ff0aedd6ade1018ad4a3a9d8336794e36e42 Issue introduced in 5.6 with commit 5fdeb0d372ab33b4175043a2a4a1730239a217f1 and fixed in 6.1.168 with commit ff134cc43972d7ddceff8cfd36cf6b9eaafc00b3 Issue introduced in 5.6 with commit 5fdeb0d372ab33b4175043a2a4a1730239a217f1 and fixed in 6.6.134 with commit 0fda873092b541bb5a9b87d728a2429f863f8cfa Issue introduced in 5.6 with commit 5fdeb0d372ab33b4175043a2a4a1730239a217f1 and fixed in 6.12.81 with commit 69402908e277dd164bf8d7c8fd0513c0fac28e9e Issue introduced in 5.6 with commit 5fdeb0d372ab33b4175043a2a4a1730239a217f1 and fixed in 6.18.22 with commit f2664bc4f0f356f17c2094587a2b3665e3867e44 Issue introduced in 5.6 with commit 5fdeb0d372ab33b4175043a2a4a1730239a217f1 and fixed in 6.19.12 with commit 5d2249eefaca59908fe3c264b8eca526424dcfbe Issue introduced in 5.6 with commit 5fdeb0d372ab33b4175043a2a4a1730239a217f1 and fixed in 7.0 with commit 2428083101f6883f979cceffa76cd8440751ffe6 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-43041 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/qrtr/af_qrtr.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/f2dd9aaf6e2861337f5835f877a5b2becaf4b015 https://git.kernel.org/stable/c/4b75ff0aedd6ade1018ad4a3a9d8336794e36e42 https://git.kernel.org/stable/c/ff134cc43972d7ddceff8cfd36cf6b9eaafc00b3 https://git.kernel.org/stable/c/0fda873092b541bb5a9b87d728a2429f863f8cfa https://git.kernel.org/stable/c/69402908e277dd164bf8d7c8fd0513c0fac28e9e https://git.kernel.org/stable/c/f2664bc4f0f356f17c2094587a2b3665e3867e44 https://git.kernel.org/stable/c/5d2249eefaca59908fe3c264b8eca526424dcfbe https://git.kernel.org/stable/c/2428083101f6883f979cceffa76cd8440751ffe6