]> git.baikalelectronics.ru Git - kernel.git/commit
smc: some potential use after free bugs
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 30 Jan 2017 09:55:04 +0000 (10:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Jan 2017 21:37:55 +0000 (16:37 -0500)
commit2c7f34e8846aff18faf11755bd5c6f9839d07cb6
treea45096fd9e8aaeea2eac1f1999a3d17dfeb0d02b
parentbbc476ba1e5b2cc027fb52050fc4784af6ec468d
smc: some potential use after free bugs

Say we got really unlucky and these failed on the last iteration, then
it could lead to a use after free bug.

Fixes: 6d24c9bf5120 ("smc: remote memory buffers (RMBs)")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_core.c