[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LRH.2.00.1106011024150.16178@tundra.namei.org>
Date: Wed, 1 Jun 2011 10:25:37 +1000 (EST)
From: James Morris <jmorris@...ei.org>
To: Kees Cook <kees.cook@...onical.com>
cc: linux-security-module@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] AppArmor: fix oops in apparmor_setprocattr
On Tue, 31 May 2011, Kees Cook wrote:
> When invalid parameters are passed to apparmor_setprocattr a NULL deref
> oops occurs when it tries to record an audit message. This is because
> it is passing NULL for the profile parameter for aa_audit. But aa_audit
> now requires that the profile passed is not NULL.
>
> Fix this by passing the current profile on the task that is trying to
> setprocattr.
Is this trigger able by unprivileged users?
>From which upstream commit is this an issue?
- James
--
James Morris
<jmorris@...ei.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists