Database/Kernel, userspace & hypervisor
Linux kernel (drivers/pci/endpoint/functions): The endpoint test function releases DMA channels it may never have
Impact
The endpoint test function releases DMA channels it may never have acquired, dereferencing NULL inside the DMA core. The dereference happens in an interrupt thread on the endpoint machine and panics it, so the card or DPU drops off the link entirely.
Who can reach it
Endpoint mode required, and the trigger comes from across the link: the upstream panic runs from tegra_pcie_ep_pex_rst_irq, the interrupt raised when the connected HOST asserts PERST#. Any host reset or reboot therefore reaches this path with no authentication of any kind. Inert on a conventional GPU server, live on hardware running Linux as a PCIe endpoint whose host side is not under your control.
What to do
Update to a kernel carrying the fix (no fixed_in published; stable commits below). Interim: unbind the pci-epf-test function driver - it is a test function and should not be bound in production endpoint configurations at all.
References
Related entries
- Linux kernel (drivers/pci/endpoint/functions): The NTB endpoint function drivers never checked whether their workqueueCVE-2025-71313 · Linux kernel (drivers/pci/endpoint/functions)Medium
- Linux kernel (drivers/pci/endpoint/functions): When BAR allocation fails, the endpoint test function frees the backingCVE-2025-38069 · Linux kernel (drivers/pci/endpoint/functions)Medium
- Linux kernel (drivers/pci/pcie): AER's rate limiter dereferences per-device error state without checking it exists.CVE-2025-40034 · Linux kernel (drivers/pci/pcie)Medium
- Linux kernel (drivers/iommu/iommufd): A user-supplied page shift of 63 overflows the divisor in the iommufdCVE-2025-40293 · Linux kernel (drivers/iommu/iommufd)Medium
- Linux kernel (drivers/pci/pcie): The AER subsystem allocates its per-device error-tracking structure without checkingCVE-2025-68309 · Linux kernel (drivers/pci/pcie)Medium
- Linux kernel (drivers/pci/endpoint): Endpoint function sub-groups were created asynchronously by a delayed work itemCVE-2025-71233 · Linux kernel (drivers/pci/endpoint)Medium
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.