[PATCH AUTOSEL 5.0 010/262] apparmor: fix double free when unpack of secmark rules fails

Pavel Machek pavel at ucw.cz
Thu Mar 28 10:08:48 UTC 2019


> From: John Johansen <john.johansen at canonical.com>
> 
> [ Upstream commit d8dbb581d4f86a2ac669c056fc71a28ebeb367f4 ]
> 
> if secmark rules fail to unpack a double free happens resulting in
> the following oops

> 
> Fixes: 9caafbe2b4cf ("apparmor: Parse secmark policy")
> Reported-by: Alex Murray <alex.murray at canonical.com>
> Signed-off-by: John Johansen <john.johansen at canonical.com>
> Signed-off-by: Sasha Levin <sashal at kernel.org>

Acked-for-stable: Pavel Machek <pavel at ucw.cz>

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html



More information about the Linux-security-module-archive mailing list