Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1320673
| From | "Zhouyi Zhou" <yizhouzhou@ict.ac.cn> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: Re: [PATCH V2] netfilter: h323: avoid potential attack |
| Date | 2016-01-28 14:30 +0100 |
| Message-ID | <qVUO6-3Yo-27@gated-at.bofh.it> (permalink) |
| References | <qVUO6-3Yo-29@gated-at.bofh.it> <qVUO6-3Yo-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Thanks Eric for replying > -----Original Messages----- > From: "Eric Dumazet" <eric.dumazet@gmail.com> > Sent Time: Thursday, January 28, 2016 > To: "Zhouyi Zhou" <zhouzhouyi@gmail.com> > Cc: pablo@netfilter.org, kaber@trash.net, kadlec@blackhole.kfki.hu, davem@davemloft.net, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.or, "Zhouyi Zhou" <yizhouzhou@ict.ac.cn> > Subject: Re: [PATCH V2] netfilter: h323: avoid potential attack > > On Thu, 2016-01-28 at 16:59 +0800, Zhouyi Zhou wrote: > > Thanks Eric for your review and advice. > > > > I think hackers chould build a malicious h323 packet to overflow > > the pointer p which will panic during the memcpy(addr, p, len) > > > > For example, he may fabricate a very large taddr->ipAddress.ip; > > > > Signed-off-by: Zhouyi Zhou <yizhouzhou@ict.ac.cn> > > --- > > Except you did not address my feedback about potentially reading not > initialized memory. > > if the frame length was 1000 bytes, then surely accessing memory at > offset 8000 will either read garbage, or read data from a prior frame > and leak secrets. My patch is intend to prevent kernel panic, to prevent reading garbage or read data from a prior frame and leak secrets, the prototypes of the get_h2x5_addr functions and the functions that call get_h2x5_addr should be changed, should we do this? > > > Cheers Zhouyi
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: Re: [PATCH V2] netfilter: h323: avoid potential attack "Zhouyi Zhou" <yizhouzhou@ict.ac.cn> - 2016-01-28 14:30 +0100
Re: Re: [PATCH V2] netfilter: h323: avoid potential attack Eric Dumazet <eric.dumazet@gmail.com> - 2016-01-28 15:10 +0100
Re: Re: [PATCH V2] netfilter: h323: avoid potential attack Eric Dumazet <eric.dumazet@gmail.com> - 2016-01-28 15:10 +0100
Re: [PATCH V2] netfilter: h323: avoid potential attack One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> - 2016-01-28 15:20 +0100
csiph-web