Re: [syzbot] [lsm?] general protection fault in hook_inode_free_security
From: Christian Brauner <brauner@kernel.org>
Date: 2024-07-09 05:12:53
Also in:
linux-fsdevel, lkml
From: Christian Brauner <brauner@kernel.org>
Date: 2024-07-09 05:12:53
Also in:
linux-fsdevel, lkml
bypass? Shouldn't we call all the inode_free_security() hooks in inode_free_by_rcu()? That would mean to reserve an rcu_head and then probably use inode->i_rcu instead.
Note that you can't block in call_rcu(). From a cursory look at the implementers of the hook it should be fine though.