On 10/04/2021 20:17, Cong Wang wrote:
> From: Cong Wang <cong.w...@bytedance.com>
> 
> syzbot is able to setup kTLS on an SMC socket, which coincidentally
> uses sk_user_data too, later, kTLS treats it as psock so triggers a
> refcnt warning. The cause is that smc_setsockopt() simply calls
> TCP setsockopt(). I do not think it makes sense to setup kTLS on
> top of SMC, so we can just disallow this.
> 
> Reported-and-tested-by: syzbot+b54a1ce86ba4a623b...@syzkaller.appspotmail.com
> Cc: John Fastabend <john.fastab...@gmail.com>
> Cc: Karsten Graul <kgr...@linux.ibm.com>
> Signed-off-by: Cong Wang <cong.w...@bytedance.com>
> ---

Signed-off-by: Karsten Graul <kgr...@linux.ibm.com>

Reply via email to