Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1278384
| From | Jiri Slaby <jslaby@suse.cz> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: Deadlock in n_hdlc_buf_put |
| Date | 2015-11-26 19:20 +0100 |
| Message-ID | <qz9jc-ky-7@gated-at.bofh.it> (permalink) |
| References | <qz409-58P-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 11/26/2015, 01:37 PM, Dmitry Vyukov wrote:
> [ 341.376188] =============================================
> [ 341.376607] [ INFO: possible recursive locking detected ]
> [ 341.376607] 4.4.0-rc1+ #117 Not tainted
> [ 341.376607] ---------------------------------------------
> [ 341.376607] syzkaller_execu/14066 is trying to acquire lock:
> [ 341.376607] (&(&list->spinlock)->rlock){......}, at:
> [<ffffffff82a9f548>] n_hdlc_buf_put+0x28/0x170
> [ 341.376607]
> [ 341.376607] but task is already holding lock:
> [ 341.376607] (&(&list->spinlock)->rlock){......}, at:
> [<ffffffff82aa1368>] n_hdlc_tty_ioctl+0x2b8/0x3f0
> [ 341.376607]
> [ 341.376607] other info that might help us debug this:
> [ 341.376607] Possible unsafe locking scenario:
> [ 341.376607]
> [ 341.376607] CPU0
> [ 341.376607] ----
> [ 341.376607] lock(&(&list->spinlock)->rlock);
> [ 341.376607] lock(&(&list->spinlock)->rlock);
Hi,
this is a lockdep false positive. The first one is tx_buf_list.spinlock,
the latter tx_free_buf_list.spinlock, both in flush_tx_queue. So we need
a lockdep annotation here.
thanks,
--
js
suse labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Deadlock in n_hdlc_buf_put Dmitry Vyukov <dvyukov@google.com> - 2015-11-26 13:40 +0100 Re: Deadlock in n_hdlc_buf_put Jiri Slaby <jslaby@suse.cz> - 2015-11-26 19:20 +0100 [PATCH] TTY: n_hdlc, fix lockdep false positive Jiri Slaby <jslaby@suse.cz> - 2015-11-26 19:30 +0100
csiph-web