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 50983439F95 for ; Sun, 18 Oct 2026 16:13:45 +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=1792340026; cv=none; b=JiZXvWb/HSxgzG2737sb/2HAhJTCynleXqop37tUC61yYh3a+R2ZGWKqJB0NiJQqpB4v+o7Vh9fC/pd0RhGtGn3rFv1ZFe7RJJL5K1rfLarTQYbJ/CalJOiWq+TVUC/aRhljZ98fI6+tV0Xw0Awe8fWbpZDnkxpjC4xf60G6wfc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792340026; c=relaxed/simple; bh=u/ecpSFLT2RqP9F4bb5E0rEoh06x5ssl0DxzRBpuYAU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=I08xuRkplCiUh3ROSl6BBCSn647WgWAB8dvBSmaUEQabaO1+xnXArb9Bq0n6Bp/3dVG6Fhlh8ea7drKogSc5XKbRGMwXvALSZt+Eu50zbrC72CtZVV6uZsr7Q2BWx6g30ry56uAnrq7BoLhhfPJjQNUIWoDCeyay7fisiy3p8vs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qJATi27O; 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="qJATi27O" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC7BC1F000C4; Sun, 18 Oct 2026 16:13:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792340025; bh=a2q84RgoCSxwS2aCRi2SjqUo9KkUk45kc+HNj9Ohexo=; h=From:To:Cc:Subject:Date:Reply-To; b=qJATi27Osv47HKFN9aGvYbTz7bczuroEyaaBG0CRvNwFlHvuRPabdUUKIe0tOUAXx MAZXCpqzAnU70rSMrgm5W7jv4XnEpM6RHAKEI8ViQVF1pRvNx13/R5qbhoVwu3GEyv A/A1hxitZu1bopHwQHbZLhTsFzKWrAJv8k/b2pFE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98772: USB: serial: fix port tear down use-after-free Date: Sun, 18 Oct 2026 17:45:47 +0200 Message-ID: <2026101819-CVE-2026-98772-2296@gregkh> X-Mailer: git-send-email 2.56.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=2836; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VgCJhczNGcWkvuDNzMF+PXOrFSQEwEmSLzurN+ENa2M=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXXgafMnuemHM42nOJxtk/mbzCrDOXaW6pmTip+qoVn +7FOatXdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEtJYwLFigevO/FOu3o80t nTPzZEOi7AVnMDAsmB72fdoub/ZHnpNEeZ75M2+/1XNaHgA= 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: serial: fix port tear down use-after-free Some drivers for multiport devices access port driver data from completion handlers of shared URBs submitted at attach() or first open() and stopped at disconnect() or last close(), respectively. A simple NULL check before accessing the driver data makes sure that a port state container has at least been allocated, but a completion handler can still race with port tear down. Reorder the disconnect handling so that ports are not deregistered (and their driver data freed) until after all ports have been hung up and the driver disconnect() callback has run so that all I/O has been stopped. The Linux kernel CVE team has assigned CVE-2026-98772 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.30 with commit 2d93148ab6988cad872e65d694c95e8944e1b626 and fixed in 6.12.113 with commit 60cc9379c3e650d1ebfba4de63f1242537a62a32 Issue introduced in 2.6.30 with commit 2d93148ab6988cad872e65d694c95e8944e1b626 and fixed in 6.18.56 with commit 5e8980a81af195c49084be5b4c031085b56c7443 Issue introduced in 2.6.30 with commit 2d93148ab6988cad872e65d694c95e8944e1b626 and fixed in 7.2.10 with commit e80ee74206f260eb1282e7d1339ff146a4a410d0 Issue introduced in 2.6.30 with commit 2d93148ab6988cad872e65d694c95e8944e1b626 and fixed in 7.3-rc6 with commit 33c920f7c5952dfc42d1b8ea6efe16b1f0bb0c5b 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-98772 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/serial/usb-serial.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/60cc9379c3e650d1ebfba4de63f1242537a62a32 https://git.kernel.org/stable/c/5e8980a81af195c49084be5b4c031085b56c7443 https://git.kernel.org/stable/c/e80ee74206f260eb1282e7d1339ff146a4a410d0 https://git.kernel.org/stable/c/33c920f7c5952dfc42d1b8ea6efe16b1f0bb0c5b