CVE & CISA-KEV Catalog

CVE-2025-38268

MEDIUM
5.5
CVSS v3
NVD

Description

In the Linux kernel, the following vulnerability has been resolved: usb: typec: tcpm: move tcpm_queue_vdm_unlocked to asynchronous work A state check was previously added to tcpm_queue_vdm_unlocked to prevent a deadlock where the DisplayPort Alt Mode driver would be executing work and attempting to grab the tcpm_lock while the TCPM was holding the lock and attempting to unregister the altmode, blocking on the altmode driver's cancel_work_sync call. Because the state check isn't protected, there is a small window where the Alt Mode driver could determine that the TCPM is in a ready state and attempt to grab the lock while the TCPM grabs the lock and changes the TCPM state to one that causes the deadlock. The callstack is provided below: [110121.667392][ C7] Call trace: [110121.667396][ C7] __switch_to+0x174/0x338 [110121.667406][ C7] __schedule+0x608/0x9f0 [110121.667414][ C7] schedule+0x7c/0xe8 [110121.667423][ C7] kernfs_drain+0xb0/0x114 [110121.667431][ C7] __kernfs_remove+0x16c/0x20c [110121.667436][ C7] kernfs_remove_by_name_ns+0x74/0xe8 [110121.667442][ C7] sysfs_remove_group+0x84/0xe8 [110121.667450][ C7] sysfs_remove_groups+0x34/0x58 [110121.667458][ C7] device_remove_groups+0x10/0x20 [110121.667464][ C7] device_release_driver_internal+0x164/0x2e4 [110121.667475][ C7] device_release_driver+0x18/0x28 [110121.667484][ C7] bus_remove_device+0xec/0x118 [110121.667491][ C7] device_del+0x1e8/0x4ac [110121.667498][ C7] device_unregister+0x18/0x38 [110121.667504][ C7] typec_unregister_altmode+0x30/0x44 [110121.667515][ C7] tcpm_reset_port+0xac/0x370 [110121.667523][ C7] tcpm_snk_detach+0x84/0xb8 [110121.667529][ C7] run_state_machine+0x4c0/0x1b68 [110121.667536][ C7] tcpm_state_machine_work+0x94/0xe4 [110121.667544][ C7] kthread_worker_fn+0x10c/0x244 [110121.667552][ C7] kthread+0x104/0x1d4 [110121.667557][ C7] ret_from_fork+0x10/0x20 [110121.667689][ C7] Workqueue: events dp_altmode_work [110121.667697][ C7] Call trace: [110121.667701][ C7] __switch_to+0x174/0x338 [110121.667710][ C7] __schedule+0x608/0x9f0 [110121.667717][ C7] schedule+0x7c/0xe8 [110121.667725][ C7] schedule_preempt_disabled+0x24/0x40 [110121.667733][ C7] __mutex_lock+0x408/0xdac [110121.667741][ C7] __mutex_lock_slowpath+0x14/0x24 [110121.667748][ C7] mutex_lock+0x40/0xec [110121.667757][ C7] tcpm_altmode_enter+0x78/0xb4 [110121.667764][ C7] typec_altmode_enter+0xdc/0x10c [110121.667769][ C7] dp_altmode_work+0x68/0x164 [110121.667775][ C7] process_one_work+0x1e4/0x43c [110121.667783][ C7] worker_thread+0x25c/0x430 [110121.667789][ C7] kthread+0x104/0x1d4 [110121.667794][ C7] ret_from_fork+0x10/0x20 Change tcpm_queue_vdm_unlocked to queue for tcpm_queue_vdm_work, which can perform the state check while holding the TCPM lock while the Alt Mode lock is no longer held. This requires a new struct to hold the vdm data, altmode_vdm_event.

How to fix

