[GIT PULL] apparmor bug fixes for v5.3-rc6

From: John Johansen
Date: Tue Jun 18 2019 - 21:49:42 EST


Hi Linus,

Can you please pull the following bug fixes for apparmor

Thanks!

- John


The following changes since commit 9e0babf2c06c73cda2c0cd37a1653d823adb40ec:

Linux 5.2-rc5 (2019-06-16 08:49:45 -1000)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor tags/apparmor-pr-2019-06-18

for you to fetch changes up to 156e42996bd84eccb6acf319f19ce0cb140d00e3:

apparmor: reset pos on failure to unpack for various functions (2019-06-18 16:04:16 -0700)

----------------------------------------------------------------
+ Bug Fixes
- Fix PROFILE_MEDIATES for untrusted input
- enforce nullbyte at end of tag string
- reset pos on failure to unpack for various functions

----------------------------------------------------------------
Jann Horn (1):
apparmor: enforce nullbyte at end of tag string

John Johansen (1):
apparmor: fix PROFILE_MEDIATES for untrusted input

Mike Salvatore (1):
apparmor: reset pos on failure to unpack for various functions

security/apparmor/include/policy.h | 11 ++++++++-
security/apparmor/policy_unpack.c | 49 +++++++++++++++++++++++++++++++-------
2 files changed, 50 insertions(+), 10 deletions(-)