lkml.org 
[lkml]   [2011]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@namei.org>


\
 
 \ /
  Last update: 2011-06-01 02:27    [W:0.052 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site