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 69A423B530F for ; Sun, 18 Oct 2026 15:51:46 +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=1792338709; cv=none; b=rt1tQ5kH7hxJUwMvYVTTxK4CEmpMUGgHC0yybyF7qkSJpMsOni06tZBsBe59QyH1ULxRwojJ1GYLiDdr4puXXTL0aaIdG30Gqv2XXOcB6rY023Mr0KgpUxemzQ5Qh6Od+HtM557IFrrci/vOH4dUtESVKm8pjqJlDYQr/ZdioHU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792338709; c=relaxed/simple; bh=lUDMBzOpmUbIwg/EobTqLWo/LRj1pvfN0uYJi6kPzPk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NDR9Mm0ozI8BAmHSHsAfLmPvRH4ngTCQJRHg7GUJszCmQh263AnTBuWfaskXz0k2sjzQkxVZOuJeFzJST2brAQUE3h4T/Bgr/qRDTV57xm+3MD/qoYCu7mHmyA0IAcympj5GMpIPjB8FzDMe+jAsw79KojwpCWPbfeQ8x+zA5ac= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZBC0Ri8v; 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="ZBC0Ri8v" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82FAB1F000C7; Sun, 18 Oct 2026 15:51:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792338706; bh=LE3G22MyP/VOhOJVecAbCmaX4Kmk7KirVdYoavQjpUo=; h=From:To:Cc:Subject:Date:Reply-To; b=ZBC0Ri8vpxHC7hc/6s1K+q76xedr6RqMWlo+wT2SvblGwN55+ZX8RNtm+V3JCGPl9 QEly034O2fRgGytedJ9pettLy8bgJqsqXTHHXb2obKeHLmQdhBiWu+kVz9hwUjO6IW WjAnuAYw+aOGfe3w/aDTZgh5eUwA1d2gOWjpP8u8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98695: USB: serial: fix ioctl hangup race Date: Sun, 18 Oct 2026 17:44:30 +0200 Message-ID: <2026101804-CVE-2026-98695-462d@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=2825; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=7Q9EM38QvG8kNOjTUojDPyBh9iQ0/smmrN8+T+f9+pQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXXrpcPmLyOGTVETfbpMfzEh26a69GfTyhfm/lxgbB/ o3rHH+0dMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEZixjmJ8wTW3qdubX915e W9t2ZWlu/VTWmWIMCyZHzzt/yWrJnRUzLk+we6tWLpX5pwEA 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 ioctl hangup race The tty ioctls can race with hangup and end up calling into a tty driver for a device that is already gone or powered down. Serialise the callbacks using the tty port mutex and add the missing checks to make sure the port has not been hung up before accessing port driver data or hardware. This specifically avoids dereferencing a NULL-pointer if a device is disconnected during lengthy break signalling. Note that TIOCGICOUNT and TIOCMIWAIT do not access port driver data or hardware and are therefore not affected by the race. The Linux kernel CVE team has assigned CVE-2026-98695 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.26 with commit f34d7a5b7010b82fe97da95496b9971435530062 and fixed in 6.12.113 with commit ae0da9a5c1ca95c20cc5feffd511ce6eae75924e Issue introduced in 2.6.26 with commit f34d7a5b7010b82fe97da95496b9971435530062 and fixed in 6.18.56 with commit 4597ddd6168ae2a4123404e5f0871f1070dc7773 Issue introduced in 2.6.26 with commit f34d7a5b7010b82fe97da95496b9971435530062 and fixed in 7.2.10 with commit 7912a95d1345c77d8d63b530b00c118700b78abd Issue introduced in 2.6.26 with commit f34d7a5b7010b82fe97da95496b9971435530062 and fixed in 7.3-rc6 with commit ae0e61d95677efa778379853e495d748e6efbf95 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-98695 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/generic.c drivers/usb/serial/usb-serial.c drivers/usb/serial/xr_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/ae0da9a5c1ca95c20cc5feffd511ce6eae75924e https://git.kernel.org/stable/c/4597ddd6168ae2a4123404e5f0871f1070dc7773 https://git.kernel.org/stable/c/7912a95d1345c77d8d63b530b00c118700b78abd https://git.kernel.org/stable/c/ae0e61d95677efa778379853e495d748e6efbf95