diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2016-09-16 12:44:20 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-10-16 17:50:38 +0200 |
commit | 889995959eb082d515effe001e51bbf2f7324059 (patch) | |
tree | fa8350326b388ef381dc1e68fc78c5c5c2776662 /drivers/char/tpm/tpm.h | |
parent | 8f730426896bb58cdf670a483451ad388c68a884 (diff) | |
download | lwn-889995959eb082d515effe001e51bbf2f7324059.tar.gz lwn-889995959eb082d515effe001e51bbf2f7324059.zip |
ima: use file_dentry()
commit e71b9dff0634edb127f449e076e883ef24a8c76c upstream.
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: Mimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/tpm/tpm.h')
0 files changed, 0 insertions, 0 deletions