AppArmor v3α6 triggers a kernel bug on CONFIG_PREEMPT=y
Bug #1312527 reported by
David F.
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Confirmed
|
High
|
Unassigned |
Bug Description
The AppArmor version currently in the kernel of Trusty Tahr and Unique Unicorn (v3 alpha 6, commit 3cb3b90762b3e21
Changed in apparmor: | |
status: | Incomplete → Confirmed |
tags: | added: aa-kernel |
Changed in apparmor: | |
importance: | Undecided → High |
To post a comment you must log in.
It appears function __file_path_perm() of source file security/ apparmor/ file.c performs the unsynchronised operations __get_buffers() and __put_buffers() instead of the synchronised get_buffers() and put_buffers(). The attached patch fixes the issue for me.