Skip to content

aio poll fixes for 5.4

Eric Biggers lkml stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5wait: add wake_up_pollfree()include/linux/wait.h kernel/sched/wait.c+33 -00 replies
2/5binder: use wake_up_pollfree()drivers/android/binder.c+9 -120 replies
3/5signalfd: use wake_up_pollfree()fs/signalfd.c+1 -110 replies
4/5aio: keep poll requests on waitqueue until completedfs/aio.c+63 -200 replies
5/5aio: fix use-after-free due to missing POLLFREE handlingfs/aio.c include/uapi/asm-generic/poll.h+107 -320 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.34.1