Re: [PATCH] AppArmor: fix oops in apparmor_setprocattr
From: Tetsuo Handa
Date: Tue May 31 2011 - 20:46:24 EST
James Morris wrote:
> Is this trigger able by unprivileged users?
Anybody who can call .setprocattr LSM hook can trigger this bug, but for most
configurations BUG_ON() will prevent NULL pointer dereference.
179 int aa_audit(int type, struct aa_profile *profile, gfp_t gfp,
180 struct common_audit_data *sa,
181 void (*cb) (struct audit_buffer *, void *))
182 {
183 BUG_ON(!profile);
> From which upstream commit is this an issue?
Since 2.6.36.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/