net: mana: Use pci_name() for debugfs directory naming
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel c116f07ab9d22bb6f355f3cf9e44c1e6a47fe559, Kernel 7.0.10, Kernel 9211eb97e8f8c28bf9313ab97862d143dbbbef97 and 2 more.
In the Linux kernel, the following vulnerability has been resolved: net: mana: Use pci_name() for debugfs directory naming Use pci_name(pdev) for the per-device debugfs directory instead of hardcoded "0" for PFs and pci_slot_name(pdev->slot) for VFs. The previous approach had two issues: 1. pci_slot_name() dereferences pdev->slot, which can be NULL for VFs in environments like generic VFIO passthrough or nested KVM, causing a NULL pointer dereference. 2. Multiple PFs would all use "0", and VFs across different PCI domains or buses could share the same slot name, leading to -EEXIST errors from debugfs_create_dir(). pci_name(pdev) returns the unique BDF address, is always valid, and is unique across the system.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6607c17c6c5e029da03a90085db22daf518232bf <c116f07ab9d22bb6f355f3cf9e44c1e6a47fe559, >=6.19 <7.0.10, >=6607c17c6c5e029da03a90085db22daf518232bf <9211eb97e8f8c28bf9313ab97862d143dbbbef97, >=6.13 <6.18.33, =6.13, >=6607c17c6c5e029da03a90085db22daf518232bf <34dbd7b819544c99c9d96b400fe4db613f40ac4b | c116f07ab9d22bb6f355f3cf9e44c1e6a47fe559, 7.0.10, 9211eb97e8f8c28bf9313ab97862d143dbbbef97, 6.18.33, 34dbd7b819544c99c9d96b400fe4db613f40ac4b |
| linux-kernel: Kernel | >=6.13.0 <6.18.33, >=6.19.0 <7.0.10 | 6.18.33, 7.0.10 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket