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 A19EC3DEAFC for ; Fri, 24 Apr 2026 14:45:53 +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=1777041953; cv=none; b=s+qnyonnNROtvI7T1eRqWOzVqYc+qDbxrut6hvcH3pJ1qLGWe6V6JUz+IwPjBTNz7Nf3CzkEdaG90BAhCc0mbDCgca6paz+mVYlKHqCLJHtnBtQ240nbz+erzMs1IGoaaVm89t/wRAAKTKBlSIg2CY8vrZntV62lN0jnp0+pv9U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777041953; c=relaxed/simple; bh=Ew/D02R2SCwZnTdCJe16xhFgi+3d5Yvh8Da/Zlejsa8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SwZ6giSlEpLJB5Q+mx/PviRnx530FD40CWd+stDVguxGhSuMlQy15Y5K5nvWboTVC+1bnxmNYUY/Jm2vvGEQA2IaJAJFdDV8r8YZt7/DzCqYiXu+j/3+lCJbLci5gK0ggq1n8xgokipw0b/vT+EiRkE32knxEdYHc/ICmtRXtdg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=weJZaxMJ; 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="weJZaxMJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 379FCC2BCB7; Fri, 24 Apr 2026 14:45:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777041953; bh=Ew/D02R2SCwZnTdCJe16xhFgi+3d5Yvh8Da/Zlejsa8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=weJZaxMJsAYaqdGhJUlobCQuTj1zONthTt6z6+s7/bXQz/t9P+mlinpBabOKlZ6qe p45thQaJkVimV5TdNV4xzHb11+QUnFhCyHF+uibSbA5WQSxIgTR+Jw7Il7Spz/O9AE GtoQgYw/WdVYJOJXGzEfJcht2BKmdJS9QduAKteM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31604: wifi: rtw88: fix device leak on probe failure Date: Fri, 24 Apr 2026 16:43:40 +0200 Message-ID: <2026042419-CVE-2026-31604-cd65@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=2541; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=96fcCiNAEbVsPPR6OUJVLt4J5OM7O/Tbgz1wId6lCPE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmvG9sbzfumFTP90F326HJVzRITzapA1o5v26Xyt995m Lrj+pzSjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIlDbDgiNhYYcdFap6opY4 bPCPfq3pHVt6lmGescKq5af/2pev/y+Rf6s0vtU0/81tAA== 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: wifi: rtw88: fix device leak on probe failure Driver core holds a reference to the USB interface and its parent USB device while the interface is bound to a driver and there is no need to take additional references unless the structures are needed after disconnect. This driver takes a reference to the USB device during probe but does not to release it on all probe errors (e.g. when descriptor parsing fails). Drop the redundant device reference to fix the leak, reduce cargo culting, make it easier to spot drivers where an extra reference is needed, and reduce the risk of further memory leaks. The Linux kernel CVE team has assigned CVE-2026-31604 to this issue. Affected and fixed versions =========================== Fixed in 6.12.83 with commit a4f4371d194dfa5473cc961f86194084b1b13a69 Fixed in 6.18.24 with commit 89a9c1bc7d797120bcc290864e0cb10a440a677f Fixed in 6.19.14 with commit af7307e96dad00bcc2675dac650d8558a52f2c6f Fixed in 7.0.1 with commit 25a827b7e1d5747a255bdc757f1d3e9e1e8a4e2a 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-31604 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: drivers/net/wireless/realtek/rtw88/usb.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/a4f4371d194dfa5473cc961f86194084b1b13a69 https://git.kernel.org/stable/c/89a9c1bc7d797120bcc290864e0cb10a440a677f https://git.kernel.org/stable/c/af7307e96dad00bcc2675dac650d8558a52f2c6f https://git.kernel.org/stable/c/25a827b7e1d5747a255bdc757f1d3e9e1e8a4e2a https://git.kernel.org/stable/c/bbb15e71156cd9f5e1869eee7207a06ea8e96c39