From: John Johansen john.johansen@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@canonical.com Signed-off-by: John Johansen john.johansen@canonical.com Signed-off-by: Sasha Levin sashal@kernel.org
Acked-for-stable: Pavel Machek pavel@ucw.cz