{"id":"CVE-2026-139458","summary":"PCI/P2PDMA: Safely terminate ACS redirect lists","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI/P2PDMA: Safely terminate ACS redirect lists\n\nseq_buf marks an overflow by setting len to size + 1. The ACS diagnostic\npath unconditionally writes a terminator to buffer[len - 1], so a path with\nenough ACS ports to fill the 128-byte buffer writes one byte beyond the\nbuffer when verbose diagnostics are requested.\n\nUse seq_buf_str() to terminate truncated output safely and remove the final\nsemicolon only when the buffer did not overflow.","modified":"2026-12-01T21:02:38.363611310Z","published":"2026-11-30T13:34:56.476Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139458.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/41c7cf68cd710aa4b4a5822f7d1309b50acc3fbd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/578dbf5e064597413741a840ce1b959bd4b44c9a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/652f617b7e9221b71f040fd4ca3e8232cc7f7d49"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7a3ae5d1b29126964f90ab85992ec928150c3caf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/885b16494808190ae725530e7f5cb8822c142736"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d37de0056036e37172cc2a0c1e69ca5cef7a305c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fa291d6429ebc1efb7fab011f643b842ae5f23f1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139458.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139458"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"52916982af48d9f9fc01ad825259de1eb3a9b25e"},{"fixed":"41c7cf68cd710aa4b4a5822f7d1309b50acc3fbd"},{"fixed":"652f617b7e9221b71f040fd4ca3e8232cc7f7d49"},{"fixed":"578dbf5e064597413741a840ce1b959bd4b44c9a"},{"fixed":"7a3ae5d1b29126964f90ab85992ec928150c3caf"},{"fixed":"d37de0056036e37172cc2a0c1e69ca5cef7a305c"},{"fixed":"885b16494808190ae725530e7f5cb8822c142736"},{"fixed":"fa291d6429ebc1efb7fab011f643b842ae5f23f1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139458.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139458.json"}}],"schema_version":"1.9.2"}