{"id":"CVE-2026-138854","summary":"iommu/dma: Catch scatterlist length overflows","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/dma: Catch scatterlist length overflows\n\nIt is possible, when a very large mapping uses only one\nscatterlist, that padding overflows scatterlist's length field.\nThis results in:\n 1) silently wrapping the value\n 2) smaller than desired mappings produced by iommu_map_sg\n 3) leaving mapped bytes in memory (no iommu_unmap)\n\nAddress this issue by adding overflow detection for scatterlist\nlength field.","modified":"2026-11-30T15:01:15.263151819Z","published":"2026-11-30T13:25:36.152Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138854.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0ae29e4fb90f019ac88672e6a268ef76de47b22f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0ec1d83baa7b319374e3071f48946240149efb74"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1c8f6308e557f32412e9d4678b3f029f47f6d9aa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5706fc3df84087b067804019e664338610437b6b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5b5fc4c1bf4745e208d113cafd3a00d2a3772889"},{"type":"WEB","url":"https://git.kernel.org/stable/c/621e1976d48b2b345e1e2cee8efb21efe4a43487"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c267a09141bc992fd59f1b09017ed86290478221"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e092174b31d8591e13bbcfeb96553912a315d66e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138854.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138854"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"809eac54cdd62c67afea1e17080e681dfa33dc09"},{"fixed":"c267a09141bc992fd59f1b09017ed86290478221"},{"fixed":"0ae29e4fb90f019ac88672e6a268ef76de47b22f"},{"fixed":"e092174b31d8591e13bbcfeb96553912a315d66e"},{"fixed":"5706fc3df84087b067804019e664338610437b6b"},{"fixed":"5b5fc4c1bf4745e208d113cafd3a00d2a3772889"},{"fixed":"0ec1d83baa7b319374e3071f48946240149efb74"},{"fixed":"621e1976d48b2b345e1e2cee8efb21efe4a43487"},{"fixed":"1c8f6308e557f32412e9d4678b3f029f47f6d9aa"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138854.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.7.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.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.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138854.json"}}],"schema_version":"1.9.2"}