# CVE-2026-23400: rust_binder: call set_notification_done() without proc lock

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-03-29T12:55:50.660Z
- Modified: 2026-06-17T10:21:30.500Z
- Weaknesses: CWE-667
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

rust_binder: call set_notification_done() without proc lock

Consider the following sequence of events on a death listener:
1. The remote process dies and sends a BR_DEAD_BINDER message.
2. The local process invokes the BC_CLEAR_DEATH_NOTIFICATION command.
3. The local process then invokes the BC_DEAD_BINDER_DONE.
Then, the kernel will reply to the BC_DEAD_BINDER_DONE command with a
BR_CLEAR_DEATH_NOTIFICATION_DONE reply using push_work_if_looper().

However, this can result in a deadlock if the current thread is not a
looper. This is because dead_binder_done() still holds the proc lock
during set_notification_done(), which called push_work_if_looper().
Normally, push_work_if_looper() takes the thread lock, which is fine to
take under the proc lock. But if the current thread is not a looper,
then it falls back to delivering the reply to the process work queue,
which involves taking the proc lock. Since the proc lock is already
held, this is a deadlock.

Fix this by releasing the proc lock during set_notification_done(). It
was not intentional that it was held during that function to begin with.

I don't think this ever happens in Android because BC_DEAD_BINDER_DONE
is only invoked in response to BR_DEAD_BINDER messages, and the kernel
always delivers BR_DEAD_BINDER to a looper. So there's no scenario where
Android userspace will call BC_DEAD_BINDER_DONE on a non-looper thread.

(As written by CVE List.)

## Affected

- Linux Linux: from eafedbc7c050c44744fbdf80bdf3315e860b7513 before dd109e3442817bc03ad1f3ffd541092f8c428141; from eafedbc7c050c44744fbdf80bdf3315e860b7513 before 3be72099067d2cd4a0e089696f19780f75b2b88a; from eafedbc7c050c44744fbdf80bdf3315e860b7513 before 2e303f0febb65a434040774b793ba8356698802b; 6.18 (not affected: before 6.18; from 6.18.19 up to 6.18.*; from 6.19.9 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.18.1 before 6.18.19; from 6.19 before 6.19.9; 6.18; 7.0

## References

- <https://git.kernel.org/stable/c/dd109e3442817bc03ad1f3ffd541092f8c428141> (patch)
- <https://git.kernel.org/stable/c/3be72099067d2cd4a0e089696f19780f75b2b88a> (patch)
- <https://git.kernel.org/stable/c/2e303f0febb65a434040774b793ba8356698802b> (patch)

## Sources

- CVE List: [CVE-2026-23400](https://www.cve.org/CVERecord?id=CVE-2026-23400), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2026-23400](https://nvd.nist.gov/vuln/detail/CVE-2026-23400), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-23400 · Whole record: https://cve.day/CVE-2026-23400.json · Rebuilt by cve.day 2026-11-25T22:59:17.484Z
