summaryrefslogtreecommitdiff
path: root/net/smc/smc_ism.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-01-12 19:21:21 +0300
committerJakub Kicinski <kuba@kernel.org>2021-01-13 07:22:01 +0300
commit25fe2c9c4cd2e97c5f5b69f3aefe69aad3057936 (patch)
tree09e27f006401b300b01ef8d4bcb890bbf6bbcdaf /net/smc/smc_ism.c
parent584c19f92754e9d590d75a94df66c47f7c4fd2cc (diff)
downloadlinux-25fe2c9c4cd2e97c5f5b69f3aefe69aad3057936.tar.xz
smc: fix out of bound access in smc_nl_get_sys_info()
smc_clc_get_hostname() sets the host pointer to a buffer which is not NULL-terminated (see smc_clc_init()). Reported-by: syzbot+f4708c391121cfc58396@syzkaller.appspotmail.com Fixes: 099b990bd11a ("net/smc: Add support for obtaining system information") Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/smc/smc_ism.c')
0 files changed, 0 insertions, 0 deletions