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 5CE5E13B5AE for ; Fri, 23 Jan 2026 14:27:19 +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=1769178439; cv=none; b=oKTRLO4iVMzOTEYWRgQOgL4QXQD52P+Pa1YD0Ixtz9qvfiYVusX2mak3+IWWbpNtPvjjlRvOyL69y8uKXf7XRFYZqN6/jvRO2IzbAK9J17HWk/krTBLp4725aBQuUteE7HBEKi25ilRvq6WTQ6YE1o9E44b2eb/huK2ilzMdieY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769178439; c=relaxed/simple; bh=DVuj2inRGcPlcSKYu4C4BGTxpDvuO5ZdC5Y8GTMigZE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TXwKBOmLvDmrAGiX0rVHWjOFGeDOI9n2qHrh4UyZSvpXTQczp4bVoKDTi+WIKnM23Cz6sMty71v0paZN4dwgS/66VPK7th860FHagpEz6OYuCLOaDCExZ98VLIPh0RrAYS211DphAnZJIcXvNu+6YHBspnVrhiEUTewZQMKW5So= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aGfEhvpc; 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="aGfEhvpc" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 76FAEC4CEF1; Fri, 23 Jan 2026 14:27:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1769178438; bh=DVuj2inRGcPlcSKYu4C4BGTxpDvuO5ZdC5Y8GTMigZE=; h=From:To:Cc:Subject:Date:Reply-To:From; b=aGfEhvpcR4+ACJVgE5cQ98V/HmyX5bwe82LgN9p5UcK+yPSi3LKycoNECbcEoFewo tkcsvaEFOMQq0po1XEmrsI7vQ76ySdBMBzwvI+FO+xriSfy6a60IHuuxq5w7BHffw3 YXh8iOt3gG1nYvTEMEWUCzgQ6qgjT3OOMpoJVrxo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71154: net: usb: rtl8150: fix memory leak on usb_submit_urb() failure Date: Fri, 23 Jan 2026 15:27:05 +0100 Message-ID: <2026012305-CVE-2025-71154-bc99@gregkh> X-Mailer: git-send-email 2.52.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=3453; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=8sIWJBIHAWRhtPP2tcYBlaed+6aUh8PDa3+4ejWtkMI=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnFrZaXdrz+vor/+K/biwVYo4SM6s+nbeHbuDWw7Zb3K hd2/3b2jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIOm+Geeb3hdsMRXeVv7v4 9NqrEj1nL1XH9QwLZsm0f4mOCKxleWXKY+xteW2/Y70nAA== 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: usb: rtl8150: fix memory leak on usb_submit_urb() failure In async_set_registers(), when usb_submit_urb() fails, the allocated async_req structure and URB are not freed, causing a memory leak. The completion callback async_set_reg_cb() is responsible for freeing these allocations, but it is only called after the URB is successfully submitted and completes (successfully or with error). If submission fails, the callback never runs and the memory is leaked. Fix this by freeing both the URB and the request structure in the error path when usb_submit_urb() fails. The Linux kernel CVE team has assigned CVE-2025-71154 to this issue. Affected and fixed versions =========================== Issue introduced in 3.10 with commit 4d12997a9bb3d217ad4b925ec3074ec89364bf95 and fixed in 5.10.248 with commit a4e2442d3c48355a84463342f397134f149936d7 Issue introduced in 3.10 with commit 4d12997a9bb3d217ad4b925ec3074ec89364bf95 and fixed in 5.15.198 with commit 2f966186b99550e3c665dbfb87b8314e30acea02 Issue introduced in 3.10 with commit 4d12997a9bb3d217ad4b925ec3074ec89364bf95 and fixed in 6.1.160 with commit db2244c580540306d60ce783ed340190720cd429 Issue introduced in 3.10 with commit 4d12997a9bb3d217ad4b925ec3074ec89364bf95 and fixed in 6.6.120 with commit 4bd4ea3eb326608ffc296db12c105f92dc2f2190 Issue introduced in 3.10 with commit 4d12997a9bb3d217ad4b925ec3074ec89364bf95 and fixed in 6.12.64 with commit 6492ad6439ff1a479fc94dc6052df3628faed8b6 Issue introduced in 3.10 with commit 4d12997a9bb3d217ad4b925ec3074ec89364bf95 and fixed in 6.18.4 with commit 151403e903840c9cf06754097b6732c14f26c532 Issue introduced in 3.10 with commit 4d12997a9bb3d217ad4b925ec3074ec89364bf95 and fixed in 6.19-rc4 with commit 12cab1191d9890097171156d06bfa8d31f1e39c8 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-2025-71154 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/usb/rtl8150.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/a4e2442d3c48355a84463342f397134f149936d7 https://git.kernel.org/stable/c/2f966186b99550e3c665dbfb87b8314e30acea02 https://git.kernel.org/stable/c/db2244c580540306d60ce783ed340190720cd429 https://git.kernel.org/stable/c/4bd4ea3eb326608ffc296db12c105f92dc2f2190 https://git.kernel.org/stable/c/6492ad6439ff1a479fc94dc6052df3628faed8b6 https://git.kernel.org/stable/c/151403e903840c9cf06754097b6732c14f26c532 https://git.kernel.org/stable/c/12cab1191d9890097171156d06bfa8d31f1e39c8