~/talk

Bad io_uring: A New Era of Rooting for Android

Talkat Black Hat USA 2023 · 2023-08-05..08-10· [android, security]
links:none on file
name:Kang Li
links:none on file
links:none on file
links:none on file
slides:none on file

Exploit traces a CVE-2022-20409 use-after-free in io_uring identity that frees an iouring_task object when copy-on-write races across threads, then reclaims that slab slot with a pipe buffer to convert the bug into an arbitrary read/write primitive. A user-mapped iov/ring page spray called 30 page spray reuses freed pages so pipe_buffer’s ops pointer leaks kernel addresses and enables privilege escalation on Google Pixel 6 and Samsung S22, with a KNOX cred-forging bypass by tampering the slab cache pointer.

AI-written summary · about

  1. 0:00io_uring and security risks
  2. 5:23Exploiting io_uring bugs
  3. 10:46Memory corruption from invalid free
  4. 15:28Page spray for kernel heap
  5. 19:47Demo: Arbitrary read/write on Pixel 6
  6. 21:52Bypassing Samsung Knox protection
  7. 23:42Demo: Privilege escalation on S22
  8. 24:04Key takeaways and trends
  9. 25:49Q&A: Disabling io_uring
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.