PCI: endpoint: pci-epf-ntb: Remove duplicate resource teardown
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 8b821cf761503b80d0bd052f932adfe1bc1a0088 · < e813c95e4c8edd31599081e6356e20ada30e266d| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
PCI: endpoint: pci-epf-ntb: Remove duplicate resource teardown
epf_ntb_epc_destroy() duplicates the teardown that the caller is supposed to do later. This leads to an oops when .allow_link fails or when .drop_link is performed. Remove the helper.
Also drop pci_epc_put(). EPC device refcounting is tied to configfs EPC group lifetime, and pci_epc_put() in the .drop_link path is sufficient.
From the CVE record · Linux
The Linux kernel's pci-epf-ntb component duplicates resource teardown. This can cause a kernel oops when .allow_link fails or .drop_link is performed; the input does not establish an attacker path or authentication requirements.
Engineers running Linux kernels with the pci-epf-ntb component should check their versions; affected versions were not provided.