[syzbot] [lsm?] general protection fault in hook_inode_free_security

Paul Moore paul at paul-moore.com
Tue Jul 9 23:13:35 UTC 2024


On Tue, Jul 9, 2024 at 1:47 AM Christian Brauner <brauner at kernel.org> wrote:
> > > ... or we find a better placement in the VFS for
> > > security_inode_free(), is that is possible.  It may not be, our VFS
> > > friends should be able to help here.
>
> The place where you do it currently is pretty good. I don't see an easy
> way to call it from somewhere else without forcing every filesystem to
> either implement a free_inode or destroy_inode hook.

Mickaël, let me play around with some code, if you don't see anything
from me in a day or two, feel free to bug me :)

-- 
paul-moore.com



More information about the Linux-security-module-archive mailing list