{"id":"CVE-2025-38404","summary":"usb: typec: displayport: Fix potential deadlock","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: displayport: Fix potential deadlock\n\nThe deadlock can occur due to a recursive lock acquisition of\n`cros_typec_altmode_data::mutex`.\nThe call chain is as follows:\n1. cros_typec_altmode_work() acquires the mutex\n2. typec_altmode_vdm() -\u003e dp_altmode_vdm() -\u003e\n3. typec_altmode_exit() -\u003e cros_typec_altmode_exit()\n4. cros_typec_altmode_exit() attempts to acquire the mutex again\n\nTo prevent this, defer the `typec_altmode_exit()` call by scheduling\nit rather than calling it directly from within the mutex-protected\ncontext.","modified":"2026-04-16T04:38:56.593970666Z","published":"2025-07-25T13:09:25.822Z","related":["SUSE-SU-2025:02853-1","SUSE-SU-2025:02923-1","SUSE-SU-2025:02969-1","SUSE-SU-2025:02996-1","SUSE-SU-2025:02997-1","SUSE-SU-2025:03011-1","SUSE-SU-2025:03023-1","SUSE-SU-2025:20577-1","SUSE-SU-2025:20586-1","SUSE-SU-2025:20601-1","SUSE-SU-2025:20602-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","openSUSE-SU-2025:20081-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38404.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/099cf1fbb8afc3771f408109f62bdec66f85160e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/63cff9f57e86b2dc25d7487ca0118df89a665296"},{"type":"WEB","url":"https://git.kernel.org/stable/c/749d9076735fb497aae60fbea9fff563f9ea3254"},{"type":"WEB","url":"https://git.kernel.org/stable/c/76cf1f33e7319fe74c94ac92f9814094ee8cc84b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7be0d1ea71f52595499da39cea484a895e8ed042"},{"type":"WEB","url":"https://git.kernel.org/stable/c/80c25d7916a44715338d4f8924c8e52af50d0b9f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c782f98eef14197affa8a7b91e6981420f109ea9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eb08fca56f1f39e4038cb9bac9864464b13b00aa"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38404.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38404"},{"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":"e0359c66c1beccbe90119a63391678eabda38007"},{"fixed":"749d9076735fb497aae60fbea9fff563f9ea3254"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e3fb6c2c3939b4aad203cacdd613a62ce1fd032c"},{"fixed":"eb08fca56f1f39e4038cb9bac9864464b13b00aa"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"56846793f105cf2b39ecbde4f3ae86342091f6fc"},{"fixed":"7be0d1ea71f52595499da39cea484a895e8ed042"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8e8a69b1f8c59f0505f8a1c0fb77191f27b75011"},{"fixed":"76cf1f33e7319fe74c94ac92f9814094ee8cc84b"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8851e40587013db00b71d4aeaae30f5fd59b0eec"},{"fixed":"63cff9f57e86b2dc25d7487ca0118df89a665296"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"10cc2cfd3e5d0e0ec7590c4bee8bcea10e5492c4"},{"fixed":"c782f98eef14197affa8a7b91e6981420f109ea9"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8f6a4fa7b663468bb304cb885b93326e025ae005"},{"fixed":"80c25d7916a44715338d4f8924c8e52af50d0b9f"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b4b38ffb38c91afd4dc387608db26f6fc34ed40b"},{"fixed":"099cf1fbb8afc3771f408109f62bdec66f85160e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38404.json"}}],"schema_version":"1.7.5"}