{"id":"CVE-2026-139000","aliases":["CVE-2026-139000"],"related":[],"kind":"vulnerability","state":"published","title":"i3c: master: Fix out-of-bounds read in DMA bounce buffer setup","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ni3c: master: Fix out-of-bounds read in DMA bounce buffer setup\n\nWhen a bounce buffer is required for DMA_TO_DEVICE transfers,\ni3c_master_dma_map_single() rounds the DMA mapping length up to a\ncache-line boundary:\n\n\tmap_len = ALIGN(len, cache_line_size());\n\nIt then allocates the bounce buffer with:\n\n\tkmemdup(buf, map_len, GFP_KERNEL);\n\nkmemdup() copies the full allocation size, causing it to read map_len\nbytes from buf even though only len bytes are valid.  This results in an\nout-of-bounds read of up to cache_line_size() - 1 bytes past the end of\nthe caller's buffer.\n\nFix the issue by allocating the bounce buffer with kzalloc() and copying\nonly len bytes from the original buffer.  The remaining bytes up to\nmap_len stay zero-filled, avoiding both the out-of-bounds read and\nexposure of unrelated memory contents to the DMA engine.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ni3c: master: Fix out-of-bounds read in DMA bounce buffer setup\n\nWhen a bounce buffer is required for DMA_TO_DEVICE transfers,\ni3c_master_dma_map_single() rounds the DMA mapping length up to a\ncache-line boundary:\n\n\tmap_len = ALIGN(len, cache_line_size());\n\nIt then allocates the bounce buffer with:\n\n\tkmemdup(buf, map_len, GFP_KERNEL);\n\nkmemdup() copies the full allocation size, causing it to read map_len\nbytes from buf even though only len bytes are valid.  This results in an\nout-of-bounds read of up to cache_line_size() - 1 bytes past the end of\nthe caller's buffer.\n\nFix the issue by allocating the bounce buffer with kzalloc() and copying\nonly len bytes from the original buffer.  The remaining bytes up to\nmap_len stay zero-filled, avoiding both the out-of-bounds read and\nexposure of unrelated memory contents to the DMA engine.","source":"cvelist"}],"published":"2026-11-30T13:26:56.791Z","modified":"2026-11-30T14:18:02.913Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f8d9e56aeb87ce82ce8636cd176cc59b69aa0e41","fixed":"2f6a32c7a313e7d826642a57343cbba0ab202494","status":"affected"},{"type":"git","introduced":"f8d9e56aeb87ce82ce8636cd176cc59b69aa0e41","fixed":"3ce1ae37eeb6a2f9206d2a0d1b6c29cdfd8a4e14","status":"affected"},{"type":"git","introduced":"f8d9e56aeb87ce82ce8636cd176cc59b69aa0e41","fixed":"35b028b25451e17d63b2cd36a11a86c5e18df1b9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/2f6a32c7a313e7d826642a57343cbba0ab202494","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ce1ae37eeb6a2f9206d2a0d1b6c29cdfd8a4e14","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/35b028b25451e17d63b2cd36a11a86c5e18df1b9","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139000","url":"https://www.cve.org/CVERecord?id=CVE-2026-139000","licence":"CVE Terms of Use","modified":"2026-11-30T13:26:56.791Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139000","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139000","licence":"Public domain","modified":"2026-11-30T14:18:02.913Z"}],"updatedAt":"2026-11-30T14:33:06.988Z","epss":{"score":0.00198,"percentile":0.10121,"date":"2026-12-01T12:00:22.000Z"}}