Thread (8 messages) 8 messages, 3 authors, 2017-10-04

[PATCH] fix security_release_secctx seems broken

From: jmorris@namei.org (James Morris)
Date: 2017-10-04 22:11:17
Also in: lkml

On Wed, 4 Oct 2017, Konstantin Khlebnikov wrote:
Just "getcap /bin/ping" is enough to tigger leak if file has capabilities.
Selinux shouldn't be loaded because its release_secctx hook call kfree.
Ahh, makes sense.
But sometimes it takes some time for kmemleak to find leak. Presumably
because stale poiner stays on stack which could be reused nowdays.
Thanks for finding this!


-- 
James Morris
[off-list ref]

--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help