Re: [PATCH] SELinux: Fix possible NULL pointer dereference in selinux_inode_permission()

From: Stephen Smalley
Date: Thu Jan 09 2014 - 11:12:14 EST


On 01/09/2014 11:05 AM, Eric Paris wrote:
> [adding lsm and selinux]
>
> Am I just crazy, or was this bug discussed (and obviously not fixed)
> some time ago?
>
> VFS can still use inodes after security_inode_free_security() was
> called...

I didn't know that was the case; originally when we added the hook it
was not possible. I have seen a Red Hat bugzilla report about it,
but no upstream discussion.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/