{"id":"CVE-2026-89742","summary":"rapidio: mport_cdev: fix use-after-free in dma_req_free()","details":"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-\u003emap, drops the mapping\nreference with kref_put(), and then dereferences req-\u003emap 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-\u003emap 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.","modified":"2026-09-25T18:27:21.337267095Z","published":"2026-09-11T19:46:48.522Z","related":["openSUSE-SU-2026:11880-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89742.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/00c5ed913b0dc563fbeb8a97ea8916c03bbbbf6a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/211c68d817a3d9dc14c0026a59da7cac30f8147e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/26ccfe7d69e27b0d933ae0a64a23a0cb9b9a85a6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5cbef379a94b161726c5f504598bf4791d45cedc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9a9929ec875ff20922c90c96fd544ae8a2a61a8d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bd8881c24a9520f9c3d3e855d866197f63e471a7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e6e925cc1f8067c65c7bec3da50a0ead3b3ef4e0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fc79c07cdcde02c5b17633d78777de6ac2c14b29"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89742.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89742"},{"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":"e8de370188d098bb49483c287b44925957c3c9b6"},{"fixed":"00c5ed913b0dc563fbeb8a97ea8916c03bbbbf6a"},{"fixed":"fc79c07cdcde02c5b17633d78777de6ac2c14b29"},{"fixed":"26ccfe7d69e27b0d933ae0a64a23a0cb9b9a85a6"},{"fixed":"bd8881c24a9520f9c3d3e855d866197f63e471a7"},{"fixed":"9a9929ec875ff20922c90c96fd544ae8a2a61a8d"},{"fixed":"e6e925cc1f8067c65c7bec3da50a0ead3b3ef4e0"},{"fixed":"211c68d817a3d9dc14c0026a59da7cac30f8147e"},{"fixed":"5cbef379a94b161726c5f504598bf4791d45cedc"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-89742.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.6.0"},{"fixed":"5.10.270"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.221"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.109"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.50"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-89742.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}