]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
UBUNTU: SAUCE: apparmor: fix oops in bind_mnt when dev_path lookup fails
authorJohn Johansen <john.johansen@canonical.com>
Sat, 3 Dec 2016 10:36:39 +0000 (02:36 -0800)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 20 Feb 2017 03:57:58 +0000 (20:57 -0700)
commitfef99ed9e0a0183e73f5611b68585a6cc53bdb96
tree4c8ffa604ea128228dddc64f3c8b8619de34f1cb
parent78bc9645c765a9395f07b5bd079c51c3ea66347b
UBUNTU: SAUCE: apparmor: fix oops in bind_mnt when dev_path lookup fails

Bind mounts can oops when devname lookup fails because the devname is
uninitialized and used in auditing the denial.

BugLink: http://bugs.launchpad.net/bugs/1660840
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
security/apparmor/mount.c