AppArmor 3.1.4 is a bug fix release of the user space components of the AppArmor security project. The kernel portion of the project is maintained and pushed separately.

This version of the userspace should work with all kernel versions from 2.6.15 and later (some earlier version of the kernel if they have the apparmor patches applied).

Important Note

This release fixes CVE-2016-1585. If you are looking at back porting individual patches instead of pulling in the whole release the critical patches were backported as commit aff29ef0ee88e18db74a364e7dca1b4c0fa95e47 from MR:333, please contact the apparmor mailing list or if communications must be private if you need assistance.

Obtaining the Release

There are two ways to obtain this release either through gitlab or a tarball in launchpad.

Important note: the gitlab release tarballs differ from the launchpad release tarballs. The launchpad release tarball has a couple processing steps already performed:

  • libapparmor is already done, meaning distros only need to use ./configure in their build setup
  • the docs for everything but libapparmor have already been built



Changes in this Release

These release notes cover all changes between 3.1.3 (c8eefe44) ) and 3.1.4 (e5a3c03357df1c279a529f8bd8ac0b82e26b427f) on the [apparmor-3.1 branch](


Policy Compiler (a.k.a apparmor_parser)

  • added missing kernel mount options (MR:1005, MR:1026)
  • Fix mount rules encoding (MR:333)
  • fix definitely and possibly lost memory leaks (MR:992)




  • several fixes for samba-related profiles and the kerberos abstraction (MR:991)
  • base
    • allow reading tzdata ICU zoneinfo DB (MR:1007)


  • Sync apparmor-3.1 profiles with master (MR:1010)
  • several fixes for samba-related profiles and the kerberos abstraction (MR:991)
  • nscd
    • add permission to allow supporting unscd (MR:1031)
  • syslogd