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.
Published: 2026-06-26
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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
History

Tue, 30 Jun 2026 02:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Tue, 30 Jun 2026 00:45:00 +0000

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


Fri, 26 Jun 2026 23:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Fri, 26 Jun 2026 20:15:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-26T19:41:14.708Z

Reserved: 2026-06-09T07:44:35.398Z

Link: CVE-2026-53324

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-06-26T20:17:25.750

Modified: 2026-07-06T20:10:09.803

Link: CVE-2026-53324

cve-icon Redhat

Severity : Low

Publid Date: 2026-06-26T00:00:00Z

Links: CVE-2026-53324 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T13:15:04Z

Weaknesses