Skip to contentSkip to conversation

buffer overflow in ip_options_echo

DISCUSSION Alex Lyahkov 1 participant 1 message Feb 22, 2004

lore
Share & tools
lore
#0 lore raw

Hello All

When i trued to do stress testing my project i found strange bug in high network activity.
In test started four ab each with 1000 connections in same time. after 25-60 minutes testing i found panic in network subsystem. I patch my kernel with kgdb 1.6 and found that
Program received signal SIGSEGV, Segmentation fault. 0xc0255ad3 in ip_send_reply (sk=0x6e755320, skb=0x3232202c, arg=0x62654620, len=808464928)

    at ip_output.c:982

982 ip_output.c: No such file or directory.
in ip_output.c
(gdb) p replyopts.opt.optlen
$8 = 60 '<'
but functions reserved 40 byte for options and it do overflow.

Signature · 1 line
Alex Lyahkov <[email protected]>