{"id":"CVE-2025-38404","state":"PUBLISHED","title":"usb: typec: displayport: Fix potential deadlock","description":"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() -> dp_altmode_vdm() ->\n3. typec_altmode_exit() -> 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.","publishedAt":"2025-07-25T13:09:25.822Z","updatedAt":"2026-05-11T21:27:19.855Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e0359c66c1beccbe90119a63391678eabda38007","status":"affected","lessThan":"749d9076735fb497aae60fbea9fff563f9ea3254","versionType":"git"},{"version":"e3fb6c2c3939b4aad203cacdd613a62ce1fd032c","status":"affected","lessThan":"eb08fca56f1f39e4038cb9bac9864464b13b00aa","versionType":"git"},{"version":"56846793f105cf2b39ecbde4f3ae86342091f6fc","status":"affected","lessThan":"7be0d1ea71f52595499da39cea484a895e8ed042","versionType":"git"},{"version":"8e8a69b1f8c59f0505f8a1c0fb77191f27b75011","status":"affected","lessThan":"76cf1f33e7319fe74c94ac92f9814094ee8cc84b","versionType":"git"},{"version":"8851e40587013db00b71d4aeaae30f5fd59b0eec","status":"affected","lessThan":"63cff9f57e86b2dc25d7487ca0118df89a665296","versionType":"git"},{"version":"10cc2cfd3e5d0e0ec7590c4bee8bcea10e5492c4","status":"affected","lessThan":"c782f98eef14197affa8a7b91e6981420f109ea9","versionType":"git"},{"version":"8f6a4fa7b663468bb304cb885b93326e025ae005","status":"affected","lessThan":"80c25d7916a44715338d4f8924c8e52af50d0b9f","versionType":"git"},{"version":"b4b38ffb38c91afd4dc387608db26f6fc34ed40b","status":"affected","lessThan":"099cf1fbb8afc3771f408109f62bdec66f85160e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/typec/altmodes/displayport.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6.1.143","status":"affected","lessThan":"6.1.144","versionType":"semver"},{"version":"6.6.96","status":"affected","lessThan":"6.6.97","versionType":"semver"},{"version":"6.12.36","status":"affected","lessThan":"6.12.37","versionType":"semver"},{"version":"6.15.5","status":"affected","lessThan":"6.15.6","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/typec/altmodes/displayport.c"]}],"references":["https://git.kernel.org/stable/c/749d9076735fb497aae60fbea9fff563f9ea3254","https://git.kernel.org/stable/c/eb08fca56f1f39e4038cb9bac9864464b13b00aa","https://git.kernel.org/stable/c/7be0d1ea71f52595499da39cea484a895e8ed042","https://git.kernel.org/stable/c/76cf1f33e7319fe74c94ac92f9814094ee8cc84b","https://git.kernel.org/stable/c/63cff9f57e86b2dc25d7487ca0118df89a665296","https://git.kernel.org/stable/c/c782f98eef14197affa8a7b91e6981420f109ea9","https://git.kernel.org/stable/c/80c25d7916a44715338d4f8924c8e52af50d0b9f","https://git.kernel.org/stable/c/099cf1fbb8afc3771f408109f62bdec66f85160e","https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/38xxx/CVE-2025-38404.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-38404","state":"PUBLISHED","datePublished":"2025-07-25T13:09:25.822Z","dateUpdated":"2026-05-11T21:27:19.855Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T04:51:24.012Z"},"containers":{"cna":{"title":"usb: typec: displayport: Fix potential deadlock","descriptions":[{"lang":"en","value":"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() -> dp_altmode_vdm() ->\n3. typec_altmode_exit() -> 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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e0359c66c1beccbe90119a63391678eabda38007","status":"affected","lessThan":"749d9076735fb497aae60fbea9fff563f9ea3254","versionType":"git"},{"version":"e3fb6c2c3939b4aad203cacdd613a62ce1fd032c","status":"affected","lessThan":"eb08fca56f1f39e4038cb9bac9864464b13b00aa","versionType":"git"},{"version":"56846793f105cf2b39ecbde4f3ae86342091f6fc","status":"affected","lessThan":"7be0d1ea71f52595499da39cea484a895e8ed042","versionType":"git"},{"version":"8e8a69b1f8c59f0505f8a1c0fb77191f27b75011","status":"affected","lessThan":"76cf1f33e7319fe74c94ac92f9814094ee8cc84b","versionType":"git"},{"version":"8851e40587013db00b71d4aeaae30f5fd59b0eec","status":"affected","lessThan":"63cff9f57e86b2dc25d7487ca0118df89a665296","versionType":"git"},{"version":"10cc2cfd3e5d0e0ec7590c4bee8bcea10e5492c4","status":"affected","lessThan":"c782f98eef14197affa8a7b91e6981420f109ea9","versionType":"git"},{"version":"8f6a4fa7b663468bb304cb885b93326e025ae005","status":"affected","lessThan":"80c25d7916a44715338d4f8924c8e52af50d0b9f","versionType":"git"},{"version":"b4b38ffb38c91afd4dc387608db26f6fc34ed40b","status":"affected","lessThan":"099cf1fbb8afc3771f408109f62bdec66f85160e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/typec/altmodes/displayport.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6.1.143","status":"affected","lessThan":"6.1.144","versionType":"semver"},{"version":"6.6.96","status":"affected","lessThan":"6.6.97","versionType":"semver"},{"version":"6.12.36","status":"affected","lessThan":"6.12.37","versionType":"semver"},{"version":"6.15.5","status":"affected","lessThan":"6.15.6","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/typec/altmodes/displayport.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/749d9076735fb497aae60fbea9fff563f9ea3254"},{"url":"https://git.kernel.org/stable/c/eb08fca56f1f39e4038cb9bac9864464b13b00aa"},{"url":"https://git.kernel.org/stable/c/7be0d1ea71f52595499da39cea484a895e8ed042"},{"url":"https://git.kernel.org/stable/c/76cf1f33e7319fe74c94ac92f9814094ee8cc84b"},{"url":"https://git.kernel.org/stable/c/63cff9f57e86b2dc25d7487ca0118df89a665296"},{"url":"https://git.kernel.org/stable/c/c782f98eef14197affa8a7b91e6981420f109ea9"},{"url":"https://git.kernel.org/stable/c/80c25d7916a44715338d4f8924c8e52af50d0b9f"},{"url":"https://git.kernel.org/stable/c/099cf1fbb8afc3771f408109f62bdec66f85160e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:27:19.855Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.143","versionEndExcluding":"6.1.144"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.96","versionEndExcluding":"6.6.97"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.36","versionEndExcluding":"6.12.37"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15.5","versionEndExcluding":"6.15.6"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T17:37:39.276Z"}}]}}}