# CVE-2026-43097: PCI: hv: Fix double ida\_free in hv\_pci\_probe error path

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 3, 2026-11-26)
- **CWE:** CWE-415
- **Published:** 2026-05-06T07:40:28.157Z
- **Modified:** 2026-11-11T21:10:00.200Z

## Who should check

- Anyone running Linux \>= bcce8c74f1ce1e2731ac0261287897e3768767d8, \< 21bc8e0ba5c2a081b0a2808c976d4c9dbddf1e48; \>= bcce8c74f1ce1e2731ac0261287897e3768767d8, \< b6422dff0e518245019233432b6bccfc30b73e2f
- Anyone running Linux 6.19

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

## Affected and fixed versions

- Linux: \>= bcce8c74f1ce1e2731ac0261287897e3768767d8, \< 21bc8e0ba5c2a081b0a2808c976d4c9dbddf1e48; \>= bcce8c74f1ce1e2731ac0261287897e3768767d8, \< b6422dff0e518245019233432b6bccfc30b73e2f (cvelist)
- Linux: 6.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-43097. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-43097.md
Affected: Linux >= bcce8c74f1ce1e2731ac0261287897e3768767d8, < 21bc8e0ba5c2a081b0a2808c976d4c9dbddf1e48; >= bcce8c74f1ce1e2731ac0261287897e3768767d8, < b6422dff0e518245019233432b6bccfc30b73e2f; Linux 6.19
Fixed in: Linux 21bc8e0ba5c2a081b0a2808c976d4c9dbddf1e48

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-43097 being exploited?

There is no confirmed exploitation: CVE-2026-43097 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-43097?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-43097?

Linux \>= bcce8c74f1ce1e2731ac0261287897e3768767d8, \< 21bc8e0ba5c2a081b0a2808c976d4c9dbddf1e48; \>= bcce8c74f1ce1e2731ac0261287897e3768767d8, \< b6422dff0e518245019233432b6bccfc30b73e2f; Linux 6.19.

### Is there a fix for CVE-2026-43097?

Yes. Fixed in Linux 21bc8e0ba5c2a081b0a2808c976d4c9dbddf1e48. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-43097?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-43097>

HTML: <https://flawdb.com/CVE-2026-43097> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-43097>
