Description
In the Linux kernel, the following vulnerability has been resolved:

PCI: dwc: Avoid dwc_pcie_rasdes_debugfs_deinit() NULL dereference when no RAS DES capability

dwc_pcie_rasdes_debugfs_init() returns success when the controller has no
RAS DES capability, leaving pci->debugfs->rasdes_info unset. The common
debugfs teardown path still calls dwc_pcie_rasdes_debugfs_deinit(), which
dereferences rasdes_info unconditionally.

Return early when no RAS DES state was allocated. In that case no RAS DES
mutex was initialized, so there is nothing to destroy.

[mani: reworded subject]
Published: 2026-08-28
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel dwc_pcie driver fails to handle the case where a controller has no RAS DES capability. During initialization the code reports success and leaves the rasdes_info structure unset; the later deinitialization routine then dereferences this uninitialized pointer unconditionally, causing a kernel NULL pointer dereference. This results in a kernel crash that aborts the affected system, a classic denial‑of‑service scenario. The weakness is a classic NULL pointer dereference, identified as CWE‑476.

Affected Systems

All Linux kernels that include the dwc_pcie driver without the fix are vulnerable. The commit that introduced the patch is listed in the reference logs, so any kernel version built from source prior to incorporating that commit – effectively all mainstream releases that have not yet applied the change – are affected. The issue applies to all distros that ship the default Linux kernel unless a vendor has backported the patch independently.

Risk and Exploitability

The only remediation path is to load the corrected kernel. The exploitation path requires local access to the debugfs interface for the dwc_pcie driver, which is typically restricted to privileged users; therefore the threat is limited to local privilege or root users. No EPSS score is available and the vulnerability is not listed in CISA KEV, indicating that widespread automated exploitation has not yet been observed. Nonetheless, the crash can interrupt critical services, so the risk warrants prompt kernel updates to avoid denial‑of‑service incidents.

Generated by OpenCVE AI on August 28, 2026 at 09:31 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that includes the dwc_pcie patch that returns early from dwc_pcie_rasdes_debugfs_deinit when no RAS DES information is present
  • Reboot the system after the kernel update so that the patched code is loaded and the crash path is removed
  • If an immediate kernel update is not possible, temporarily unmount or disable the dwc_pcie debugfs interface (e.g., unmount /sys/kernel/debug/dwc_pcie or load the module with a debugfs_disable parameter) to eliminate the dereference trigger

Generated by OpenCVE AI on August 28, 2026 at 09:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 10:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Fri, 28 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: PCI: dwc: Avoid dwc_pcie_rasdes_debugfs_deinit() NULL dereference when no RAS DES capability dwc_pcie_rasdes_debugfs_init() returns success when the controller has no RAS DES capability, leaving pci->debugfs->rasdes_info unset. The common debugfs teardown path still calls dwc_pcie_rasdes_debugfs_deinit(), which dereferences rasdes_info unconditionally. Return early when no RAS DES state was allocated. In that case no RAS DES mutex was initialized, so there is nothing to destroy. [mani: reworded subject]
Title PCI: dwc: Avoid dwc_pcie_rasdes_debugfs_deinit() NULL dereference when no RAS DES capability
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-08-28T06:48:41.081Z

Reserved: 2026-08-26T14:34:25.774Z

Link: CVE-2026-80621

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T08:16:46.220

Modified: 2026-08-28T08:16:46.220

Link: CVE-2026-80621

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T09:45:17Z

Weaknesses