{"id":"CVE-2026-43128","aliases":["CVE-2026-43128"],"related":[],"kind":"vulnerability","state":"published","title":"RDMA/umem: Fix double dma_buf_unpin in failure path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/umem: Fix double dma_buf_unpin in failure path\n\nIn ib_umem_dmabuf_get_pinned_with_dma_device(), the call to\nib_umem_dmabuf_map_pages() can fail. If this occurs, the dmabuf\nis immediately unpinned but the umem_dmabuf->pinned flag is still\nset. Then, when ib_umem_release() is called, it calls\nib_umem_dmabuf_revoke() which will call dma_buf_unpin() again.\n\nFix this by removing the immediate unpin upon failure and just let\nthe ib_umem_release/revoke path handle it. This also ensures the\nproper unmap-unpin unwind ordering if the dmabuf_map_pages call\nhappened to fail due to dma_resv_wait_timeout (and therefore has\na non-NULL umem_dmabuf->sgt).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/umem: Fix double dma_buf_unpin in failure path\n\nIn ib_umem_dmabuf_get_pinned_with_dma_device(), the call to\nib_umem_dmabuf_map_pages() can fail. If this occurs, the dmabuf\nis immediately unpinned but the umem_dmabuf->pinned flag is still\nset. Then, when ib_umem_release() is called, it calls\nib_umem_dmabuf_revoke() which will call dma_buf_unpin() again.\n\nFix this by removing the immediate unpin upon failure and just let\nthe ib_umem_release/revoke path handle it. This also ensures the\nproper unmap-unpin unwind ordering if the dmabuf_map_pages call\nhappened to fail due to dma_resv_wait_timeout (and therefore has\na non-NULL umem_dmabuf->sgt).","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nRDMA/umem: Corrección de doble dma_buf_unpin en la ruta de fallo\n\nEn ib_umem_dmabuf_get_pinned_with_dma_device(), la llamada a ib_umem_dmabuf_map_pages() puede fallar. Si esto ocurre, el dmabuf se desancla inmediatamente, pero el flag umem_dmabuf  ->  pinned sigue establecido. Luego, cuando se llama a ib_umem_release(), esta llama a ib_umem_dmabuf_revoke(), que volverá a llamar a dma_buf_unpin().\n\nEsto se soluciona eliminando el desanclaje inmediato en caso de fallo y simplemente dejando que la ruta ib_umem_release/revoke lo gestione. Esto también asegura el orden de desenrollado adecuado de desmapeo-desanclaje si la llamada a dmabuf_map_pages llegara a fallar debido a dma_resv_wait_timeout (y por lo tanto tiene un umem_dmabuf  ->  sgt no nulo).","source":"nvd"}],"published":"2026-05-06T11:27:17.474Z","modified":"2026-11-11T21:10:00.200Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-415"],"affected":[{"ranges":[{"type":"git","introduced":"1e4df4a21c5ac722df1099eee30cad9246c889b5","fixed":"70542b69abff34d24b11ae0bb200cc7a766d18df","status":"affected"},{"type":"git","introduced":"1e4df4a21c5ac722df1099eee30cad9246c889b5","fixed":"b324327ff6f48d8065dca67eb3b91357e72726bd","status":"affected"},{"type":"git","introduced":"1e4df4a21c5ac722df1099eee30cad9246c889b5","fixed":"ba3bf0f1bf1d5d0404678485e872980532fcc2c4","status":"affected"},{"type":"git","introduced":"1e4df4a21c5ac722df1099eee30cad9246c889b5","fixed":"d3e32e2f3262f1b25d77c085ace38e2cc4ad75cf","status":"affected"},{"type":"git","introduced":"1e4df4a21c5ac722df1099eee30cad9246c889b5","fixed":"40126bcbefa79ea86672e05dae608596bab38319","status":"affected"},{"type":"git","introduced":"1e4df4a21c5ac722df1099eee30cad9246c889b5","fixed":"104016eb671e19709721c1b0048dd912dc2e96be","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.16","status":"unaffected"},{"type":"semver","introduced":"6.1.165","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.128","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.75","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.16","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.6","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.16","fixed":"6.1.165"},{"status":"affected","introduced":"6.2","fixed":"6.6.128"},{"status":"affected","introduced":"6.7","fixed":"6.12.75"},{"status":"affected","introduced":"6.13","fixed":"6.18.16"},{"status":"affected","introduced":"6.19","fixed":"6.19.6"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/70542b69abff34d24b11ae0bb200cc7a766d18df","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b324327ff6f48d8065dca67eb3b91357e72726bd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba3bf0f1bf1d5d0404678485e872980532fcc2c4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d3e32e2f3262f1b25d77c085ace38e2cc4ad75cf","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/40126bcbefa79ea86672e05dae608596bab38319","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/104016eb671e19709721c1b0048dd912dc2e96be","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:14:57.128Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43128","url":"https://www.cve.org/CVERecord?id=CVE-2026-43128","licence":"CVE Terms of Use","modified":"2026-10-19T19:06:14.792Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43128","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43128","licence":"Public domain","modified":"2026-11-11T21:10:00.200Z"}],"updatedAt":"2026-11-25T22:59:20.690Z","epss":{"score":0.00139,"percentile":0.03495,"date":"2026-12-01T12:00:22.000Z"}}