Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 293134534AC for ; Wed, 16 Sep 2026 10:44:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555490; cv=none; b=KX48i9Q75Dmwezxc3+01rTGxpD9CXWEvNFhYQkM8cYYfKEJoVyf4hpFf9bDu2pxplpt1kAChMzlEvi9sdsChmVzBjr3g197Me8NYGuuR0b0InJnbjv4uCJDNJ2cnoPmIPYn/vg3INEUup6niZnN99rEVTGv00b8Z1srUl63p6y8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789555490; c=relaxed/simple; bh=Rblr/X4oBStA22uQKfWWhPkYN9k9pusRgyHDgGiupic=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=j0KM3RAVEQAjAqzLmU4D3VLUdPxDNDnsfKEGFQS0TgRKZJ3/Fo4vbhd96LW2HRFEV7DH4uV3Jyt/h++wwDEZ02Fvx2Dz8XRbdCo4BaWUKPLDsMtIwVbgoiO6T53L6UJmSV64f1zzb36R/VbVmAzODltRX3Lh+Jp9FvqiMHKmsLo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Pi9X4gbe; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Pi9X4gbe" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D83FB1F00893; Wed, 16 Sep 2026 10:44:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789555474; bh=m7tA+3h+QBIUzqDoznVB00t+xJeS53tNnHAcLYxjh7M=; h=From:To:Cc:Subject:Date:Reply-To; b=Pi9X4gbeQnC2LBl5trjp6nKFUj5WUZDPVsYPUtaRe4jCKSYOIpCOP9k2LqMJi6TLQ G6i5DO7TmyDOh4Dw5Z+FY5+GhKKWjykbaj9BC83SzEtdoO9tmRKPI16x8P+/T4uNJz ZXOWHQJzfGQtHhvuwXgwim9NwCVvth2E7PNGvebc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90029: usb: storage: realtek_cr: fix use-after-free on disconnect Date: Wed, 16 Sep 2026 11:32:39 +0100 Message-ID: <2026091605-CVE-2026-90029-0066@gregkh> X-Mailer: git-send-email 2.55.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=2507; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=o7x7/GsIVuuHE5qxweXBrFaRZdHWdKmDUQfoMduEbRk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8tdOC2JwCWD/r28uVC7DcEDx6DYdz+2XX+1a12Prl RAb+NOsI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZyxY1hftH7mv+P5L6ZvPz5 ruz57M8XdBkVFzAsOHx05YnT2euYTgjbPvl/ffnTH7KydQA= 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: usb: storage: realtek_cr: fix use-after-free on disconnect realtek_cr_destructor() calls timer_delete() before the chip containing the timer is freed. The timer callback may still be running and can rearm itself, resulting in a use-after-free. Use timer_shutdown_sync() to wait for the callback and prevent further rearming. Do this unconditionally because ss_en may be changed after the timer is armed. Move timer_setup() into init_realtek_cr() so the timer is initialized before any failure path can invoke the destructor. Found by static analysis. The Linux kernel CVE team has assigned CVE-2026-90029 to this issue. Affected and fixed versions =========================== Issue introduced in 3.1 with commit e931830bb877e2aad9a1be83506f9bdb26c91e4e and fixed in 6.18.51 with commit 7c4e2f964c65dea4ea22386799d5fb10ef1e3e54 Issue introduced in 3.1 with commit e931830bb877e2aad9a1be83506f9bdb26c91e4e and fixed in 7.2.5 with commit cae9dbba6adae21a04a3bd045e07b489847ff2c6 Issue introduced in 3.1 with commit e931830bb877e2aad9a1be83506f9bdb26c91e4e and fixed in 7.3-rc2 with commit 4ffee1aebb0c0ffcda9faffd17834ea9b00d42cc 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-90029 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/usb/storage/realtek_cr.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/7c4e2f964c65dea4ea22386799d5fb10ef1e3e54 https://git.kernel.org/stable/c/cae9dbba6adae21a04a3bd045e07b489847ff2c6 https://git.kernel.org/stable/c/4ffee1aebb0c0ffcda9faffd17834ea9b00d42cc