Skip to content

audit: Fix two bugs with deleting audit watches

Jan Kara linux-audit stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2audit: Fix use after free in audit_remove_watch_rule()kernel/audit_watch.c+7 -53 replies
2/2audit: Receive unmount eventkernel/audit_watch.c+1 -12 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchTony JonesRichard Guy Briggs
1/2T-b R-b
2/2R-b

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/2] audit: Fix two bugs with deleting audit watches

Hello,

Tony pointed me to a long-standing use after free issue in audit watch subsystem. The first patch should fix this. When analyzing and fixing that issue, I've noticed that audit watch does not received FS_UNMOUNT event although from the code it seems it expects to receive it - patch two fixes that. The patches survive some basic testing but especially for the second patch I'd like someone with more experience with audit subsystem to have a look whether the patch makes sense.

Honza