login
Header Space

 
 

[RFC XFRM]: esp: fix scatterlist of out bounds access with crypto_eseqiv

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Herbert Xu <herbert@...>
Cc: <linux-crypto@...>, Linux Netdev List <netdev@...>
Date: Monday, April 28, 2008 - 2:55 pm

I ran into occasional BUGs in scatterlist.h, which turned
out the be caused by accessing an uninitialized scatterlist
entry from eseqiv. I'm not sure whether this patch is correct
since I'm seeing invalid packets with and without this patch
(probably related to HIFN though) and I don't understand why
scatterwalk_sg_next() returns either a scatterlist or a
struct page dependant on the length, but at least it fixes
the BUG() for me :)
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC XFRM]: esp: fix scatterlist of out bounds access with c..., Patrick McHardy, (Mon Apr 28, 2:55 pm)
Re: [RFC XFRM]: esp: fix scatterlist of out bounds access wi..., Evgeniy Polyakov, (Tue Apr 29, 10:21 am)
speck-geostationary