lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6a853698-6244-7c4e-77cd-73e4fd672376@acm.org>
Date:   Tue, 2 Jul 2019 09:01:10 -0700
From:   Bart Van Assche <bvanassche@....org>
To:     syzbot <syzbot+e7624af9c1ef3b617512@...kaller.appspotmail.com>,
        axboe@...nel.dk, idryomov@...il.com, linux-block@...r.kernel.org,
        linux-kernel@...r.kernel.org, sagi@...mberg.me, snitzer@...hat.com,
        syzkaller-bugs@...glegroups.com, torvalds@...ux-foundation.org,
        wgh@...lan.ru, zkabelac@...hat.com
Subject: Re: INFO: task hung in blkdev_issue_flush (2)

On 7/2/19 8:27 AM, syzbot wrote:
> Showing all locks held in the system:
> 1 lock held by khungtaskd/1043:
>   #0: 00000000f7c610b3 (rcu_read_lock){....}, at: 
> debug_show_all_locks+0x5f/0x27e kernel/locking/lockdep.c:5149
> 2 locks held by rsyslogd/8451:
>   #0: 00000000dfc1566f (&f->f_pos_lock){+.+.}, at: 
> __fdget_pos+0xee/0x110 fs/file.c:801
>   #1: 0000000054220207 (&rq->lock){-.-.}, at: rq_lock 
> kernel/sched/sched.h:1168 [inline]
>   #1: 0000000054220207 (&rq->lock){-.-.}, at: __schedule+0x1f5/0x1560 
> kernel/sched/core.c:3397
> 2 locks held by getty/8541:
>   #0: 000000004ff543bd (&tty->ldisc_sem){++++}, at: 
> ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
>   #1: 000000002a3905f3 (&ldata->atomic_read_lock){+.+.}, at: 
> n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
> 2 locks held by getty/8542:
>   #0: 000000006e67fcec (&tty->ldisc_sem){++++}, at: 
> ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
>   #1: 00000000ee71e4f3 (&ldata->atomic_read_lock){+.+.}, at: 
> n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
> 2 locks held by getty/8543:
>   #0: 00000000bd0907a0 (&tty->ldisc_sem){++++}, at: 
> ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
>   #1: 000000000876abce (&ldata->atomic_read_lock){+.+.}, at: 
> n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
> 2 locks held by getty/8544:
>   #0: 00000000710d6f7d (&tty->ldisc_sem){++++}, at: 
> ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
>   #1: 00000000af289586 (&ldata->atomic_read_lock){+.+.}, at: 
> n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
> 2 locks held by getty/8545:
>   #0: 000000003399e62d (&tty->ldisc_sem){++++}, at: 
> ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
>   #1: 00000000ee97f91a (&ldata->atomic_read_lock){+.+.}, at: 
> n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
> 2 locks held by getty/8546:
>   #0: 00000000ff2274c6 (&tty->ldisc_sem){++++}, at: 
> ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
>   #1: 00000000b96c5a9f (&ldata->atomic_read_lock){+.+.}, at: 
> n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156
> 2 locks held by getty/8547:
>   #0: 000000005165f028 (&tty->ldisc_sem){++++}, at: 
> ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:341
>   #1: 00000000e89d5b4a (&ldata->atomic_read_lock){+.+.}, at: 
> n_tty_read+0x232/0x1b70 drivers/tty/n_tty.c:2156

Since the tty layer does not call any block layer code, does this mean 
that the root cause is in the tty code instead of in the block layer?

Bart.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