[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20111129.011932.1501413448765180498.davem@davemloft.net>
Date: Tue, 29 Nov 2011 01:19:32 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: xi.wang@...il.com
Cc: linux-kernel@...r.kernel.org, vladislav.yasevich@...com,
sri@...ibm.com, linux-sctp@...r.kernel.org, netdev@...r.kernel.org,
security@...nel.org
Subject: Re: [PATCH] sctp: integer overflow in sctp_auth_create_key()
From: Xi Wang <xi.wang@...il.com>
Date: Tue, 22 Nov 2011 20:55:30 -0500
> The previous commit 30c2235c is incomplete and cannot prevent integer
> overflows. For example, when key_len is 0x80000000 (INT_MAX + 1), the
> left-hand side of the check, (INT_MAX - key_len), which is unsigned,
> becomes 0xffffffff (UINT_MAX) and bypasses the check.
>
> Signed-off-by: Xi Wang <xi.wang@...il.com>
Applied, but I had to apply your patch by hand because it was
corrupted by your email client.
Please fix this problem because I am not applying any other patch
you've submitted which has this issue.
--
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