← Back to team overview

kernel-packages team mailing list archive

[Bug 1235973] Re: apparmor Mem leak of profile replacedby struct

 

This bug was fixed in the package linux-manta - 3.4.0-4.19

---------------
linux-manta (3.4.0-4.19) saucy; urgency=low

  [ John Johansen ]

  * SAUCE: apparmor: fix unix domain sockets to be mediated on connection
    - LP: #1208988
  * SAUCE: apparmor: allocate path lookup buffers during init
    - LP: #1208988
  * SAUCE: apparmor: fix memleak of the profile hash
    - LP: #1235523
  * SAUCE: apparmor: fix memleak of replacedby struct
    - LP: #1235973
  * SAUCE: apparmor: fix bad lock balance when introspecting policy
    - LP: #1235977

  [ Scott James Remnant ]

  * SAUCE: (no-up) trace: add trace events for open(), exec() and uselib()
    - LP: #1194127
 -- Andy Whitcroft <apw@xxxxxxxxxxxxx>   Mon, 07 Oct 2013 18:23:03 +0100

** Changed in: linux-manta (Ubuntu Saucy)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-maguro in Ubuntu.
https://bugs.launchpad.net/bugs/1235973

Title:
  apparmor Mem leak of profile replacedby struct

Status in “linux” package in Ubuntu:
  Fix Released
Status in “linux-goldfish” package in Ubuntu:
  Fix Released
Status in “linux-grouper” package in Ubuntu:
  Fix Released
Status in “linux-maguro” package in Ubuntu:
  Fix Released
Status in “linux-mako” package in Ubuntu:
  Fix Released
Status in “linux-manta” package in Ubuntu:
  Fix Released
Status in “linux” source package in Saucy:
  Fix Released
Status in “linux-goldfish” source package in Saucy:
  Fix Released
Status in “linux-grouper” source package in Saucy:
  Fix Released
Status in “linux-maguro” source package in Saucy:
  Fix Released
Status in “linux-mako” source package in Saucy:
  Fix Released
Status in “linux-manta” source package in Saucy:
  Fix Released

Bug description:
  kmemleak dump of saucy 3.11.0-11-generic kernel

  unreferenced object 0xffff8800245476d8 (size 16):
    comm "apparmor_parser", pid 14163, jiffies 4295196456 (age 3312.192s)
    hex dump (first 16 bytes):
      01 00 00 00 00 00 00 00 30 00 89 3d 00 88 ff ff  ........0..=....
    backtrace:
      [<ffffffff817a99ae>] kmemleak_alloc+0x4e/0xb0
      [<ffffffff811c98b6>] kmem_cache_alloc_trace+0xe6/0x260
      [<ffffffff81386d97>] aa_alloc_replacedby+0x27/0x80
      [<ffffffff8137f1fc>] aa_replace_profiles+0x48c/0xd80
      [<ffffffff813769ea>] profile_load+0x3a/0x60
      [<ffffffff811e9f2d>] vfs_write+0xbd/0x1e0
      [<ffffffff811ea96c>] SyS_write+0x4c/0xa0
      [<ffffffff817cccdd>] system_call_fastpath+0x1a/0x1f
      [<ffffffffffffffff>] 0xffffffffffffffff

  Requires: unconfined root user removing profiles (replacement will not
  cause a leak).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1235973/+subscriptions


References