[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150827.140000.2029372676821851500.davem@davemloft.net>
Date: Thu, 27 Aug 2015 14:00:00 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: lucien.xin@...il.com
Cc: netdev@...r.kernel.org, mleitner@...hat.com, vyasevic@...hat.com
Subject: Re: [PATCH net v4] sctp: asconf's process should verify address
parameter is in the beginning
From: Xin Long <lucien.xin@...il.com>
Date: Thu, 27 Aug 2015 16:26:34 +0800
> in sctp_process_asconf(), we get address parameter from the beginning of
> the addip params. but we never check if it's really there. if the addr
> param is not there, it still can pass sctp_verify_asconf(), then to be
> handled by sctp_process_asconf(), it will not be safe.
>
> so add a code in sctp_verify_asconf() to check the address parameter is in
> the beginning, or return false to send abort.
>
> note that this can also detect multiple address parameters, and reject it.
>
> Signed-off-by: Xin Long <lucien.xin@...il.com>
> Signed-off-by: Marcelo Ricardo Leitner <mleitner@...hat.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists