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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
52916982af48d9f9fc01ad825259de1eb3a9b25e to < 41c7cf68cd710aa4b4a5822f7d1309b50acc3fbdaffected52916982af48d9f9fc01ad825259de1eb3a9b25e to < 652f617b7e9221b71f040fd4ca3e8232cc7f7d49affected52916982af48d9f9fc01ad825259de1eb3a9b25e to < 578dbf5e064597413741a840ce1b959bd4b44c9aaffected52916982af48d9f9fc01ad825259de1eb3a9b25e to < 7a3ae5d1b29126964f90ab85992ec928150c3cafaffected52916982af48d9f9fc01ad825259de1eb3a9b25e to < d37de0056036e37172cc2a0c1e69ca5cef7a305caffected52916982af48d9f9fc01ad825259de1eb3a9b25e to < 885b16494808190ae725530e7f5cb8822c142736affected52916982af48d9f9fc01ad825259de1eb3a9b25e to < fa291d6429ebc1efb7fab011f643b842ae5f23f1affected
Linux Linux
Default version status: affected
4.20affected0 to < 4.20unaffected5.15.226 to ≤ 5.15.*unaffected6.1.193 to ≤ 6.1.*unaffected6.6.163 to ≤ 6.6.*unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/41c7cf68cd710aa4b4a5822f7d1309b50acc3fbd ↗
- https://git.kernel.org/stable/c/652f617b7e9221b71f040fd4ca3e8232cc7f7d49 ↗
- https://git.kernel.org/stable/c/578dbf5e064597413741a840ce1b959bd4b44c9a ↗
- https://git.kernel.org/stable/c/7a3ae5d1b29126964f90ab85992ec928150c3caf ↗
- https://git.kernel.org/stable/c/d37de0056036e37172cc2a0c1e69ca5cef7a305c ↗
- https://git.kernel.org/stable/c/885b16494808190ae725530e7f5cb8822c142736 ↗
- https://git.kernel.org/stable/c/fa291d6429ebc1efb7fab011f643b842ae5f23f1 ↗