[PATCH] rds: avoid potential stack overflow

David Miller davem at davemloft.net
Mon Mar 9 19:41:18 PDT 2015


From: Arnd Bergmann <arnd at arndb.de>
Date: Mon, 09 Mar 2015 13:06:52 +0100

> The rds_iw_add_conn function stores a large 'struct rds_sock' object
> on the stack in order to pass a pair of addresses.

As Sowmini pointed out, this function is not the top-level
guilty one, it's rds_iw_update_cm_id.

Please respin this with a corrected commit message, thanks.



More information about the linux-arm-kernel mailing list