Remediation Available
linuxDebian
Fixed in:6.12.35-1CVE-2025-38268
Fixed in:6.12.35-1CVE-2025-38268
linux-aws-6.14Ubuntu
Fixed in:6.14.0-1013.13~24.04.1USN-7769-3
linux-gcp-6.14Ubuntu
Fixed in:6.14.0-1016.17~24.04.1USN-7769-1
linux-hwe-6.14Ubuntu
Fixed in:6.14.0-32.32~24.04.1USN-7769-3
linux-image-6.14.0-1012-oemUbuntu
Fixed in:6.14.0-1012.12USN-7771-1
linux-image-6.14.0-1012-realtimeUbuntu
Fixed in:6.14.0-1012.12~24.04.1USN-7769-2
linux-image-6.14.0-1013-awsUbuntu
Fixed in:6.14.0-1013.13~24.04.1USN-7769-3
linux-image-6.14.0-1013-aws-64kUbuntu
Fixed in:6.14.0-1013.13~24.04.1USN-7769-3
linux-image-6.14.0-1013-oracleUbuntu
Fixed in:6.14.0-1013.13~24.04.1USN-7789-1
linux-image-6.14.0-1013-oracle-64kUbuntu
Fixed in:6.14.0-1013.13~24.04.1USN-7789-1
linux-image-6.14.0-1016-gcpUbuntu
Fixed in:6.14.0-1016.17~24.04.1USN-7769-1
linux-image-6.14.0-1016-gcp-64kUbuntu
Fixed in:6.14.0-1016.17~24.04.1USN-7769-1
linux-image-6.14.0-32-genericUbuntu
Fixed in:6.14.0-32.32~24.04.1USN-7769-3
linux-image-6.14.0-32-generic-64kUbuntu
Fixed in:6.14.0-32.32~24.04.1USN-7769-3
linux-image-awsUbuntu
Fixed in:6.14.0-1013.13~24.04.1USN-7769-3
linux-image-aws-6.14Ubuntu
Fixed in:6.14.0-1013.13~24.04.1USN-7769-3
linux-image-aws-64kUbuntu
Fixed in:6.14.0-1013.13~24.04.1USN-7769-3
linux-image-aws-64k-6.14Ubuntu
Fixed in:6.14.0-1013.13~24.04.1USN-7769-3
linux-image-gcpUbuntu
Fixed in:6.14.0-1016.17~24.04.1USN-7769-1
linux-image-gcp-6.14Ubuntu
Fixed in:6.14.0-1016.17~24.04.1USN-7769-1
linux-image-gcp-64kUbuntu
Fixed in:6.14.0-1016.17~24.04.1USN-7769-1
linux-image-gcp-64k-6.14Ubuntu
Fixed in:6.14.0-1016.17~24.04.1USN-7769-1
linux-image-generic-6.14Ubuntu
Fixed in:6.14.0-32.32~24.04.1USN-7769-3
linux-image-generic-64k-6.14Ubuntu
Fixed in:6.14.0-32.32~24.04.1USN-7769-3
linux-image-generic-64k-hwe-24.04Ubuntu
Fixed in:6.14.0-32.32~24.04.1USN-7769-3
linux-image-generic-hwe-24.04Ubuntu
Fixed in:6.14.0-32.32~24.04.1USN-7769-3
linux-image-oem-24.04Ubuntu
Fixed in:6.14.0-1012.12USN-7771-1
linux-image-oem-24.04aUbuntu
Fixed in:6.14.0-1012.12USN-7771-1
linux-image-oem-24.04bUbuntu
Fixed in:6.14.0-1012.12USN-7771-1
linux-image-oem-24.04cUbuntu
Fixed in:6.14.0-1012.12USN-7771-1
linux-image-oem-6.14Ubuntu
Fixed in:6.14.0-1012.12USN-7771-1
linux-image-oracleUbuntu
Fixed in:6.14.0-1013.13~24.04.1USN-7789-1
linux-image-oracle-6.14Ubuntu
Fixed in:6.14.0-1013.13~24.04.1USN-7789-1
linux-image-oracle-64kUbuntu
Fixed in:6.14.0-1013.13~24.04.1USN-7789-1
linux-image-oracle-64k-6.14Ubuntu
Fixed in:6.14.0-1013.13~24.04.1USN-7789-1
linux-image-realtime-6.14Ubuntu
Fixed in:6.14.0-1012.12~24.04.1USN-7769-2
linux-image-realtime-hwe-24.04Ubuntu
Fixed in:6.14.0-1012.12~24.04.1USN-7769-2
linux-image-virtual-6.14Ubuntu
Fixed in:6.14.0-32.32~24.04.1USN-7769-3
linux-image-virtual-hwe-24.04Ubuntu
Fixed in:6.14.0-32.32~24.04.1USN-7769-3
linux-oem-6.14Ubuntu
Fixed in:6.14.0-1012.12USN-7771-1
linux-oracle-6.14Ubuntu
Fixed in:6.14.0-1013.13~24.04.1USN-7789-1
linux-realtime-6.14Ubuntu
Fixed in:6.14.0-1012.12~24.04.1USN-7769-2

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.12%probability of exploitation in 30 days
2ndpercentile

Low risk: more likely to be exploited than 2% of all known CVEs.

References

Related Vulnerabilities

Other CWE-667 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2019-10072High7.573%-Fix
CVE-2002-1850High7.517%-Fix
CVE-2009-2699High7.514%-Fix
CVE-2004-0174High7.512%--
CVE-2009-4272High7.511%--
CVE-2020-24606High8.65.2%-Fix
Embed a live status badge for CVE-2025-38268
CVE-2025-38268 severity badge

Markdown

[![CVE-2025-38268](https://tridentstack.com/cve/badge/CVE-2025-38268.svg)](https://tridentstack.com/cve/CVE-2025-38268)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-38268"><img src="https://tridentstack.com/cve/badge/CVE-2025-38268.svg" alt="CVE-2025-38268"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-20.