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 CED9B25FA10 for ; Wed, 27 May 2026 12:23:21 +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=1779884603; cv=none; b=Wc07ihtc4qiv63QKZaH0rTtfih65yesiBFUWuRhPAqLfG+4xZdoGkErm+eRFgEPUr11hrZIVu7oKhsAd9M0C2/qN4y7FyxJPK8Y+30PdbwyFqp0thVFtp5r5uv0E8zdmiTueIusAvkcHp5qQXQvUHLNmOv8OQGoGgGx7mYnV+dI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779884603; c=relaxed/simple; bh=4Xw2LaeVg7l7D49uxA+iVV53iJeNJhQFl/0FM3RybsE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ESXWCd0rpbpJZU3K9/n89tHQ31/0wqPJYZocljyBYHfY6afylGSdLxz6M2B0clBvsI+ttD/4pBtsyWozbX7Jrhrcg35rtveWQTRrurke0XvBCjbt7V/COErgFMIxAowm0AUltV7y7yJdfJQCc86fR6eLhtQUr+Q9/B6jCCPwYWI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jGqPzvkw; 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="jGqPzvkw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 385961F000E9; Wed, 27 May 2026 12:23:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779884601; bh=VVMelIxqUmygIZXjGraQzLZhIbP3Cgxv7IWgQC2YAtw=; h=From:To:Cc:Subject:Date:Reply-To; b=jGqPzvkwNPk9Tei5TBjJwAk95D4yvKmzVIIe3xzk4MXkr712SJ3wHDjlebh7EX5Zk au7ei1u6WB0KGeXi3Mov8FG1RMkGNyozA6yRl6aZN4xpSmVBpEjtckrZ4NDXmD+jFf eYg1EmXX2RNoQ0M5VgdUE9MUi6IR/IHbyDfxUju8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-45911: usb: cdns3: fix role switching during resume Date: Wed, 27 May 2026 14:19:13 +0200 Message-ID: <2026052722-CVE-2026-45911-ebbe@gregkh> X-Mailer: git-send-email 2.54.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=4990; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=bVKuK3i071KaFcKs/t8J13KIB2DW70yZO/M22+4XR9s=; b=owGbwMvMwCRo6H6F97bub03G02pJDFliD/mOfv+2qee5f4Wk15ao/t9dx2Rj/4qxHjk1Vc62f UYG89EXHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRd+cZ5ql0zVVZvmSy/ZHF C76J5ohfsHNsOsMw3336mh2yN4UqymcYm8Tvc827JtHUAAA= 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: cdns3: fix role switching during resume If the role change while we are suspended, the cdns3 driver switches to the new mode during resume. However, switching to host mode in this context causes a NULL pointer dereference. The host role's start() operation registers a xhci-hcd device, but its probe is deferred while we are in the resume path. The host role's resume() operation assumes the xhci-hcd device is already probed, which is not the case, leading to the dereference. Since the start() operation of the new role is already called, the resume operation can be skipped. So skip the resume operation for the new role if a role switch occurs during resume. Once the resume sequence is complete, the xhci-hcd device can be probed in case of host mode. Unable to handle kernel NULL pointer dereference at virtual address 0000000000000208 Mem abort info: ... Data abort info: ... [0000000000000208] pgd=0000000000000000, p4d=0000000000000000 Internal error: Oops: 0000000096000004 [#1] SMP Modules linked in: CPU: 0 UID: 0 PID: 146 Comm: sh Not tainted 6.19.0-rc7-00013-g6e64f4aabfae-dirty #135 PREEMPT Hardware name: Texas Instruments J7200 EVM (DT) pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : usb_hcd_is_primary_hcd+0x0/0x1c lr : cdns_host_resume+0x24/0x5c ... Call trace: usb_hcd_is_primary_hcd+0x0/0x1c (P) cdns_resume+0x6c/0xbc cdns3_controller_resume.isra.0+0xe8/0x17c cdns3_plat_resume+0x18/0x24 platform_pm_resume+0x2c/0x68 dpm_run_callback+0x90/0x248 device_resume+0x100/0x24c dpm_resume+0x190/0x2ec dpm_resume_end+0x18/0x34 suspend_devices_and_enter+0x2b0/0xa44 pm_suspend+0x16c/0x5fc state_store+0x80/0xec kobj_attr_store+0x18/0x2c sysfs_kf_write+0x7c/0x94 kernfs_fop_write_iter+0x130/0x1dc vfs_write+0x240/0x370 ksys_write+0x70/0x108 __arm64_sys_write+0x1c/0x28 invoke_syscall+0x48/0x10c el0_svc_common.constprop.0+0x40/0xe0 do_el0_svc+0x1c/0x28 el0_svc+0x34/0x108 el0t_64_sync_handler+0xa0/0xe4 el0t_64_sync+0x198/0x19c Code: 52800003 f9407ca5 d63f00a0 17ffffe4 (f9410401) ---[ end trace 0000000000000000 ]--- The Linux kernel CVE team has assigned CVE-2026-45911 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit 2cf2581cd2290ccef674f1be5f7977d66702eedb and fixed in 5.15.203 with commit ff02bd303d2d78051771db51119d66c0cf442f47 Issue introduced in 5.13 with commit 2cf2581cd2290ccef674f1be5f7977d66702eedb and fixed in 6.1.167 with commit 94c742614899ff18a6b3e6f3cfbe7b9f36c865f3 Issue introduced in 5.13 with commit 2cf2581cd2290ccef674f1be5f7977d66702eedb and fixed in 6.6.130 with commit d637f6ec149ffd2f8257bcc261561dc2e44dbb8c Issue introduced in 5.13 with commit 2cf2581cd2290ccef674f1be5f7977d66702eedb and fixed in 6.12.77 with commit 56289298431ed76700b9aac27a3b1d929fe61b8d Issue introduced in 5.13 with commit 2cf2581cd2290ccef674f1be5f7977d66702eedb and fixed in 6.18.14 with commit fc086c0ce3db0eefbbeb66a5b1e626296336e33a Issue introduced in 5.13 with commit 2cf2581cd2290ccef674f1be5f7977d66702eedb and fixed in 6.19.4 with commit 49c99dc247ebf7361db9dbdade3dcebfffaf2c22 Issue introduced in 5.13 with commit 2cf2581cd2290ccef674f1be5f7977d66702eedb and fixed in 7.0 with commit 87e4b043b98a1d269be0b812f383881abee0ca45 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-45911 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/cdns3/core.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/ff02bd303d2d78051771db51119d66c0cf442f47 https://git.kernel.org/stable/c/94c742614899ff18a6b3e6f3cfbe7b9f36c865f3 https://git.kernel.org/stable/c/d637f6ec149ffd2f8257bcc261561dc2e44dbb8c https://git.kernel.org/stable/c/56289298431ed76700b9aac27a3b1d929fe61b8d https://git.kernel.org/stable/c/fc086c0ce3db0eefbbeb66a5b1e626296336e33a https://git.kernel.org/stable/c/49c99dc247ebf7361db9dbdade3dcebfffaf2c22 https://git.kernel.org/stable/c/87e4b043b98a1d269be0b812f383881abee0ca45