mbox series

[5.4,0/5] aio poll fixes for 5.4

Message ID 20211210235054.40103-1-ebiggers@kernel.org
Headers show
Series aio poll fixes for 5.4 | expand

Message

Eric Biggers Dec. 10, 2021, 11:50 p.m. UTC
Backport the aio poll fixes to 5.4.  This resolves conflicts in patches
1 and 4.  They are "trivial" conflicts, but I'm sending this to make
sure patches don't get dropped.

Eric Biggers (5):
  wait: add wake_up_pollfree()
  binder: use wake_up_pollfree()
  signalfd: use wake_up_pollfree()
  aio: keep poll requests on waitqueue until completed
  aio: fix use-after-free due to missing POLLFREE handling

 drivers/android/binder.c        |  21 ++--
 fs/aio.c                        | 184 ++++++++++++++++++++++++++------
 fs/signalfd.c                   |  12 +--
 include/linux/wait.h            |  26 +++++
 include/uapi/asm-generic/poll.h |   2 +-
 kernel/sched/wait.c             |   7 ++
 6 files changed, 195 insertions(+), 57 deletions(-)