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 1B009421A09 for ; Tue, 20 Jan 2026 13:00:44 +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=1768914045; cv=none; b=dUWS3RS7mIlFLcFlQ9WwKijwjjMlTPoCU6zXCY0P+WSQyBTdV/gL0njhS+nuTRQkL+rm4jb5DQZixTXTLoBBEuVqt5RUal5l8/ll+pL8xQ9UogUaNcQGJvsy7eplDCLgnk1hxPPe6I64YhpWzM//AMShbSU9vvVmg0zgMUk+NRg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768914045; c=relaxed/simple; bh=fFwiW0sqfpbbuxNJV14P0pqY4fs7UUhYoLtRL4RUCgQ=; h=Subject:To:Cc:From:Date:Message-ID:MIME-Version:Content-Type; b=OzPgDOkRR62jwHGKlK/S9ZcIq6BxbXpdTzNVQQLsL7yRASW7L7xY509lm5JnoaK8uLlqvt/l3AgKS3oZLvixp15GzyV5lFkR+YaBAgWan6pWLMSGNXiB2y3a4syiIaH4JWWvwtuO/xUWcTzL0yvvhOvd6loB3TYG6ug5a7630yA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QLu546tb; 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="QLu546tb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33F52C16AAE; Tue, 20 Jan 2026 13:00:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768914044; bh=fFwiW0sqfpbbuxNJV14P0pqY4fs7UUhYoLtRL4RUCgQ=; h=Subject:To:Cc:From:Date:From; b=QLu546tbCtnyVnz35t9wfpms2EmpVpsuP2LNRLk3lccW/y16je5os+lpQEYa9n79m eQkdXqFN2QZDLzzLBgFnnrI2dy5p2eN0HTXQhmE4+hKZ+fZvUZ4FKVoYcp4hjpdzJU KmQhB072QjB/qY+CXw9oAL3RV8R3klp8imB7liGo= Subject: FAILED: patch "[PATCH] phy: rockchip: inno-usb2: Fix a double free bug in" failed to apply to 6.6-stable tree To: vulab@iscas.ac.cn,neil.armstrong@linaro.org,vkoul@kernel.org Cc: From: Date: Tue, 20 Jan 2026 14:00:36 +0100 Message-ID: <2026012036-stock-spout-b6b1@gregkh> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit The patch below does not apply to the 6.6-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . To reproduce the conflict and resubmit, you may use the following commands: git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.6.y git checkout FETCH_HEAD git cherry-pick -x e07dea3de508cd6950c937cec42de7603190e1ca # git commit -s git send-email --to '' --in-reply-to '2026012036-stock-spout-b6b1@gregkh' --subject-prefix 'PATCH 6.6.y' HEAD^.. Possible dependencies: thanks, greg k-h ------------------ original commit in Linus's tree ------------------ From e07dea3de508cd6950c937cec42de7603190e1ca Mon Sep 17 00:00:00 2001 From: Wentao Liang Date: Fri, 9 Jan 2026 15:46:26 +0000 Subject: [PATCH] phy: rockchip: inno-usb2: Fix a double free bug in rockchip_usb2phy_probe() The for_each_available_child_of_node() calls of_node_put() to release child_np in each success loop. After breaking from the loop with the child_np has been released, the code will jump to the put_child label and will call the of_node_put() again if the devm_request_threaded_irq() fails. These cause a double free bug. Fix by returning directly to avoid the duplicate of_node_put(). Fixes: ed2b5a8e6b98 ("phy: phy-rockchip-inno-usb2: support muxed interrupts") Cc: stable@vger.kernel.org Signed-off-by: Wentao Liang Reviewed-by: Neil Armstrong Link: https://patch.msgid.link/20260109154626.2452034-1-vulab@iscas.ac.cn Signed-off-by: Vinod Koul diff --git a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c index e5efae7b0135..8f4c08e599aa 100644 --- a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c +++ b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c @@ -1495,7 +1495,7 @@ static int rockchip_usb2phy_probe(struct platform_device *pdev) rphy); if (ret) { dev_err_probe(rphy->dev, ret, "failed to request usb2phy irq handle\n"); - goto put_child; + return ret; } }