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 D976E3EB815 for ; Thu, 24 Sep 2026 16:23:37 +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=1790267019; cv=none; b=pB1a413tbJ0zGeNZ7SbbSBGpA8OGJ6rXeX8Gt7H3F3vVkXdkDJLl3LjT0qbc8WgycEYbKaaFU0J3YQVV9q7F9vUtW1n5KTaZQn69gYCfXw1xm9H7FSz0tBZFyZ/Kg21+cxD/2WtLLUqwD68p+GScDZhfBScXiPMmfYkLrLhJf+A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790267019; c=relaxed/simple; bh=cTPL8yjMUPzR3fS5Ftc6GVmWD66XqDxTY4YWJcPZvOs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Zb2xnkmbmS8o+HXGVFBw/ESlnntgIfIHloUtGaY1BxglTh6vMxjAJ+lilevlT6BF1aRzhrpyXhIjlh0Y+CRRXhFFEjRGLg/i0AtBbe15ne1vGghKvbyIoJUrGQj+1dMxJACDEFFMiD+GL72MGz4D2y6kwRcAhZrt2HXEKP7qfbA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=d3fWIDi0; 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="d3fWIDi0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98DD91F000FF; Thu, 24 Sep 2026 16:23:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790267017; bh=f39Hh7VNpfnrlllL6tphDXfZAFrHBmoHWBqxGlzz23U=; h=From:To:Cc:Subject:Date:Reply-To; b=d3fWIDi0k17fjincbZpc7evuow3OUsE7ddhclmLWQqU3CGwyTNxnZ1/gAGTxttSp0 dhJ6K0LelVzNzSrPdSUM/J57Xgi+kHD7Fci5j8v1QGr8svqe71Oia3NnVrYQx0FvsP 3BfIx6mdck9Ubl9FcR0+etA/LEF81ihMrDbllyFs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97484: usbip: vhci_hcd: fix NULL deref in status_show_vhci Date: Thu, 24 Sep 2026 18:04:09 +0200 Message-ID: <2026092437-CVE-2026-97484-82f5@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=2344; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=7sHj6EQx85EfONbuZodpbMnYBpADnPA+A0lNfq9gEW8=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlbPeeq11/dahNrs2xa9vyItlD99glFTBcPBy+sv6TwY M/bAJY5HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRsgaGBWvuH9O8q8O47pHH metd8TuO7cvgSmBYsOCoKNfy0L/7pm+9ZrQ+QVqz0Ux6JQA= 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: usbip: vhci_hcd: fix NULL deref in status_show_vhci platform_get_drvdata() can return NULL if a VHCI host controller's probe failed (e.g. due to USB bus number exhaustion). status_show_vhci() checked for a NULL pdev but not for a NULL hcd returned by platform_get_drvdata(). Passing NULL to hcd_to_vhci_hcd() does not return NULL - it returns a pointer offset of 0x260, causing a NULL pointer dereference when that value is subsequently dereferenced. Add a NULL check on hcd before calling hcd_to_vhci_hcd(). Move status_show_not_ready() above status_show_vhci() to make it callable from the new error path without a forward declaration. The Linux kernel CVE team has assigned CVE-2026-97484 to this issue. Affected and fixed versions =========================== Fixed in 6.12.111 with commit 046a94fdb02eb1df86c8fa4614104ff801ba3ab7 Fixed in 6.18.53 with commit dacd7c317ba12e035653c28a0eaaf23d91abc073 Fixed in 7.2 with commit bc150783542ba2e7c1257d1299c6f3269bdba270 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-97484 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/usbip/vhci_sysfs.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/046a94fdb02eb1df86c8fa4614104ff801ba3ab7 https://git.kernel.org/stable/c/dacd7c317ba12e035653c28a0eaaf23d91abc073 https://git.kernel.org/stable/c/bc150783542ba2e7c1257d1299c6f3269bdba270