]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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)
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>

Trivial merge