{"id":"CVE-2026-90140","published":"2026-09-17T16:06:37Z","modified":"2026-10-19T08:58:38Z","title":"cuse: wait for pending RCU callbacks on module exit","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00215,"percentile":0.06899,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/7fe415e1cd8fa875be263670c0ab47109818abb6","tags":[]},{"url":"https://git.kernel.org/stable/c/45ae914b2f6ea56fc2f1c017fdee4e995bcb4c0e","tags":[]},{"url":"https://git.kernel.org/stable/c/ac5c499413385cea3e0220d6050408d50842891d","tags":[]},{"url":"https://git.kernel.org/stable/c/a1b46aee33d83f14ed62d7fdef1a91d3e0b732a9","tags":[]},{"url":"https://git.kernel.org/stable/c/389bd349ddbcf90dbd8a4f2a4ab6e552d53df134","tags":[]},{"url":"https://git.kernel.org/stable/c/c40f3f24839f8404325a2099e26c2a04786ae309","tags":[]},{"url":"https://git.kernel.org/stable/c/4deb3edead0c0e172cc7349e8855d741d3c5e162","tags":[]}],"priority":{"score":1.4,"factors":[{"name":"EPSS percentile","points":1.38}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= bfbab62ca69f72bcd14ea30de1fb98f6080ad464, < 7fe415e1cd8fa875be263670c0ab47109818abb6",">= a8f650b93e55764ca9ff8e1ddebc151f57024086, < 45ae914b2f6ea56fc2f1c017fdee4e995bcb4c0e",">= 535e9bd0e8f8d8cfdc29de7cdb902b5041427fe6, < ac5c499413385cea3e0220d6050408d50842891d",">= 053fc4f755ad43cf35210677bcba798ccdc48d0c, < a1b46aee33d83f14ed62d7fdef1a91d3e0b732a9",">= 053fc4f755ad43cf35210677bcba798ccdc48d0c, < 389bd349ddbcf90dbd8a4f2a4ab6e552d53df134",">= 053fc4f755ad43cf35210677bcba798ccdc48d0c, < c40f3f24839f8404325a2099e26c2a04786ae309",">= 053fc4f755ad43cf35210677bcba798ccdc48d0c, < 4deb3edead0c0e172cc7349e8855d741d3c5e162",">= 5.15.166, < 5.15.221",">= 6.1.107, < 6.1.188",">= 6.6.48, < 6.6.157"]},{"vendor":"Linux","product":"Linux","versions":["6.8"]}],"euvd":{"id":"EUVD-2026-81733","exploited":false,"provenance":"source"}}