Skip to content
Commit b999ab22 authored by Miklos Szeredi's avatar Miklos Szeredi Committed by popcornmix
Browse files

ima: use file_dentry()

commit e71b9dff

 upstream.

Ima tries to call ->setxattr() on overlayfs dentry after having locked
underlying inode, which results in a deadlock.

Reported-by: default avatarKrisztian Litkey <kli@iki.fi>
Fixes: 4bacc9c9

 ("overlayfs: Make f_path always point to the overlay and f_inode to the underlay")
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
Cc: Mimi Zohar <zohar@linux.vnet.ibm.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4031fcee
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment