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

From: Eric Biggers
Date: Fri Dec 10 2021 - 18:51:53 EST


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(-)

--
2.34.1