lkml.org 
[lkml]   [2022]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH net] ax25: use after free in ax25_connect
From
Date
I get it.

Thanks.

On 2022/1/14 下午11:19, Eric Dumazet wrote:
>
> On 1/13/22 22:54, Hangyu Hua wrote:
>> Any suggestions for this patch ? Guys.
>>
>> I think putting sk_to_ax25 after lock_sock(sk) here will avoid any
>> possilbe race conditions like other functions in ax25_proto_ops. CTING) {
>>
>
> As explained, your patch is not needed.
>
> You failed to describe how a race was possible.
>
> Just moving code around wont help.
>
> How about providing a stack trace or some syzbot repro ?
>

\
 
 \ /
  Last update: 2022-01-17 02:37    [W:1.739 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site