CVE-2026-53324: net: mana: Use pci_name() for debugfs directory naming
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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.
The Linux kernel CVE team has assigned CVE-2026-53324 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.13 with commit 6607c17c6c5e029da03a90085db22daf518232bf and fixed in 6.18.33 with commit 34dbd7b819544c99c9d96b400fe4db613f40ac4b Issue introduced in 6.13 with commit 6607c17c6c5e029da03a90085db22daf518232bf and fixed in 7.0.10 with commit 9211eb97e8f8c28bf9313ab97862d143dbbbef97 Issue introduced in 6.13 with commit 6607c17c6c5e029da03a90085db22daf518232bf and fixed in 7.1 with commit c116f07ab9d22bb6f355f3cf9e44c1e6a47fe559
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-53324
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/ethernet/microsoft/mana/gdma_main.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/34dbd7b819544c99c9d96b400fe4db613f40ac4b https://git.kernel.org/stable/c/9211eb97e8f8c28bf9313ab97862d143dbbbef97 https://git.kernel.org/stable/c/c116f07ab9d22bb6f355f3cf9e44c1e6a47fe559