[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191107.161617.487096520289194233.davem@davemloft.net>
Date: Thu, 07 Nov 2019 16:16:17 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com,
syzkaller@...glegroups.com
Subject: Re: [PATCH net-next] inetpeer: fix data-race in inet_putpeer /
inet_putpeer
From: Eric Dumazet <edumazet@...gle.com>
Date: Thu, 7 Nov 2019 10:30:42 -0800
> We need to explicitely forbid read/store tearing in inet_peer_gc()
> and inet_putpeer().
>
> The following syzbot report reminds us about inet_putpeer()
> running without a lock held.
>
> BUG: KCSAN: data-race in inet_putpeer / inet_putpeer
...
> Fixes: 4b9d9be839fd ("inetpeer: remove unused list")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: syzbot <syzkaller@...glegroups.com>
Applied.
Powered by blists - more mailing lists