Staging
v0.8.1
v0.8.1
https://github.com/torvalds/linux
Revision a5b2c5b2ad5853591a6cac6134cd0f599a720865 authored by Kees Cook on 31 May 2011, 18:31:41 UTC, committed by James Morris on 01 June 2011, 03:07:03 UTC
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. Signed-off-by: Kees Cook <kees@ubuntu.com> Signed-off-by: John Johansen <john.johansen@canonical.com> Cc: stable@kernel.org Signed-off-by: James Morris <jmorris@namei.org>
1 parent e12ca23
Tip revision: a5b2c5b2ad5853591a6cac6134cd0f599a720865 authored by Kees Cook on 31 May 2011, 18:31:41 UTC
AppArmor: fix oops in apparmor_setprocattr
AppArmor: fix oops in apparmor_setprocattr
Tip revision: a5b2c5b
File | Mode | Size |
---|---|---|
00-INDEX | -rw-r--r-- | 2.8 KB |
53c700.txt | -rw-r--r-- | 4.9 KB |
BusLogic.txt | -rw-r--r-- | 25.8 KB |
ChangeLog.1992-1997 | -rw-r--r-- | 58.5 KB |
ChangeLog.arcmsr | -rw-r--r-- | 6.6 KB |
ChangeLog.ips | -rw-r--r-- | 5.2 KB |
ChangeLog.lpfc | -rw-r--r-- | 87.6 KB |
ChangeLog.megaraid | -rw-r--r-- | 23.4 KB |
ChangeLog.megaraid_sas | -rw-r--r-- | 19.3 KB |
ChangeLog.ncr53c8xx | -rw-r--r-- | 22.3 KB |
ChangeLog.sym53c8xx | -rw-r--r-- | 28.8 KB |
ChangeLog.sym53c8xx_2 | -rw-r--r-- | 5.9 KB |
FlashPoint.txt | -rw-r--r-- | 8.4 KB |
LICENSE.FlashPoint | -rw-r--r-- | 2.6 KB |
LICENSE.qla2xxx | -rw-r--r-- | 16.9 KB |
Mylex.txt | -rw-r--r-- | 311 bytes |
NinjaSCSI.txt | -rw-r--r-- | 3.6 KB |
aacraid.txt | -rw-r--r-- | 6.7 KB |
advansys.txt | -rw-r--r-- | 9.3 KB |
aha152x.txt | -rw-r--r-- | 6.4 KB |
aic79xx.txt | -rw-r--r-- | 23.5 KB |
aic7xxx.txt | -rw-r--r-- | 19.3 KB |
aic7xxx_old.txt | -rw-r--r-- | 23.9 KB |
arcmsr_spec.txt | -rw-r--r-- | 22.4 KB |
cxgb3i.txt | -rw-r--r-- | 3.2 KB |
dc395x.txt | -rw-r--r-- | 3.3 KB |
dpti.txt | -rw-r--r-- | 3.5 KB |
dtc3x80.txt | -rw-r--r-- | 1.9 KB |
g_NCR5380.txt | -rw-r--r-- | 2.2 KB |
hpsa.txt | -rw-r--r-- | 5.0 KB |
hptiop.txt | -rw-r--r-- | 4.4 KB |
ibmmca.txt | -rw-r--r-- | 75.8 KB |
in2000.txt | -rw-r--r-- | 8.2 KB |
libsas.txt | -rw-r--r-- | 16.4 KB |
link_power_management_policy.txt | -rw-r--r-- | 729 bytes |
lpfc.txt | -rw-r--r-- | 3.2 KB |
megaraid.txt | -rw-r--r-- | 3.0 KB |
ncr53c8xx.txt | -rw-r--r-- | 71.9 KB |
osd.txt | -rw-r--r-- | 8.2 KB |
osst.txt | -rw-r--r-- | 8.6 KB |
ppa.txt | -rw-r--r-- | 411 bytes |
qlogicfas.txt | -rw-r--r-- | 3.2 KB |
scsi-changer.txt | -rw-r--r-- | 6.1 KB |
scsi-generic.txt | -rw-r--r-- | 4.1 KB |
scsi-parameters.txt | -rw-r--r-- | 3.6 KB |
scsi.txt | -rw-r--r-- | 2.2 KB |
scsi_eh.txt | -rw-r--r-- | 16.2 KB |
scsi_fc_transport.txt | -rw-r--r-- | 21.4 KB |
scsi_mid_low_api.txt | -rw-r--r-- | 59.1 KB |
st.txt | -rw-r--r-- | 24.5 KB |
sym53c500_cs.txt | -rw-r--r-- | 1.1 KB |
sym53c8xx_2.txt | -rw-r--r-- | 39.3 KB |
tmscsim.txt | -rw-r--r-- | 20.6 KB |
Computing file changes ...