AppArmor leaks kernel memory during profile reloads
Bug #1375416 reported by
Jamie Strandboge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Medium
|
Tyler Hicks |
Bug Description
The kmemleak kernel debugging system indicates that AppArmor leaks kernel memory during profile reloads.
I've attached a script (test.sh) that I can consistently reproduce the kmemleak report with.
I've also attached the output of the script, which includes the kmemleak report.
These leaks can be reproduced with debug kernel builds of Ubuntu-3.16.0-16.22 and Ubuntu-
I've looked into this more and have determined that it is an old bug and was not introduced by apparmor 3 RC1. There may be new leaks in apparmor 3 RC1 but there is a basic, fundamental leak on profile reloading present in the kernel released just before apparmor 3 RC1 landed.
I'll adjust the title and description to include the details.