CVE-2026-53324

net: mana: Use pci_name() for debugfs directory naming

Published Jun 26, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The net/mana driver in the Linux kernel constructs per‑device debugfs directories using a hard‑coded name for physical functions and the return value of pci_slot_name(pdev->slot) for virtual functions. When pdev->slot is NULL, typical in VFIO passthrough or nested KVM settings, pci_slot_name dereferences a NULL pointer – a classic flaw identified as CWE-476: NULL Pointer Dereference. The resulting kernel Oops causes a denial of service by crashing the kernel. Additionally, using the string "0" for all physical functions leads to duplicate directory names; virtual functions from different PCI domains can also produce identical slot names, which causes debugfs_create_dir() to return –EEXIST and prevents directory creation. Both pathologies disrupt normal kernel operation.

Affected Systems

Linux kernel versions that contain the net/mana network driver before the commit that changes debugfs directory naming are affected. This includes any kernel built with the default net/mana driver in configurations such as the standard Linux distribution kernels. No specific version range is documented; hence any system running a kernel that includes the pre‑commit net/mana code is at risk.

Risk and Exploitability

The flaw is local; an attacker must be able to trigger driver initialization or re‑load the module on a system that has the vulnerable net/mana driver. By generating hot‑plug events, rebooting the machine, or disabling and re‑enabling the driver, a local user can provoke a kernel crash or block debugfs entry creation. The CVSS score of 5.5 and an EPSS score below 1% indicate moderate severity with a low likelihood of exploitation in common environments. The vulnerability is not listed in the CISA KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel version that includes the commit changing debugfs directory naming to use pci_name(), for example any release built after commit 34d7b819544c99c9d96b400fe4db613f40ac4b.
  • If an immediate kernel upgrade is not feasible, disable the creation of debugfs entries for this driver by booting with the `debugfs=0` kernel parameter or disabling CONFIG_DEBUG_FS, which prevents the NULL dereference and directory name collision.
  • Ensure the net/mana module is not automatically re‑loaded by blacklisting it in /etc/modprobe.d or preventing its initialization during the upgrade window.

Generated by OpenCVE AI on August 13, 2026 at 13:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8566-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8568-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8569-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8663-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8664-1 Linux kernel (NVIDIA BaseOS) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-1 Linux kernel (GCP) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8728-3 Linux kernel (Oracle) vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
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.
Title net: mana: Use pci_name() for debugfs directory naming
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 6, 2026, 4:34 PM
Reserved
Jun 9, 2026, 7:44 AM
Status
Analyzed
Published
Jun 26, 2026, 8:17 PM
Modified
Nov 6, 2026, 5:18 PM
Severity
Low
Public date
Jun 26, 2026, 12:00 AM