[PATCH 3.4 06/12] SELinux: Fix possible NULL pointer dereference in selinux_inode_permission()

2014-01-25 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt commit 3dc91d4338d698ce77832985f9cb183d8eeaf6be upstream. While running stress tests on adding and deleting ftrace instances I hit this bug: BUG: unable to handle kernel NULL

[PATCH 3.4 06/12] SELinux: Fix possible NULL pointer dereference in selinux_inode_permission()

2014-01-25 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt rost...@goodmis.org commit 3dc91d4338d698ce77832985f9cb183d8eeaf6be upstream. While running stress tests on adding and deleting ftrace instances I hit this bug: BUG: unable to