diff options
author | 2022-08-15 17:23:58 -0700 | |
---|---|---|
committer | 2022-08-17 10:24:00 +0100 | |
commit | 849f16bbfb686cf75e67c536d196027fa8bfc803 (patch) | |
tree | 98212abda746a9872c28fea516c0c8c3b85bccb9 /net/tls/tls_main.c | |
parent | net: sched: fix misuse of qcpu->backlog in gnet_stats_add_queue_cpu (diff) | |
download | linux-dev-849f16bbfb686cf75e67c536d196027fa8bfc803.tar.xz linux-dev-849f16bbfb686cf75e67c536d196027fa8bfc803.zip |
tls: rx: react to strparser initialization errors
Even though the normal strparser's init function has a return
value we got away with ignoring errors until now, as it only
validates the parameters and we were passing correct parameters.
tls_strp can fail to init on memory allocation errors, which
syzbot duly induced and reported.
Reported-by: syzbot+abd45eb849b05194b1b6@syzkaller.appspotmail.com
Fixes: 84c61fe1a75b ("tls: rx: do not use the standard strparser")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tls/tls_main.c')
0 files changed, 0 insertions, 0 deletions