Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 28ea23d9 authored by Sridhar Samudrala's avatar Sridhar Samudrala Committed by Adrian Bunk
Browse files

Fix sctp privilege elevation (CVE-2006-3745)


sctp_make_abort_user() now takes the msg_len along with the msg
so that we don't have to recalculate the bytes in iovec.
It also uses memcpy_fromiovec() so that we don't go beyond the
length allocated.

It is good to have this fix even if verify_iovec() is fixed to
return error on overflow.

Signed-off-by: default avatarSridhar Samudrala <sri@us.ibm.com>
Acked-by: default avatarDavid Miller <davem@davemloft.net>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent b9a96aa8
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment