{"id":"CVE-2026-89764","aliases":["CVE-2026-89764"],"related":[],"kind":"vulnerability","state":"published","title":"rust: devres: fix race between concurrent revokers","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nrust: devres: fix race between concurrent revokers\n\nThere is a potential race condition when two paths try to revoke a\nDevres concurrently.\n\nThe driver core's devres_release_all() calls Revocable::revoke() via the\nrelease callback, while Devres::drop() calls revoke_nosync() on another\nCPU.\n\nThe revoker that does not claim the is_available swap returns\nimmediately, but the revoker that did may still be executing\ndrop_in_place() on the inner data. This can cause a use-after-free when\nthe other revoker's caller proceeds to drop adjacent resources that\ndrop_in_place() still references (e.g., Devres<DmaMappedSgt> racing with\nSGTable freeing the backing sg_table and pages).\n\nFix this by adding a Completion. The release callback signals the\nCompletion after revoke() finishes, and Devres::drop() waits for it when\nit loses the is_available swap. This ensures the wrapped object is fully\ntorn down before Devres::drop() returns.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nrust: devres: fix race between concurrent revokers\n\nThere is a potential race condition when two paths try to revoke a\nDevres concurrently.\n\nThe driver core's devres_release_all() calls Revocable::revoke() via the\nrelease callback, while Devres::drop() calls revoke_nosync() on another\nCPU.\n\nThe revoker that does not claim the is_available swap returns\nimmediately, but the revoker that did may still be executing\ndrop_in_place() on the inner data. This can cause a use-after-free when\nthe other revoker's caller proceeds to drop adjacent resources that\ndrop_in_place() still references (e.g., Devres<DmaMappedSgt> racing with\nSGTable freeing the backing sg_table and pages).\n\nFix this by adding a Completion. The release callback signals the\nCompletion after revoke() finishes, and Devres::drop() waits for it when\nit loses the is_available swap. This ensures the wrapped object is fully\ntorn down before Devres::drop() returns.","source":"cvelist"}],"published":"2026-09-11T19:47:05.092Z","modified":"2026-10-19T09:18:19.613Z","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":"05aa6fb1c21d7fb9df735da24096d793223789d5","fixed":"e7930d857cc7930fc39b487ea9f3a453eca3713e","status":"affected"},{"type":"git","introduced":"05aa6fb1c21d7fb9df735da24096d793223789d5","fixed":"c7e3d57c705ab1053a6a1bbef96795e792da1540","status":"affected"},{"type":"git","introduced":"05aa6fb1c21d7fb9df735da24096d793223789d5","fixed":"acc516dfa1972d31836b50abc0115216cd0fccc5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.18","status":"unaffected"},{"type":"semver","introduced":"6.18.56","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/e7930d857cc7930fc39b487ea9f3a453eca3713e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c7e3d57c705ab1053a6a1bbef96795e792da1540","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/acc516dfa1972d31836b50abc0115216cd0fccc5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89764","url":"https://www.cve.org/CVERecord?id=CVE-2026-89764","licence":"CVE Terms of Use","modified":"2026-10-19T08:52:17.882Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89764","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89764","licence":"Public domain","modified":"2026-10-19T09:18:19.613Z"}],"updatedAt":"2026-11-25T22:59:38.141Z","epss":{"score":0.00146,"percentile":0.04052,"date":"2026-12-01T12:00:22.000Z"}}