CVE-2025-38404 (GCVE-0-2025-38404)
Vulnerability from cvelistv5
Published
2025-07-25 13:09
Modified
2025-07-28 04:21
Severity ?
VLAI Severity ?
EPSS score ?
Summary
In the Linux kernel, the following vulnerability has been resolved:
usb: typec: displayport: Fix potential deadlock
The deadlock can occur due to a recursive lock acquisition of
`cros_typec_altmode_data::mutex`.
The call chain is as follows:
1. cros_typec_altmode_work() acquires the mutex
2. typec_altmode_vdm() -> dp_altmode_vdm() ->
3. typec_altmode_exit() -> cros_typec_altmode_exit()
4. cros_typec_altmode_exit() attempts to acquire the mutex again
To prevent this, defer the `typec_altmode_exit()` call by scheduling
it rather than calling it directly from within the mutex-protected
context.
References
Impacted products
Vendor | Product | Version | ||
---|---|---|---|---|
► | Linux | Linux |
Version: e0359c66c1beccbe90119a63391678eabda38007 Version: e3fb6c2c3939b4aad203cacdd613a62ce1fd032c Version: 56846793f105cf2b39ecbde4f3ae86342091f6fc Version: 8e8a69b1f8c59f0505f8a1c0fb77191f27b75011 Version: 8851e40587013db00b71d4aeaae30f5fd59b0eec Version: 10cc2cfd3e5d0e0ec7590c4bee8bcea10e5492c4 Version: 8f6a4fa7b663468bb304cb885b93326e025ae005 Version: b4b38ffb38c91afd4dc387608db26f6fc34ed40b |
|
{ "containers": { "cna": { "affected": [ { "defaultStatus": "unaffected", "product": "Linux", "programFiles": [ "drivers/usb/typec/altmodes/displayport.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "lessThan": "749d9076735fb497aae60fbea9fff563f9ea3254", "status": "affected", "version": "e0359c66c1beccbe90119a63391678eabda38007", "versionType": "git" }, { "lessThan": "eb08fca56f1f39e4038cb9bac9864464b13b00aa", "status": "affected", "version": "e3fb6c2c3939b4aad203cacdd613a62ce1fd032c", "versionType": "git" }, { "lessThan": "7be0d1ea71f52595499da39cea484a895e8ed042", "status": "affected", "version": "56846793f105cf2b39ecbde4f3ae86342091f6fc", "versionType": "git" }, { "lessThan": "76cf1f33e7319fe74c94ac92f9814094ee8cc84b", "status": "affected", "version": "8e8a69b1f8c59f0505f8a1c0fb77191f27b75011", "versionType": "git" }, { "lessThan": "63cff9f57e86b2dc25d7487ca0118df89a665296", "status": "affected", "version": "8851e40587013db00b71d4aeaae30f5fd59b0eec", "versionType": "git" }, { "lessThan": "c782f98eef14197affa8a7b91e6981420f109ea9", "status": "affected", "version": "10cc2cfd3e5d0e0ec7590c4bee8bcea10e5492c4", "versionType": "git" }, { "lessThan": "80c25d7916a44715338d4f8924c8e52af50d0b9f", "status": "affected", "version": "8f6a4fa7b663468bb304cb885b93326e025ae005", "versionType": "git" }, { "lessThan": "099cf1fbb8afc3771f408109f62bdec66f85160e", "status": "affected", "version": "b4b38ffb38c91afd4dc387608db26f6fc34ed40b", "versionType": "git" } ] }, { "defaultStatus": "unaffected", "product": "Linux", "programFiles": [ "drivers/usb/typec/altmodes/displayport.c" ], "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "vendor": "Linux", "versions": [ { "lessThan": "6.1.144", "status": "affected", "version": "6.1.143", "versionType": "semver" }, { "lessThan": "6.6.97", "status": "affected", "version": "6.6.96", "versionType": "semver" }, { "lessThan": "6.12.37", "status": "affected", "version": "6.12.36", "versionType": "semver" }, { "lessThan": "6.15.6", "status": "affected", "version": "6.15.5", "versionType": "semver" } ] } ], "cpeApplicability": [ { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.1.144", "versionStartIncluding": "6.1.143", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.6.97", "versionStartIncluding": "6.6.96", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.12.37", "versionStartIncluding": "6.12.36", "vulnerable": true }, { "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.15.6", "versionStartIncluding": "6.15.5", "vulnerable": true } ], "negate": false, "operator": "OR" } ] } ], "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() -\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." } ], "providerMetadata": { "dateUpdated": "2025-07-28T04:21:13.683Z", "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux" }, "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" } ], "title": "usb: typec: displayport: Fix potential deadlock", "x_generator": { "engine": "bippy-1.2.0" } } }, "cveMetadata": { "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "assignerShortName": "Linux", "cveId": "CVE-2025-38404", "datePublished": "2025-07-25T13:09:25.822Z", "dateReserved": "2025-04-16T04:51:24.012Z", "dateUpdated": "2025-07-28T04:21:13.683Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "vulnerability-lookup:meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2025-38404\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-07-25T14:15:31.950\",\"lastModified\":\"2025-07-25T15:29:19.837\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"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() -\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.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/099cf1fbb8afc3771f408109f62bdec66f85160e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/63cff9f57e86b2dc25d7487ca0118df89a665296\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/749d9076735fb497aae60fbea9fff563f9ea3254\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/76cf1f33e7319fe74c94ac92f9814094ee8cc84b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7be0d1ea71f52595499da39cea484a895e8ed042\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/80c25d7916a44715338d4f8924c8e52af50d0b9f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c782f98eef14197affa8a7b91e6981420f109ea9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/eb08fca56f1f39e4038cb9bac9864464b13b00aa\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}" } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…