Use of freed HopID IDAs after router removal in Thunderbolt
Linux Linux
At a glance
In the Linux kernel, the following vulnerability has been resolved: thunderbolt: Hold a router reference for each allocated HopID tb_stop() drops the reference to all DP tunnels but does not deactivate them, thus nothing cancels a dprx_work still in flight (which holds its own tunnel reference) and the tunnel can outlive tb_switch_remove(). The HopID releases in tb_path_free() then operate on freed IDAs and trigger warnings like ida_free called for id=8 which is not allocated. This can be triggered by unbinding the driver while a DP tunnel is still waiting for the DPRX capabilities read to finish. On the Apple NHI unplugging the cable runs into just that reliably because the read can never finish right now and because the unplug powers down the entire USB4 complex and removes the NHI device. Take a router reference whenever an input or output HopID is allocated and drop it again after the HopID is released. This keeps the ports and their HopID IDAs alive for as long as they are used. The KUnit tests allocate routers without ever registering their devices so initialize the embedded struct device there as well and drop its initial reference when the test is finished.
Source description · CVE List / CNA
System impact
CVSS summary v4.0
- Published:
- Updated:
- EPSS:
- 0.198%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Physical
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:Linux | Linux | Affected versions:6.14Show full version range for Linux
Git commit ranges (source code)
|
| Vendor:redhat | kernelEnvironments (1)
| Affected versions:Range not specifiedShow full version range for kernel
|
| Vendor:redhat | bpftoolEnvironments (1)
| Affected versions:Range not specifiedShow full version range for bpftool
|
| Vendor:redhat | kernelEnvironments (1)
| Affected versions:Range not specifiedShow full version range for kernel
|
| Vendor:redhat | kernel-64kEnvironments (1)
| Affected versions:Range not specifiedShow full version range for kernel-64k
|
| Vendor:redhat | kernel-64k-coreEnvironments (1)
| Affected versions:Range not specifiedShow full version range for kernel-64k-core
|
| Vendor:redhat | kernel-64k-debugEnvironments (1)
| Affected versions:Range not specifiedShow full version range for kernel-64k-debug
|
| Vendor:redhat | kernel-64k-debug-coreEnvironments (1)
| Affected versions:Range not specifiedShow full version range for kernel-64k-debug-core
|
| Vendor:redhat | kernel-64k-debug-develEnvironments (1)
| Affected versions:Range not specifiedShow full version range for kernel-64k-debug-devel
|
| Vendor:redhat | kernel-64k-debug-devel-matchedEnvironments (1)
| Affected versions:Range not specifiedShow full version range for kernel-64k-debug-devel-matched
|
1–10 of 224 · Page 1 of 23
CVSS scores and metrics4
canonical · Wazuh CTI (adp)Primary5.2 / 10MediumCVSS 4.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- Low
- Availability
- High
- Attack vector
- Physical
- Privileges required
- Not required
- User interaction
- Not required
- Attack requirements
- None
- Subsequent confidentiality
- None
- Subsequent integrity
- None
- Subsequent availability
- None
Source vector
CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:Nredhat · Wazuh CTI (adp)4.1 / 10MediumCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Attack vector
- Local
- Privileges required
- High
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:Hsuse · Wazuh CTI (adp)2.5 / 10LowCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:LRed Hat · Red Hat VEX (adp)4.1 / 10MediumCVSS 3.1Details
- Attack complexity
- High
- Confidentiality
- None
- Integrity
- None
- Availability
- High
- Attack vector
- Local
- Privileges required
- High
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:HCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences