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 44FA64949ED for ; Fri, 25 Sep 2026 10:31:41 +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=1790332302; cv=none; b=tVLWwSrM0WV45c/8cYdVHroFS+VPGvop+tigAD87qWNrD08UVuSWnsE39vonWSLlto+pbYpjpeOW8LOUR0OmT3A1nGB5B2Oq0EqXx54ODM5vWwQJJrqj7vCUdMReQfee5rUuFHT3huXltLdrJsj5OMdY5IwqBcWKu0rDInbZ+oo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332302; c=relaxed/simple; bh=zmTmfBobjqoxhRY6ZVId53PSDEiUG94/8d+jstVfDgY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=o4mFYl0abS1XvR2z0HjPGEFwfFPpQuL6/9MJprjSm2vmVteIlSu0eYai+u21UVP5tZ128Y/1f12l2RxWMXNIKre9KTHakb42L0IVo22QF4CXz2CbmqDakqgqMudEl+kVi7SQDEy/36FXEByX/hy35ry7Q5COtB7NcBbJh/zArCs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=QQt6yHim; 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="QQt6yHim" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93B381F000FF; Fri, 25 Sep 2026 10:31:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332301; bh=mso2yfmz1cYs4HDerhC0acTnbZHu/egZ8B2BxhssY7w=; h=From:To:Cc:Subject:Date:Reply-To; b=QQt6yHim9ifotyIdDhDaJYGEuAqmVP5BMNyXByBmTH8/AspjBhOmjW7j+/COPgSK/ M0TyBuipRZLIa6Dbp3UDiywbK6/iM52qgLQJhrNWwgmDJtkT5wYpEfuSFyWx0e0e3v THnrUQ6alzCpkftygdriMA2HBSC9clC+VCnverxs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97987: virtio_input: reset device if input_register_device() fails Date: Fri, 25 Sep 2026 12:24:50 +0200 Message-ID: <2026092520-CVE-2026-97987-c4af@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=2610; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rFoTzfSgBKHZ8OOrsQUv1fjlnSZ6xdn0ppq+Sp4i/Nk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvGNKnzCYl91izHtSX8Ljl9J00Fnke3d16KnStPKKq 6oM7052xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwERSdjPMz54pt2Hprncqe5Y5 RPhcNq+YMjszimGuWJTbbz62e8fV7R6cOXtU+6np19BZAA== 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: virtio_input: reset device if input_register_device() fails Probe marks the device DRIVER_OK with virtio_device_ready() before calling input_register_device(). If registration fails, the error path cleared vi->ready and called del_vqs() while the device was still live, so the device could keep DMA to queues that were already torn down. Match remove/freeze: call virtio_reset_device() on that path before tearing down the virtqueues. The Linux kernel CVE team has assigned CVE-2026-97987 to this issue. Affected and fixed versions =========================== Issue introduced in 4.1 with commit 271c865161c57cfabca45b93eaa712b19da365bc and fixed in 6.12.111 with commit 9a7e107734137f098f9b81e5615aa5a02c5395c7 Issue introduced in 4.1 with commit 271c865161c57cfabca45b93eaa712b19da365bc and fixed in 6.18.53 with commit 8407da8974326c1ffdfe6a5a9bfc8fed3212bbdf Issue introduced in 4.1 with commit 271c865161c57cfabca45b93eaa712b19da365bc and fixed in 7.2.7 with commit 668ebfea7ba623450b12fdeaa0d080464d0c0a14 Issue introduced in 4.1 with commit 271c865161c57cfabca45b93eaa712b19da365bc and fixed in 7.3-rc3 with commit 81489b32a21c9360f8750d1fb600155d27452e19 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-97987 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/virtio/virtio_input.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/9a7e107734137f098f9b81e5615aa5a02c5395c7 https://git.kernel.org/stable/c/8407da8974326c1ffdfe6a5a9bfc8fed3212bbdf https://git.kernel.org/stable/c/668ebfea7ba623450b12fdeaa0d080464d0c0a14 https://git.kernel.org/stable/c/81489b32a21c9360f8750d1fb600155d27452e19