From: Jan Kara Subject: [PATCH 0/2] audit: Fix two bugs with deleting audit watches Date: Tue, 15 Aug 2017 13:00:35 +0200 Message-ID: <20170815110037.30170-1-jack@suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com (ext-mx09.extmail.prod.ext.phx2.redhat.com [10.5.110.38]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9A5045C544 for ; Tue, 15 Aug 2017 11:14:05 +0000 (UTC) Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E12C3EC53D for ; Tue, 15 Aug 2017 11:14:03 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Paul Moore Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com 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