{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-99523","id":"CVE-2026-99523","title":"Linux RDMA uverbs use-after-free in DMABUF cleanup","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/uverbs: Fix DMABUF use-after-free during ufile cleanup\n\nThe DMABUF release can race with ufile cleanup. When the cleanup holds\nhw_destroy_rwsem for write, uverbs_uobject_release() fails its trylock\nand leaves the uobject on the ufile list, but the dma_buf is freed as\nsoon as the release returns. The cleanup then destroys the","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/uverbs: Fix DMABUF use-after-free during ufile cleanup\n\nThe DMABUF release can race with ufile cleanup. When the cleanup holds\nhw_destroy_rwsem for write, uverbs_uobject_release() fails its trylock\nand leaves the uobject on the ufile list, but the dma_buf is freed as\nsoon as the release returns. The cleanup then destroys the uobject and\nuses the freed dma_buf:\n\n  BUG: KASAN: slab-use-after-free in uverbs_dmabuf_fd_destroy_uobj+0x46/0x200\n  Read of size 8 at addr ff11000109cf14b0 by task repro/435\n  Call Trace:\n   uverbs_dmabuf_fd_destroy_uobj+0x46/0x200\n   destroy_hw_fd_uobject+0x3f/0x50\n   uverbs_destroy_uobject+0xc5/0x380\n   __uverbs_cleanup_ufile+0x1a8/0x260\n   uverbs_destroy_ufile_hw+0x54/0x160\n   ib_uverbs_close+0x34/0x110\n  Allocated by task 435:\n   dma_buf_export+0x1b5/0x530\n   ib_uverbs_handler_UVERBS_METHOD_DMABUF_ALLOC+0x223/0x3f0\n  Freed by task 436:\n   kfree+0x301/0x530\n   dentry_kill+0x14c/0x560\n   __fput+0x23a/0x4a0\n\nrdma_user_mmap_entry_remove() dereferences the same pointer.\n\nProtect the stored dma_buf pointer with a mutex and clear it before\nrelease returns. Use a shared revoke helper so uobject destruction and\nmmap entry removal both skip a cleared pointer. Hold a temporary uobject\nreference across uverbs_uobject_release() and the pointer update.\n\nUse a separate mutex because uobject destruction can free the mmap entry\nbefore release finishes. Map and unmap use attachment->dmabuf directly,\nso they do not need to take the new mutex while holding the reservation\nlock.","published":"2026-11-19T14:44:35.251Z","updated":"2026-11-19T14:44:35.251Z","reserved":"2026-09-25T10:25:14.420Z","status":"PUBLISHED","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0ac6f4056c4a257f4b230b910e3e6fee6c6fc9b9","lessThan":"0b6d8b41af154b1137efb578afb8c8fc39d136aa","status":"affected","versionType":"git"},{"version":"0ac6f4056c4a257f4b230b910e3e6fee6c6fc9b9","lessThan":"2854f9025d4ef6c4566f71e52d7f496d9a0f5737","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","lessThan":"7.0","status":"unaffected","versionType":"semver"},{"version":"7.3.2","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/0b6d8b41af154b1137efb578afb8c8fc39d136aa","tags":[]},{"url":"https://git.kernel.org/stable/c/2854f9025d4ef6c4566f71e52d7f496d9a0f5737","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-99523","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99523","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-99523","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-99523","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}