android_kernel_xiaomi_sm7250/security/apparmor
John Johansen fe1219a289 apparmor: ensure that dfa state tables have entries
commit c27c6bd2c4d6b6bb779f9b722d5607993e1d5e5c upstream.

Currently it is possible to specify a state machine table with 0 length,
this is not valid as optional tables are specified by not defining
the table as present. Further this allows by-passing the base tables
range check against the next/check tables.

Fixes: d901d6a298 ("apparmor: dfa split verification of table headers")
Reported-by: Mike Salvatore <mike.salvatore@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-07-22 09:32:06 +02:00
..
include apparmor: fix nnp subset test for unconfined 2020-06-25 15:32:52 +02:00
.gitignore
apparmorfs.c apparmor: Fix aa_label refcnt leak in policy_update 2020-05-27 17:37:37 +02:00
audit.c apparmor: Fix use-after-free in aa_audit_rule_init 2020-05-27 17:37:37 +02:00
capability.c LSM: generalize flag passing to security_capable 2020-01-23 08:21:29 +01:00
crypto.c
domain.c apparmor: fix nnp subset test for unconfined 2020-06-25 15:32:52 +02:00
file.c
ipc.c LSM: generalize flag passing to security_capable 2020-01-23 08:21:29 +01:00
Kconfig
label.c apparmor: fix nnp subset test for unconfined 2020-06-25 15:32:52 +02:00
lib.c
lsm.c apparmor: don't try to replace stale label in ptraceme check 2020-06-30 23:17:03 -04:00
Makefile
match.c apparmor: ensure that dfa state tables have entries 2020-07-22 09:32:06 +02:00
mount.c
net.c apparmor: Fix network performance issue in aa_label_sk_perm 2020-01-27 14:49:54 +01:00
nulldfa.in
path.c
policy_ns.c
policy_unpack.c
policy.c apparmor: fix aa_xattrs_match() may sleep while holding a RCU lock 2020-01-09 10:19:02 +01:00
procattr.c
resource.c LSM: generalize flag passing to security_capable 2020-01-23 08:21:29 +01:00
secid.c
stacksplitdfa.in
task.c