{"id":"CVE-2022-49313","summary":"drivers: usb: host: Fix deadlock in oxu_bus_suspend()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrivers: usb: host: Fix deadlock in oxu_bus_suspend()\n\nThere is a deadlock in oxu_bus_suspend(), which is shown below:\n\n   (Thread 1)              |      (Thread 2)\n                           | timer_action()\noxu_bus_suspend()          |  mod_timer()\n spin_lock_irq() //(1)     |  (wait a time)\n ...                       | oxu_watchdog()\n del_timer_sync()          |  spin_lock_irq() //(2)\n (wait timer to stop)      |  ...\n\nWe hold oxu-\u003elock in position (1) of thread 1, and use\ndel_timer_sync() to wait timer to stop, but timer handler\nalso need oxu-\u003elock in position (2) of thread 2. As a result,\noxu_bus_suspend() will block forever.\n\nThis patch extracts del_timer_sync() from the protection of\nspin_lock_irq(), which could let timer handler to obtain\nthe needed lock.","modified":"2026-04-11T12:43:52.204121Z","published":"2025-02-26T02:10:42.109Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1194-1","SUSE-SU-2025:1241-1","SUSE-SU-2025:1263-1","SUSE-SU-2025:1293-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49313.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2dcec0bc142be2096af71a5703d63237127db204"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4187b291a76664a3c03d3f0d9bfadc8322881868"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4d378f2ae58138d4c55684e1d274e7dd94aa6524"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9b58d255f27b0ed6a2e43208960864d67579db58"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a3d380188bde8900c3f604e82b56572896499124"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b97aae8b43b718314012e8170b7e03dbfd2e7677"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d888753872190abd18f68a7d77b9c7c367f0a7ab"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f8242044c91cafbba9e320b0fb31abf2429a3221"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ffe9440d698274c6462d2e304562c6ddfc8c84df"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49313.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49313"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b92a78e582b1a45649143dc86e526f5824092478"},{"fixed":"9b58d255f27b0ed6a2e43208960864d67579db58"},{"fixed":"a3d380188bde8900c3f604e82b56572896499124"},{"fixed":"f8242044c91cafbba9e320b0fb31abf2429a3221"},{"fixed":"2dcec0bc142be2096af71a5703d63237127db204"},{"fixed":"ffe9440d698274c6462d2e304562c6ddfc8c84df"},{"fixed":"d888753872190abd18f68a7d77b9c7c367f0a7ab"},{"fixed":"4187b291a76664a3c03d3f0d9bfadc8322881868"},{"fixed":"b97aae8b43b718314012e8170b7e03dbfd2e7677"},{"fixed":"4d378f2ae58138d4c55684e1d274e7dd94aa6524"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49313.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.29"},{"fixed":"4.9.318"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.10.0"},{"fixed":"4.14.283"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.247"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.198"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.122"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.47"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.17.15"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.18.0"},{"fixed":"5.18.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49313.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}