]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd2f9e6eff04abfa908a829aad46a9d749d175752
treec77ba33014b956c110acfe9afd5dd81ac992f661
parent209286c77316ba3209b29a3d1d38fbc8796022c9
parent72c05e1df06575e23d5dbcfa0834e98b1f8a892b
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>