commit | e71b9dff0634edb127f449e076e883ef24a8c76c | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@redhat.com> | Fri Sep 16 12:44:20 2016 +0200 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Fri Sep 16 12:44:20 2016 +0200 |
tree | bc490e6c99d832641198f81a4d2726d13fc052e7 | |
parent | 9395452b4aab7bc2475ef8935b4a4fb99d778d70 [diff] |
ima: use file_dentry() Ima tries to call ->setxattr() on overlayfs dentry after having locked underlying inode, which results in a deadlock. Reported-by: Krisztian Litkey <kli@iki.fi> Fixes: 4bacc9c9234c ("overlayfs: Make f_path always point to the overlay and f_inode to the underlay") Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> Cc: <stable@vger.kernel.org> # v4.2 Cc: Mimi Zohar <zohar@linux.vnet.ibm.com>