CVE-2026-43097
publishedPCI: hv: Fix double ida_free in hv_pci_probe error path
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxbcce8c74f1ce1e2731ac0261287897e3768767d8 to < 21bc8e0ba5c2a081b0a2808c976d4c9dbddf1e48 · bcce8c74f1ce1e2731ac0261287897e3768767d8 to < b6422dff0e518245019233432b6bccfc30b73e2f · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.19 (affected) · 0 to < 6.19 (unaffected · semver) · 6.19.14 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: PCI: hv: Fix double ida_free in hv_pci_probe error path If hv_pci_probe() fails after storing the domain number in hbus->bridge->domain_nr, there is a call to free this domain_nr via pci_bus_release_emul_domain_nr(), however, during cleanup, the bridge release callback pci_release_host_bridge_dev() also frees the domain_nr causing ida_free to be called on same ID twice and triggering following warning: ida_free called for id=28971 which is not allocated. WARNING: lib/idr.c:594 at ida_free+0xdf/0x160, CPU#0: kworker/0:2/198 Call Trace: pci_bus_release_emul_domain_nr+0x17/0x20 pci_release_host_bridge_dev+0x4b/0x60 device_release+0x3b/0xa0 kobject_put+0x8e/0x220 devm_pci_alloc_host_bridge_release+0xe/0x20 devres_release_all+0x9a/0xd0 device_unbind_cleanup+0x12/0xa0 really_probe+0x1c5/0x3f0 vmbus_add_channel_work+0x135/0x1a0 Fix this by letting pci core handle the free domain_nr and remove the explicit free called in pci-hyperv driver.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | bcce8c74f1ce1e2731ac0261287897e3768767d8 to < 21bc8e0ba5c2a081b0a2808c976d4c9dbddf1e48 (affected · git)bcce8c74f1ce1e2731ac0261287897e3768767d8 to < b6422dff0e518245019233432b6bccfc30b73e2f (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.19 (affected)0 to < 6.19 (unaffected · semver)6.19.14 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
PCI: hv: Fix double ida_free in hv_pci_probe error path
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b93d623606b663fd1dce318dea28ed05167bc82c1e9ca865f03abe72a8c57173
- Ingested
- 23 Sep 2026, 09:14:39 UTC
- Source record
- Official CVE record