* Re: possible deadlock in sctp_close
@ 2017-06-27 12:02 Neil Horman
0 siblings, 0 replies; only message in thread
From: Neil Horman @ 2017-06-27 12:02 UTC (permalink / raw)
To: linux-sctp
On Tue, Jun 27, 2017 at 02:34:00PM +0800, GeneBlue wrote:
> Hi:
> I got this error when fuzzing linux kernel 4.11.rc1 by running
> syzkaller.
>
>
>
> ======================> [ INFO: possible recursive locking detected ]
> 4.11.0-rc1 #10 Not tainted
> ---------------------------------------------
> syz-executor3/11836 is trying to acquire lock:
> (sk_lock-AF_INET){+.+.+.}, at: [<ffffffff83207811>] lock_sock
> include/net/sock.h:1460 [inline]
> (sk_lock-AF_INET){+.+.+.}, at: [<ffffffff83207811>] sctp_close+0xa1/0x720
> net/sctp/socket.c:1497
>
> but task is already holding lock:
> (sk_lock-AF_INET){+.+.+.}, at: [<ffffffff83219b98>] lock_sock
> include/net/sock.h:1460 [inline]
> (sk_lock-AF_INET){+.+.+.}, at: [<ffffffff83219b98>]
> sctp_getsockopt+0x228/0x47c0 net/sctp/socket.c:6611
>
> other info that might help us debug this:
> Possible unsafe locking scenario:
>
> CPU0
> ----
> lock(sk_lock-AF_INET);
> lock(sk_lock-AF_INET);
>
> *** DEADLOCK ***
>
> May be due to missing lock nesting notation
>
Looks like this has already been reported, and was fixed via commit 6dfe4b97e,
available in v4.12-rc5
Neil
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-06-27 12:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-27 12:02 possible deadlock in sctp_close Neil Horman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.