Re: INFO: task hung in grab_super

From: Tetsuo Handa
Date: Wed Jul 18 2018 - 06:49:37 EST


Dmitry,

this is yet another example of stalling inside __bread_gfp().

Can you find all reports where NMI backtrace contains __bread_gfp ?

I need to wget all reports if I try to do that on my side.
If you can locally grep on your side, it will be nice.

On 2018/07/18 19:38, syzbot wrote:
> CPU: 1 PID: 19991 Comm: syz-executor1 Not tainted 4.18.0-rc5+ #152
> Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
> RIP: 0010:__lock_is_held+0x76/0x140 kernel/locking/lockdep.c:3741
> Code: 00 00 4c 8b 6d c8 4d 8d b4 24 38 08 00 00 45 31 ff 48 b8 00 00 00 00 00 fc ff df 49 c1 ed 03 49 01 c5 41 8b 84 24 30 08 00 00 <85> c0 7f 24 e9 85 00 00 00 41 0f b6 45 00 41 83 c7 01 84 c0 74 08
> RSP: 0018:ffff88018ea3eed8 EFLAGS: 00000086
> RAX: 0000000000000001 RBX: 0000000000000286 RCX: ffffc9000443f000
> RDX: 1ffff10031c245de RSI: 00000000ffffffff RDI: ffffffff88f925e0
> RBP: ffff88018ea3ef18 R08: ffff88018e1226c0 R09: ffffed003b5e46d6
> R10: 0000000000000003 R11: 0000000000000001 R12: ffff88018e1226c0
> R13: ffffed0031c245de R14: ffff88018e122ef8 R15: 0000000000000000
> FS:Â 00007f243a415700(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000
> CS:Â 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> CR2: ffffffffff600400 CR3: 00000001d8749000 CR4: 00000000001406e0
> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
> Call Trace:
> Âlock_is_held_type+0x121/0x210 kernel/locking/lockdep.c:3962
> Âlock_is_held include/linux/lockdep.h:344 [inline]
> Â___might_sleep+0x295/0x330 kernel/sched/core.c:6152
> Â__might_sleep+0x95/0x190 kernel/sched/core.c:6140
> Âlock_page include/linux/pagemap.h:481 [inline]
> Âpagecache_get_page+0x787/0xe40 mm/filemap.c:1554
> Âfind_or_create_page include/linux/pagemap.h:322 [inline]
> Âgrow_dev_page fs/buffer.c:940 [inline]
> Âgrow_buffers fs/buffer.c:1009 [inline]
> Â__getblk_slow fs/buffer.c:1036 [inline]
> Â__getblk_gfp+0x3bb/0xb10 fs/buffer.c:1313
> Â__bread_gfp+0x2d/0x310 fs/buffer.c:1347
> Âsb_bread_unmovable include/linux/buffer_head.h:313 [inline]
> Âext4_fill_super+0x6de/0xda80 fs/ext4/super.c:3541
> Âmount_bdev+0x30c/0x3e0 fs/super.c:1174
> Âext4_mount+0x34/0x40 fs/ext4/super.c:5844
> Âmount_fs+0xae/0x328 fs/super.c:1277
> Âvfs_kern_mount.part.34+0xdc/0x4e0 fs/namespace.c:1037
> Âvfs_kern_mount fs/namespace.c:1027 [inline]
> Âdo_new_mount fs/namespace.c:2518 [inline]
> Âdo_mount+0x581/0x30e0 fs/namespace.c:2848
> Âksys_mount+0x12d/0x140 fs/namespace.c:3064
> Â__do_sys_mount fs/namespace.c:3078 [inline]
> Â__se_sys_mount fs/namespace.c:3075 [inline]
> Â__x64_sys_mount+0xbe/0x150 fs/namespace.c:3075
> Âdo_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
> Âentry_SYSCALL_64_after_hwframe+0x49/0xbe