CVE-2026-139458

PCI/P2PDMA: Safely terminate ACS redirect lists

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

PCI/P2PDMA: Safely terminate ACS redirect lists

seq_buf marks an overflow by setting len to size + 1. The ACS diagnostic
path unconditionally writes a terminator to buffer[len - 1], so a path with
enough ACS ports to fill the 128-byte buffer writes one byte beyond the
buffer when verbose diagnostics are requested.

Use seq_buf_str() to terminate truncated output safely and remove the final
semicolon only when the buffer did not overflow.

Analysis

AI-generated

Technical impact

The vulnerability is caused by an out‑of‑bounds write in the ACS diagnostic path when verbose diagnostics are requested. A buffer designed to hold 128 bytes is overrun by one byte because the code unconditionally writes a terminator to buffer[len-1] after an overflow is detected by setting len to size+1. This can corrupt kernel memory, potentially leading to system crashes or privilege escalation and compromising confidentiality, integrity, or availability. The weakness is a classic memory corruption flaw from improper buffer termination.

Affected Systems

All Linux kernel distributions that include the ACS P2PDMA diagnostic code are affected. No specific kernel version range is listed, implying that pre‑patch kernels that provide the diagnostic interface are vulnerable until the patch is applied.

Risk and Exploitability

The CVSS score is not provided and EPSS is not available, but the vulnerability is not listed in the CISA KEV catalog. The flaw requires access to the verbose ACS diagnostic interface, which is typically privileged or local to the system. An attacker who can invoke this path may trigger the overwrite, leading to memory corruption. Because the trigger is clear and the exploitation path is straightforward once permissions are authorized, the risk is significant for systems that expose this interface and have not been updated to the patched kernel.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to the latest stable release that includes the ACS redirect termination patch (see the commit references listed).
  • If an immediate kernel upgrade is not feasible, disable or restrict access to the verbose ACS diagnostic option to prevent the overflow from being triggered.
  • As a temporary workaround, apply a local patch that replaces the legacy terminator logic with seq_buf_str() to ensure safe buffer termination.

Generated by OpenCVE AI on November 30, 2026 at 22:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-119
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: PCI/P2PDMA: Safely terminate ACS redirect lists seq_buf marks an overflow by setting len to size + 1. The ACS diagnostic path unconditionally writes a terminator to buffer[len - 1], so a path with enough ACS ports to fill the 128-byte buffer writes one byte beyond the buffer when verbose diagnostics are requested. Use seq_buf_str() to terminate truncated output safely and remove the final semicolon only when the buffer did not overflow.
Title PCI/P2PDMA: Safely terminate ACS redirect lists
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:34 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM