oss-sec mailing list archives

CVE Request -- kernel: send(m)msg: user pointer dereferences


From: Petr Matousek <pmatouse () redhat com>
Date: Thu, 8 Dec 2011 20:15:48 +0100

Dereferencing a user pointer directly from kernel-space without going
through the copy_from_user family of functions is a bad idea. Two of
such usages can be found in the sendmsg code path called from
sendmmsg, added by upstream commit
c71d8ebe7a4496fb7231151cb70a6baa0cb56f9a. Usages are performed through
memcmp() and memcpy() directly. 

Upstream commit:
bc909d9ddbf7778371e36a651d6e4194b1cc7d4c

References:
https://bugzilla.redhat.com/show_bug.cgi?id=761646

Thanks,
-- 
Petr Matousek / Red Hat Security Response Team


Current thread: