Skip to content

Fix fanotify regression

Jan Kara linux-fsdevel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3fanotify: Fix use after free in mask checkingfs/notify/fanotify/fanotify.c+11 -100 replies
2/3fsnotify: Do not return merged event from fsnotify_add_notify_event()fs/notify/fanotify/fanotify.c fs/notify/inotify/inotify_fsnotify.c fs/notify/notification.c +1 more+30 -390 replies
3/3fanotify: Fix use after free for permission eventsfs/notify/fanotify/fanotify.c fs/notify/fanotify/fanotify.h fs/notify/fanotify/fanotify_user.c+17 -20 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchDave JonesJiri Kosina
SeriesT-b Reported-and-tested-by
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Fix fanotify regression

Hello,

as Dave and Jiri noticed my latest changes to notification framework
caused some use-after-free issues with fanotify (I've been too eager to remove the use count in the event without realizing all the implications with permission events). These three patches fix the issues. Dave, Jiri, can you give a final testing round to this cleaned up set of patches? Thanks! If they pass, I'll send a pull request with the patches to Linus.

Honza