{"id":"CVE-2026-43128","summary":"RDMA/umem: Fix double dma_buf_unpin in failure path","details":"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-\u003epinned 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-\u003esgt).","modified":"2026-06-18T03:55:01.654529839Z","published":"2026-05-06T11:27:17.474Z","related":["ALSA-2026:19568","ALSA-2026:19569"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43128.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/104016eb671e19709721c1b0048dd912dc2e96be"},{"type":"WEB","url":"https://git.kernel.org/stable/c/40126bcbefa79ea86672e05dae608596bab38319"},{"type":"WEB","url":"https://git.kernel.org/stable/c/70542b69abff34d24b11ae0bb200cc7a766d18df"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b324327ff6f48d8065dca67eb3b91357e72726bd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ba3bf0f1bf1d5d0404678485e872980532fcc2c4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d3e32e2f3262f1b25d77c085ace38e2cc4ad75cf"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43128.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43128"},{"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":"1e4df4a21c5ac722df1099eee30cad9246c889b5"},{"fixed":"70542b69abff34d24b11ae0bb200cc7a766d18df"},{"fixed":"b324327ff6f48d8065dca67eb3b91357e72726bd"},{"fixed":"ba3bf0f1bf1d5d0404678485e872980532fcc2c4"},{"fixed":"d3e32e2f3262f1b25d77c085ace38e2cc4ad75cf"},{"fixed":"40126bcbefa79ea86672e05dae608596bab38319"},{"fixed":"104016eb671e19709721c1b0048dd912dc2e96be"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43128.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.165"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.128"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.75"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"6.19.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-43128.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}