[PATCH 5.10 0/5] aio poll fixes for 5.10

From: Eric Biggers
Date: Fri Dec 10 2021 - 18:48:52 EST


Backport the aio poll fixes to 5.10. This resolves a conflict in
aio_poll_wake() in patch 4. It's a "trivial" conflict, but I'm sending
this to make sure it doesn'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(-)

--
2.34.1