Merge branch 'net-smc-fixes-2022-04-08'
authorJakub Kicinski <kuba@kernel.org>
Tue, 12 Apr 2022 01:28:07 +0000 (18:28 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Apr 2022 01:28:08 +0000 (18:28 -0700)
commitd6d9fc1d37f9bb911ba7013d7628a03bb4cb2561
treec77ba33014b956c110acfe9afd5dd81ac992f661
parent5ad7f18cd82cee8e773d40cc7a1465a526f2615c
parent49b7d376abe54a49e8bd5e64824032b7c97c62d4
Merge branch 'net-smc-fixes-2022-04-08'

Karsten Graul says:

====================
net/smc: fixes 2022-04-08

Patch 1 fixes two usages of snprintf() with non null-terminated
string which results into an out-of-bounds read.
Pach 2 fixes a syzbot finding where a pointer check was missed
before the call to dev_name().
Patch 3 fixes a crash when already released memory is used as
a function pointer.
====================

Link: https://lore.kernel.org/r/20220408151035.1044701-1-kgraul@linux.ibm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>