Thread (30 messages) 30 messages, 4 authors, 2020-03-26

Re: WARNING: refcount bug in sctp_wfree

From: Qiujun Huang <hidden>
Date: 2020-03-16 16:25:32
Also in: linux-sctp, lkml

On Mon, Mar 16, 2020 at 11:52 PM Will Deacon [off-list ref] wrote:
On Tue, Mar 10, 2020 at 09:01:18AM -0700, Kees Cook wrote:
quoted
On Tue, Mar 10, 2020 at 02:39:01AM -0700, syzbot wrote:
quoted
syzbot has bisected this bug to:

commit fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca
Author: Will Deacon [off-list ref]
Date:   Thu Nov 21 11:59:00 2019 +0000

    locking/refcount: Consolidate implementations of refcount_t
I suspect this is just bisecting to here because it made the refcount
checks more strict?
Yes, this is the commit that enables full refcount checking for all
architectures unconditionally, so it's the canary in the coalmine rather
than the source of the problem.
Yes, I tracked it down. And sent out a fix:
https://lore.kernel.org/netdev/1584330804-18477-1-git-send-email-hqjagain@gmail.com (local)
Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help