PCI: endpoint: pci-epf-vntb: Stop cmd_handler work in epf_ntb_epc_cleanup
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e35f56bb03304abc92c928b641af41ca372966bb · < fbb6c353fa2fb5f5f990eda034a1074b0356127e| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
PCI: endpoint: pci-epf-vntb: Stop cmd_handler work in epf_ntb_epc_cleanup
Disable the delayed work before clearing BAR mappings and doorbells to avoid running the handler after resources have been torn down.
Unable to handle kernel paging request at virtual address ffff800083f46004 [...] Internal error: Oops: 0000000096000007 [#1] SMP [...] Call trace: epf_ntb_cmd_handler+0x54/0x200 [pci_epf_vntb] (P) process_one_work+0x154/0x3b0 worker_thread+0x2c8/0x400 kthread+0x148/0x210 ret_from_fork+0x10/0x20
From the CVE record · Linux
The Linux kernel's pci-epf-vntb command handler can run after endpoint cleanup has cleared BAR mappings and doorbells, causing a kernel oops. The input does not establish whether an attacker can trigger this condition or what access or interaction it would require.
Engineers running Linux kernels that use the pci-epf-vntb PCI endpoint component should check their installations; affected versions were not provided.