# CVE-2026-43097: PCI: hv: Fix double ida_free in hv_pci_probe error path

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-05-06T07:40:28.157Z
- Modified: 2026-11-11T21:10:00.200Z
- Weaknesses: CWE-415
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from bcce8c74f1ce1e2731ac0261287897e3768767d8 before 21bc8e0ba5c2a081b0a2808c976d4c9dbddf1e48; from bcce8c74f1ce1e2731ac0261287897e3768767d8 before b6422dff0e518245019233432b6bccfc30b73e2f; 6.19 (not affected: before 6.19; from 6.19.14 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.19 before 6.19.14; 7.0

## References

- <https://git.kernel.org/stable/c/21bc8e0ba5c2a081b0a2808c976d4c9dbddf1e48> (patch)
- <https://git.kernel.org/stable/c/b6422dff0e518245019233432b6bccfc30b73e2f> (patch)

## Sources

- CVE List: [CVE-2026-43097](https://www.cve.org/CVERecord?id=CVE-2026-43097), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-43097](https://nvd.nist.gov/vuln/detail/CVE-2026-43097), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43097 · Whole record: https://cve.day/CVE-2026-43097.json · Rebuilt by cve.day 2026-11-25T22:59:20.672Z
