{"id":"CVE-2026-89742","aliases":["CVE-2026-89742"],"related":[],"kind":"vulnerability","state":"published","title":"rapidio: mport_cdev: fix use-after-free in dma_req_free()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nrapidio: mport_cdev: fix use-after-free in dma_req_free()\n\ndma_req_free() acquires buf_mutex through req->map, drops the mapping\nreference with kref_put(), and then dereferences req->map again to unlock\nthe mutex.\n\nIf kref_put() drops the last reference, mport_release_mapping() frees the\nmapping, and the subsequent mutex_unlock() dereferences a freed object. \nThis is a use-after-free.\n\nFix this by caching map and md before kref_put(), clearing req->map while\nholding buf_mutex, and using the cached md for mutex unlocking.\n\nThe bug is reachable from userspace via the RapidIO mport character device\ninterface.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nrapidio: mport_cdev: fix use-after-free in dma_req_free()\n\ndma_req_free() acquires buf_mutex through req->map, drops the mapping\nreference with kref_put(), and then dereferences req->map again to unlock\nthe mutex.\n\nIf kref_put() drops the last reference, mport_release_mapping() frees the\nmapping, and the subsequent mutex_unlock() dereferences a freed object. \nThis is a use-after-free.\n\nFix this by caching map and md before kref_put(), clearing req->map while\nholding buf_mutex, and using the cached md for mutex unlocking.\n\nThe bug is reachable from userspace via the RapidIO mport character device\ninterface.","source":"cvelist"}],"published":"2026-09-11T19:46:48.522Z","modified":"2026-10-19T09:18:17.037Z","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"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e8de370188d098bb49483c287b44925957c3c9b6","fixed":"00c5ed913b0dc563fbeb8a97ea8916c03bbbbf6a","status":"affected"},{"type":"git","introduced":"e8de370188d098bb49483c287b44925957c3c9b6","fixed":"fc79c07cdcde02c5b17633d78777de6ac2c14b29","status":"affected"},{"type":"git","introduced":"e8de370188d098bb49483c287b44925957c3c9b6","fixed":"26ccfe7d69e27b0d933ae0a64a23a0cb9b9a85a6","status":"affected"},{"type":"git","introduced":"e8de370188d098bb49483c287b44925957c3c9b6","fixed":"bd8881c24a9520f9c3d3e855d866197f63e471a7","status":"affected"},{"type":"git","introduced":"e8de370188d098bb49483c287b44925957c3c9b6","fixed":"9a9929ec875ff20922c90c96fd544ae8a2a61a8d","status":"affected"},{"type":"git","introduced":"e8de370188d098bb49483c287b44925957c3c9b6","fixed":"e6e925cc1f8067c65c7bec3da50a0ead3b3ef4e0","status":"affected"},{"type":"git","introduced":"e8de370188d098bb49483c287b44925957c3c9b6","fixed":"211c68d817a3d9dc14c0026a59da7cac30f8147e","status":"affected"},{"type":"git","introduced":"e8de370188d098bb49483c287b44925957c3c9b6","fixed":"5cbef379a94b161726c5f504598bf4791d45cedc","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.6","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/00c5ed913b0dc563fbeb8a97ea8916c03bbbbf6a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fc79c07cdcde02c5b17633d78777de6ac2c14b29","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/26ccfe7d69e27b0d933ae0a64a23a0cb9b9a85a6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bd8881c24a9520f9c3d3e855d866197f63e471a7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9a9929ec875ff20922c90c96fd544ae8a2a61a8d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e6e925cc1f8067c65c7bec3da50a0ead3b3ef4e0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/211c68d817a3d9dc14c0026a59da7cac30f8147e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5cbef379a94b161726c5f504598bf4791d45cedc","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89742","url":"https://www.cve.org/CVERecord?id=CVE-2026-89742","licence":"CVE Terms of Use","modified":"2026-10-19T08:51:56.183Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89742","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89742","licence":"Public domain","modified":"2026-10-19T09:18:17.037Z"}],"updatedAt":"2026-11-25T22:59:38.133Z","epss":{"score":0.00164,"percentile":0.0583,"date":"2026-12-01T12:00:22.000Z"}}