PCI/P2PDMA: Safely terminate ACS redirect lists

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux52916982af48d9f9fc01ad825259de1eb3a9b25e to before 41c7cf68cd710aa4b4a5822f7d1309b50acc3fbd Affected52916982af48d9f9fc01ad825259de1eb3a9b25e to before 652f617b7e9221b71f040fd4ca3e8232cc7f7d49 Affected52916982af48d9f9fc01ad825259de1eb3a9b25e to before 578dbf5e064597413741a840ce1b959bd4b44c9a Affected52916982af48d9f9fc01ad825259de1eb3a9b25e to before 7a3ae5d1b29126964f90ab85992ec928150c3caf Affected52916982af48d9f9fc01ad825259de1eb3a9b25e to before d37de0056036e37172cc2a0c1e69ca5cef7a305c Affected52916982af48d9f9fc01ad825259de1eb3a9b25e to before 885b16494808190ae725530e7f5cb8822c142736 Affected52916982af48d9f9fc01ad825259de1eb3a9b25e to before fa291d6429ebc1efb7fab011f643b842ae5f23f1 Affected
Linux Linux4.20 Affectedbefore 4.20 Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.