{"id":"CVE-2026-23400","published":"2026-03-29T12:55:50Z","modified":"2026-05-11T22:06:10Z","title":"rust_binder: call set_notification_done() without proc lock","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nrust_binder: call set_notification_done() without proc lock\n\nConsider the following sequence of events on a death listener:\n1. The remote process dies and sends a BR_DEAD_BINDER message.\n2. The local process invokes the BC_CLEAR_DEATH_NOTIFICATION command.\n3. The local process then invokes the BC_DEAD_BINDER_DONE.\nThen, the kernel will reply to the BC_DEAD_BINDER_DONE command with a\nBR_CLEAR_DEATH_NOTIFICATION_DONE reply using push_work_if_looper().\n\nHowever, this can result in a deadlock if the current thread is not a\nlooper. This is because dead_binder_done() still holds the proc lock\nduring set_notification_done(), which called push_work_if_looper().\nNormally, push_work_if_looper() takes the thread lock, which is fine to\ntake under the proc lock. But if the current thread is not a looper,\nthen it falls back to delivering the reply to the process work queue,\nwhich involves taking the proc lock. Since the proc lock is already\nheld, this is a deadlock.\n\nFix this by releasing the proc lock during set_notification_done(). It\nwas not intentional that it was held during that function to begin with.\n\nI don't think this ever happens in Android because BC_DEAD_BINDER_DONE\nis only invoked in response to BR_DEAD_BINDER messages, and the kernel\nalways delivers BR_DEAD_BINDER to a looper. So there's no scenario where\nAndroid userspace will call BC_DEAD_BINDER_DONE on a non-looper thread.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00103,"percentile":0.00946,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/dd109e3442817bc03ad1f3ffd541092f8c428141","tags":[]},{"url":"https://git.kernel.org/stable/c/3be72099067d2cd4a0e089696f19780f75b2b88a","tags":[]},{"url":"https://git.kernel.org/stable/c/2e303f0febb65a434040774b793ba8356698802b","tags":[]}],"priority":{"score":0.2,"factors":[{"name":"EPSS percentile","points":0.19}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= eafedbc7c050c44744fbdf80bdf3315e860b7513, < dd109e3442817bc03ad1f3ffd541092f8c428141",">= eafedbc7c050c44744fbdf80bdf3315e860b7513, < 3be72099067d2cd4a0e089696f19780f75b2b88a",">= eafedbc7c050c44744fbdf80bdf3315e860b7513, < 2e303f0febb65a434040774b793ba8356698802b"]},{"vendor":"Linux","product":"Linux","versions":["6.18"]}],"euvd":{"id":"EUVD-2026-16993","exploited":false,"provenance":"source"}}