{"id":"CVE-2026-90140","aliases":["CVE-2026-90140"],"related":[],"kind":"vulnerability","state":"published","title":"cuse: wait for pending RCU callbacks on module exit","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncuse: wait for pending RCU callbacks on module exit\n\nSince commit 053fc4f755ad (\"fuse: fix UAF in rcu pathwalks\"),\nfuse_conn_put() frees the fuse_conn through call_rcu() rather than\nsynchronously.  For cuse, fc->release is cuse_fc_release(), which\nlives in the cuse module.  If the module is removed before the RCU\ngrace period ends, the callback jumps into freed module memory:\n\n      userspace / module unload      |        RCU softirq\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n close(/dev/cuse)                    |\n  cuse_channel_release()             |\n   fuse_dev_release()                |\n    fuse_conn_put(fch->conn)         |\n     call_rcu(delayed_release) ------+---> callback queued\n                                     |\n rmmod cuse                          |\n  cuse_exit()                        |\n   cuse_channel_destroy()            |\n   ...                               |\n   return                            |\n                                     |\n <module text freed>                 |\n                                     |  rcu_do_batch()\n                                     |   delayed_release()\n                                     |    fc->release()\n                                     |     -> cuse_fc_release()\n                                     |        ^^^ freed text!\n\nThe freed module text is unmapped by vfree(), so the jump into the\nstale callback triggers a page-fault Oops.  If the virtual address\nis subsequently reused, the callback could execute unrelated code\n(undefined behaviour).\n\nFix this by calling rcu_barrier() in cuse_exit() so that any pending\nfuse_conn release callback completes before the module is removed.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncuse: wait for pending RCU callbacks on module exit\n\nSince commit 053fc4f755ad (\"fuse: fix UAF in rcu pathwalks\"),\nfuse_conn_put() frees the fuse_conn through call_rcu() rather than\nsynchronously.  For cuse, fc->release is cuse_fc_release(), which\nlives in the cuse module.  If the module is removed before the RCU\ngrace period ends, the callback jumps into freed module memory:\n\n      userspace / module unload      |        RCU softirq\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n close(/dev/cuse)                    |\n  cuse_channel_release()             |\n   fuse_dev_release()                |\n    fuse_conn_put(fch->conn)         |\n     call_rcu(delayed_release) ------+---> callback queued\n                                     |\n rmmod cuse                          |\n  cuse_exit()                        |\n   cuse_channel_destroy()            |\n   ...                               |\n   return                            |\n                                     |\n <module text freed>                 |\n                                     |  rcu_do_batch()\n                                     |   delayed_release()\n                                     |    fc->release()\n                                     |     -> cuse_fc_release()\n                                     |        ^^^ freed text!\n\nThe freed module text is unmapped by vfree(), so the jump into the\nstale callback triggers a page-fault Oops.  If the virtual address\nis subsequently reused, the callback could execute unrelated code\n(undefined behaviour).\n\nFix this by calling rcu_barrier() in cuse_exit() so that any pending\nfuse_conn release callback completes before the module is removed.","source":"cvelist"}],"published":"2026-09-17T16:06:37.824Z","modified":"2026-10-19T09:19:03.810Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"bfbab62ca69f72bcd14ea30de1fb98f6080ad464","fixed":"7fe415e1cd8fa875be263670c0ab47109818abb6","status":"affected"},{"type":"git","introduced":"a8f650b93e55764ca9ff8e1ddebc151f57024086","fixed":"45ae914b2f6ea56fc2f1c017fdee4e995bcb4c0e","status":"affected"},{"type":"git","introduced":"535e9bd0e8f8d8cfdc29de7cdb902b5041427fe6","fixed":"ac5c499413385cea3e0220d6050408d50842891d","status":"affected"},{"type":"git","introduced":"053fc4f755ad43cf35210677bcba798ccdc48d0c","fixed":"a1b46aee33d83f14ed62d7fdef1a91d3e0b732a9","status":"affected"},{"type":"git","introduced":"053fc4f755ad43cf35210677bcba798ccdc48d0c","fixed":"389bd349ddbcf90dbd8a4f2a4ab6e552d53df134","status":"affected"},{"type":"git","introduced":"053fc4f755ad43cf35210677bcba798ccdc48d0c","fixed":"c40f3f24839f8404325a2099e26c2a04786ae309","status":"affected"},{"type":"git","introduced":"053fc4f755ad43cf35210677bcba798ccdc48d0c","fixed":"4deb3edead0c0e172cc7349e8855d741d3c5e162","status":"affected"},{"type":"semver","introduced":"5.15.166","fixed":"5.15.221","status":"affected"},{"type":"semver","introduced":"6.1.107","fixed":"6.1.188","status":"affected"},{"type":"semver","introduced":"6.6.48","fixed":"6.6.157","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.8","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.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","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/7fe415e1cd8fa875be263670c0ab47109818abb6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/45ae914b2f6ea56fc2f1c017fdee4e995bcb4c0e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ac5c499413385cea3e0220d6050408d50842891d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a1b46aee33d83f14ed62d7fdef1a91d3e0b732a9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/389bd349ddbcf90dbd8a4f2a4ab6e552d53df134","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c40f3f24839f8404325a2099e26c2a04786ae309","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4deb3edead0c0e172cc7349e8855d741d3c5e162","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90140","url":"https://www.cve.org/CVERecord?id=CVE-2026-90140","licence":"CVE Terms of Use","modified":"2026-10-19T08:58:38.281Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90140","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90140","licence":"Public domain","modified":"2026-10-19T09:19:03.810Z"}],"updatedAt":"2026-11-25T22:59:39.316Z","epss":{"score":0.00211,"percentile":0.12094,"date":"2026-12-01T12:00:22.000Z"}}