lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 14 Jul 2017 08:58:32 -0700 (PDT) From: David Miller <davem@...emloft.net> To: glider@...gle.com Cc: dvyukov@...gle.com, kcc@...gle.com, edumazet@...gle.com, lucien.xin@...il.com, linux-kernel@...r.kernel.org, netdev@...r.kernel.org Subject: Re: [PATCH v2] sctp: don't dereference ptr before leaving _sctp_walk_{params,errors}() From: Alexander Potapenko <glider@...gle.com> Date: Fri, 14 Jul 2017 12:03:29 +0200 > v2: per comment from David Miller, make sure the whole iterator->length > fits into the remaining buffer. Please compile and functionally test your changes: In file included from ./include/linux/compiler.h:58:0, from ./include/uapi/linux/stddef.h:1, from ./include/linux/stddef.h:4, from ./include/uapi/linux/posix_types.h:4, from ./include/uapi/linux/types.h:13, from ./include/linux/types.h:5, from net/sctp/sm_statefuns.c:48: net/sctp/sm_statefuns.c: In function ‘sctp_sf_do_reconf’: ./include/net/sctp/sctp.h:472:24: error: unknown type name ‘sctp_paramhdr_t’ (pos.v + offsetof(sctp_paramhdr_t, length) + sizeof(pos.p->length) <\ ^
Powered by blists - more mailing lists