Bug 2493737 (CVE-2026-53324) - CVE-2026-53324 kernel: net: mana: Use pci_name() for debugfs directory naming
Summary: CVE-2026-53324 kernel: net: mana: Use pci_name() for debugfs directory naming
Keywords:
Status: NEW
Alias: CVE-2026-53324
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-26 21:04 UTC by OSIDB Bzimport
Modified: 2026-06-29 19:53 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-26 21:04:13 UTC
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.

Comment 1 Mauro Matteo Cascella 2026-06-29 19:50:57 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026062623-CVE-2026-53324-d4ab@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.