[PATCH] Cipso: cipso_v4_optptr enter infinite loop

David Miller davem at davemloft.net
Tue Aug 1 15:31:58 PDT 2017


From: Yujuan Qi <yujuan.qi at mediatek.com>
Date: Mon, 31 Jul 2017 11:23:01 +0800

> From: "yujuan.qi" <yujuan.qi at mediatek.com>
> 
> in for(),if((optlen > 0) && (optptr[1] == 0)), enter infinite loop.
> 
> Test: receive a packet which the ip length > 20 and the first byte of ip option is 0, produce this issue
> 
> Signed-off-by: yujuan.qi <yujuan.qi at mediatek.com>

Applied, thanks.



More information about the Linux-mediatek mailing list