kernel WARN with enabled confined init (AppArmor WARN __add_profile: ((!mutex_is_locked(&profile->ns->lock))
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
New
|
Undecided
|
Unassigned |
Bug Description
I play around confined init (disabled SECURITY_
Looks like default system profile created ok during boot, I can reload it later on custom default profile. So, I don't see any issues with confined init work.
I know, you don't suppor custom kernels, but, I just want let you know. Hope this helps in your work.
May 22 13:44:01 totoro kernel: [ 0.023113] Security Framework initialized
May 22 13:44:01 totoro kernel: [ 0.023219] ------------[ cut here ]------------
May 22 13:44:01 totoro kernel: [ 0.023225] WARNING: CPU: 0 PID: 0 at security/
May 22 13:44:01 totoro kernel: [ 0.023226] AppArmor WARN __add_profile: ((!mutex_
May 22 13:44:01 totoro kernel: [ 0.023227] Modules linked in:
May 22 13:44:01 totoro kernel: [ 0.023229] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.8.17-hardened-r2 #844
May 22 13:44:01 totoro kernel: [ 0.023230] Hardware name: Gigabyte Technology Co., Ltd. EP35-DS3L/
May 22 13:44:01 totoro kernel: [ 0.023233] 0000000000000000 ca094ea0ca094e88 0000000000000286 0000000000000000
May 22 13:44:01 totoro kernel: [ 0.023235] ffffffff8143ce0e ffffffff81148b8e ca094ea0ca094e88 ffffffff81e03e48
May 22 13:44:01 totoro kernel: [ 0.023237] 0000000000000000 ffffffff810d4c24 ffffffff81ba88c3 ffffffff81e03eb8
May 22 13:44:01 totoro kernel: [ 0.023239] Call Trace:
May 22 13:44:01 totoro kernel: [ 0.023245] [<ffffffff8143c
May 22 13:44:01 totoro kernel: [ 0.023248] [<ffffffff81148
May 22 13:44:01 totoro kernel: [ 0.023251] [<ffffffff810d4
May 22 13:44:01 totoro kernel: [ 0.023253] [<ffffffff810d4
May 22 13:44:01 totoro kernel: [ 0.023254] [<ffffffff813c5
May 22 13:44:01 totoro kernel: [ 0.023255] [<ffffffff813c6
May 22 13:44:01 totoro kernel: [ 0.023259] [<ffffffff81fea
May 22 13:44:01 totoro kernel: [ 0.023261] [<ffffffff81fe9
May 22 13:44:01 totoro kernel: [ 0.023264] [<ffffffff81fa8
May 22 13:44:01 totoro kernel: [ 0.023265] [<ffffffff81fa7
May 22 13:44:01 totoro kernel: [ 0.023267] [<ffffffff81fa7
May 22 13:44:01 totoro kernel: [ 0.023269] ---[ end trace f68728a0d3053b52 ]---
May 22 13:44:01 totoro kernel: [ 0.023273] AppArmor: AppArmor initialized
My kernel AppArmor configuration:
CONFIG_
CONFIG_
# CONFIG_
# CONFIG_
# CONFIG_
# CONFIG_