Bad Binder: freed binder thread still on an epoll waitlist
A device thread hands its wait queue to epoll, then a thread-exit path frees the thread without removing that registration, so epoll cleanup later dereferences freed kernel memory.
- Product
- Android / Linux kernel Binder driver (drivers/android/binder.c)
- Vendor
- Google / Linux kernel
- Affected
- Android kernels 3.18, 4.4, 4.9, 4.14 that shipped without the upstream fix (e.g. Pixel 1/2, several 2018-era devices); upstream Linux without commit f5cb779
- Fixed in
- Upstream Linux commit f5cb779ba16334b45ba8946d6bfa6d9834d1527f (in 4.14, backported to 4.4/4.9); Android Security Bulletin October 2019
- Weakness
- CWE-416
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 11 Oct 2019
Classified as
References
Related CVEs
- CVE-2024-1086high 7.82024
Linux nf_tables double-free via unvalidated verdict (CVE-2024-1086)
A packet-verdict validator checks only the masked action bits, so a DROP verdict carrying a positive error field slips through; the drop path then frees the packet and returns that positive value as an accept, freeing it a second time.
- CVE-2021-0920medium 6.42021
AF_UNIX MSG_PEEK garbage-collection race
A MSG_PEEK receive could duplicate SCM_RIGHTS file references without synchronizing with AF_UNIX garbage collection, allowing GC to free a message buffer that the peeking receiver still used.
- CVE-2019-0708critical 9.82019
BlueKeep: Windows RDP MS_T120 pre-auth use-after-free (CVE-2019-0708)
RDP binds the internal channel MS_T120 to a fixed slot, but a client can bind that same name to a second slot too. On teardown the channel object is freed once while the duplicate binding still points at it, so a later channel operation dereferences a dangling pointer: a pre-authentication, wormable use-after-free. So dangerous that Microsoft shipped out-of-band patches even for out-of-support Windows XP and Server 2003, and the NSA issued a rare public advisory urging patching for fear of a WannaCry-scale worm.
- CVE-2017-9798high 7.52017
Optionsbleed: a request-pool method enters a global table
An unrecognized method in a per-directory Limit directive was registered globally using memory owned by temporary `.htaccess` processing. After that pool was freed, an OPTIONS response walked stale method-name pointers and could reflect process memory in its Allow header.