CVE-2026-31594

MEDIUM

PCI: endpoint: pci-epf-vntb: Remove duplicate resource teardown

Title source: cna
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: PCI: endpoint: pci-epf-vntb: Remove duplicate resource teardown epf_ntb_epc_destroy() duplicates the teardown that the caller is supposed to perform later. This leads to an oops when .allow_link fails or when .drop_link is performed. The following is an example oops of the former case: Unable to handle kernel paging request at virtual address dead000000000108 [...] [dead000000000108] address between user and kernel address ranges Internal error: Oops: 0000000096000044 [#1] SMP [...] Call trace: pci_epc_remove_epf+0x78/0xe0 (P) pci_primary_epc_epf_link+0x88/0xa8 configfs_symlink+0x1f4/0x5a0 vfs_symlink+0x134/0x1d8 do_symlinkat+0x88/0x138 __arm64_sys_symlinkat+0x74/0xe0 [...] Remove the helper, and drop pci_epc_put(). EPC device refcounting is tied to the configfs EPC group lifetime, and pci_epc_put() in the .drop_link path is sufficient.

Scores

CVSS v3 5.5
EPSS 0.0012
EPSS Percentile 2.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (33)
linux/Kernel < 5.15.209linux
linux/Kernel 5.16.0 - 6.1.175linux
linux/Kernel 6.0.0 - 6.6.136linux
linux/Kernel 6.13.0 - 6.19.14linux
linux/Kernel 6.19.0 - 7.0.1linux
linux/Kernel 6.2.0 - 6.12.84linux
linux/Kernel 6.7.0 - 6.18.24linux
Linux/Linux < 6.0
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - 478e776101592eb63298714e96823ef78a3295ec
Linux/Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 - a7a3cab4d33fd8a8aed864c447d0d7c99e85404e
... and 23 more
Published Apr 24, 2026
Tracked Since Apr 24, 2026