{"id":"CVE-2022-49313","state":"PUBLISHED","title":"drivers: usb: host: Fix deadlock in oxu_bus_suspend()","description":"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->lock in position (1) of thread 1, and use\ndel_timer_sync() to wait timer to stop, but timer handler\nalso need oxu->lock 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.","publishedAt":"2025-02-26T02:10:42.109Z","updatedAt":"2026-05-11T18:57:16.762Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b92a78e582b1a45649143dc86e526f5824092478","status":"affected","lessThan":"9b58d255f27b0ed6a2e43208960864d67579db58","versionType":"git"},{"version":"b92a78e582b1a45649143dc86e526f5824092478","status":"affected","lessThan":"a3d380188bde8900c3f604e82b56572896499124","versionType":"git"},{"version":"b92a78e582b1a45649143dc86e526f5824092478","status":"affected","lessThan":"f8242044c91cafbba9e320b0fb31abf2429a3221","versionType":"git"},{"version":"b92a78e582b1a45649143dc86e526f5824092478","status":"affected","lessThan":"2dcec0bc142be2096af71a5703d63237127db204","versionType":"git"},{"version":"b92a78e582b1a45649143dc86e526f5824092478","status":"affected","lessThan":"ffe9440d698274c6462d2e304562c6ddfc8c84df","versionType":"git"},{"version":"b92a78e582b1a45649143dc86e526f5824092478","status":"affected","lessThan":"d888753872190abd18f68a7d77b9c7c367f0a7ab","versionType":"git"},{"version":"b92a78e582b1a45649143dc86e526f5824092478","status":"affected","lessThan":"4187b291a76664a3c03d3f0d9bfadc8322881868","versionType":"git"},{"version":"b92a78e582b1a45649143dc86e526f5824092478","status":"affected","lessThan":"b97aae8b43b718314012e8170b7e03dbfd2e7677","versionType":"git"},{"version":"b92a78e582b1a45649143dc86e526f5824092478","status":"affected","lessThan":"4d378f2ae58138d4c55684e1d274e7dd94aa6524","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/host/oxu210hp-hcd.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.29","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.29","versionType":"semver"},{"version":"4.9.318","status":"unaffected","lessThanOrEqual":"4.9.*","versionType":"semver"},{"version":"4.14.283","status":"unaffected","lessThanOrEqual":"4.14.*","versionType":"semver"},{"version":"4.19.247","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.198","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.122","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.47","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.17.15","status":"unaffected","lessThanOrEqual":"5.17.*","versionType":"semver"},{"version":"5.18.4","status":"unaffected","lessThanOrEqual":"5.18.*","versionType":"semver"},{"version":"5.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/host/oxu210hp-hcd.c"]}],"references":["https://git.kernel.org/stable/c/9b58d255f27b0ed6a2e43208960864d67579db58","https://git.kernel.org/stable/c/a3d380188bde8900c3f604e82b56572896499124","https://git.kernel.org/stable/c/f8242044c91cafbba9e320b0fb31abf2429a3221","https://git.kernel.org/stable/c/2dcec0bc142be2096af71a5703d63237127db204","https://git.kernel.org/stable/c/ffe9440d698274c6462d2e304562c6ddfc8c84df","https://git.kernel.org/stable/c/d888753872190abd18f68a7d77b9c7c367f0a7ab","https://git.kernel.org/stable/c/4187b291a76664a3c03d3f0d9bfadc8322881868","https://git.kernel.org/stable/c/b97aae8b43b718314012e8170b7e03dbfd2e7677","https://git.kernel.org/stable/c/4d378f2ae58138d4c55684e1d274e7dd94aa6524"],"weaknesses":["CWE-667"],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/49xxx/CVE-2022-49313.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-49313","state":"PUBLISHED","datePublished":"2025-02-26T02:10:42.109Z","dateUpdated":"2026-05-11T18:57:16.762Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-02-26T02:08:31.536Z"},"containers":{"cna":{"title":"drivers: usb: host: Fix deadlock in oxu_bus_suspend()","descriptions":[{"lang":"en","value":"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->lock in position (1) of thread 1, and use\ndel_timer_sync() to wait timer to stop, but timer handler\nalso need oxu->lock 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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b92a78e582b1a45649143dc86e526f5824092478","status":"affected","lessThan":"9b58d255f27b0ed6a2e43208960864d67579db58","versionType":"git"},{"version":"b92a78e582b1a45649143dc86e526f5824092478","status":"affected","lessThan":"a3d380188bde8900c3f604e82b56572896499124","versionType":"git"},{"version":"b92a78e582b1a45649143dc86e526f5824092478","status":"affected","lessThan":"f8242044c91cafbba9e320b0fb31abf2429a3221","versionType":"git"},{"version":"b92a78e582b1a45649143dc86e526f5824092478","status":"affected","lessThan":"2dcec0bc142be2096af71a5703d63237127db204","versionType":"git"},{"version":"b92a78e582b1a45649143dc86e526f5824092478","status":"affected","lessThan":"ffe9440d698274c6462d2e304562c6ddfc8c84df","versionType":"git"},{"version":"b92a78e582b1a45649143dc86e526f5824092478","status":"affected","lessThan":"d888753872190abd18f68a7d77b9c7c367f0a7ab","versionType":"git"},{"version":"b92a78e582b1a45649143dc86e526f5824092478","status":"affected","lessThan":"4187b291a76664a3c03d3f0d9bfadc8322881868","versionType":"git"},{"version":"b92a78e582b1a45649143dc86e526f5824092478","status":"affected","lessThan":"b97aae8b43b718314012e8170b7e03dbfd2e7677","versionType":"git"},{"version":"b92a78e582b1a45649143dc86e526f5824092478","status":"affected","lessThan":"4d378f2ae58138d4c55684e1d274e7dd94aa6524","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/host/oxu210hp-hcd.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.29","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.29","versionType":"semver"},{"version":"4.9.318","status":"unaffected","lessThanOrEqual":"4.9.*","versionType":"semver"},{"version":"4.14.283","status":"unaffected","lessThanOrEqual":"4.14.*","versionType":"semver"},{"version":"4.19.247","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.198","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.122","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.47","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.17.15","status":"unaffected","lessThanOrEqual":"5.17.*","versionType":"semver"},{"version":"5.18.4","status":"unaffected","lessThanOrEqual":"5.18.*","versionType":"semver"},{"version":"5.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/host/oxu210hp-hcd.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/9b58d255f27b0ed6a2e43208960864d67579db58"},{"url":"https://git.kernel.org/stable/c/a3d380188bde8900c3f604e82b56572896499124"},{"url":"https://git.kernel.org/stable/c/f8242044c91cafbba9e320b0fb31abf2429a3221"},{"url":"https://git.kernel.org/stable/c/2dcec0bc142be2096af71a5703d63237127db204"},{"url":"https://git.kernel.org/stable/c/ffe9440d698274c6462d2e304562c6ddfc8c84df"},{"url":"https://git.kernel.org/stable/c/d888753872190abd18f68a7d77b9c7c367f0a7ab"},{"url":"https://git.kernel.org/stable/c/4187b291a76664a3c03d3f0d9bfadc8322881868"},{"url":"https://git.kernel.org/stable/c/b97aae8b43b718314012e8170b7e03dbfd2e7677"},{"url":"https://git.kernel.org/stable/c/4d378f2ae58138d4c55684e1d274e7dd94aa6524"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T18:57:16.762Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.29","versionEndExcluding":"4.9.318"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.29","versionEndExcluding":"4.14.283"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.29","versionEndExcluding":"4.19.247"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.29","versionEndExcluding":"5.4.198"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.29","versionEndExcluding":"5.10.122"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.29","versionEndExcluding":"5.15.47"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.29","versionEndExcluding":"5.17.15"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.29","versionEndExcluding":"5.18.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.29","versionEndExcluding":"5.19"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"id":"CVE-2022-49313","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T19:44:10.208294Z"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-667","lang":"en","type":"CWE","description":"CWE-667 Improper Locking"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-01T19:46:57.754Z"}}]}}}