[ 9430] 0 9430 18113 8709 25 3 0 1000 syz-executor5
[ 9431] 0 9431 18212 8716 25 3 0 1000 syz-executor1
[ 9440] 0 9440 18113 8709 25 3 0 1000 syz-executor0
[ 9444] 0 9444 18179 8714 33 3 0 1000 syz-executor5
INFO: task syz-executor4:19058 blocked for more than 140 seconds.
Not tainted 4.14.97+ #1
[ 9448] 0 9448 18177 8714 33 3 0 1000 syz-executor0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 9457] 0 9457 18113 8710 25 3 0 1000 syz-executor1
syz-executor4 D29744 19058 13001 0x00000000
[ 9462] 0 9462 18113 8709 25 3 0 1000 syz-executor5
Call Trace:
schedule+0x92/0x1c0 kernel/sched/core.c:3490
__rwsem_down_write_failed_common kernel/locking/rwsem-xadd.c:565 [inline]
rwsem_down_write_failed+0x3b1/0x760 kernel/locking/rwsem-xadd.c:594
[ 9469] 0 9469 18113 8710 25 3 0 1000 syz-executor0
[ 9472] 0 9472 18179 8714 33 3 0 1000 syz-executor5
[ 9476] 0 9476 18113 8709 25 3 0 1000 syz-executor5
[ 9481] 0 9481 18179 8714 33 3 0 1000 syz-executor5
[ 9489] 0 9489 18113 8709 25 3 0 1000 syz-executor5
call_rwsem_down_write_failed+0x13/0x20 arch/x86/lib/rwsem.S:105
[ 9494] 0 9494 18146 8712 25 3 0 1000 syz-executor5
__down_write arch/x86/include/asm/rwsem.h:126 [inline]
down_write+0x4f/0x90 kernel/locking/rwsem.c:56
[ 9514] 0 9514 18113 8709 25 3 0 1000 syz-executor5
inode_lock include/linux/fs.h:715 [inline]
shmem_add_seals+0x12b/0x1150 mm/shmem.c:2829
[ 9518] 0 9518 18113 8709 25 3 0 1000 syz-executor2
[ 9520] 0 9520 18113 8709 25 3 0 1000 syz-executor0
shmem_fcntl+0xea/0x120 mm/shmem.c:2876
do_fcntl+0x5b8/0xc60 fs/fcntl.c:421
[ 9522] 0 9522 18113 8710 25 3 0 1000 syz-executor1
[ 9529] 0 9529 18179 8714 33 3 0 1000 syz-executor5
SYSC_fcntl fs/fcntl.c:463 [inline]
SyS_fcntl+0xc6/0x100 fs/fcntl.c:448
[ 9535] 0 9535 18113 8709 25 3 0 1000 syz-executor5
do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289
Showing all locks held in the system:
[ 9543] 0 9543 18212 8716 33 3 0 1000 syz-executor0
[ 9546] 0 9546 18212 8718 32 3 0 1000 syz-executor1
1 lock held by khungtaskd/23:
#0: (tasklist_lock){.+.+}, at: [<ffffffffa4bfff4c>] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4541
2 locks held by getty/1754:
#0: (&tty->ldisc_sem){++++}, at: [<ffffffffa5737052>] tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:275
[ 9552] 0 9552 18113 8709 25 3 0 1000 syz-executor0
#1: (&ldata->atomic_read_lock){+.+.}, at: [<ffffffffa5732477>] n_tty_read+0x1f7/0x1700 drivers/tty/n_tty.c:2156
1 lock held by syz-executor4/19058:
#0: (&sb->s_type->i_mutex_key#10){+.+.}, at: [<ffffffffa4e7cfeb>] inode_lock include/linux/fs.h:715 [inline]
#0: (&sb->s_type->i_mutex_key#10){+.+.}, at: [<ffffffffa4e7cfeb>] shmem_add_seals+0x12b/0x1150 mm/shmem.c:2829
=============================================
[ 9556] 0 9556 18179 8714 33 3 0 1000 syz-executor5
[ 9566] 0 9566 18113 8709 25 3 0 1000 syz-executor5
[ 9570] 0 9570 18113 8709 25 3 0 1000 syz-executor2
[ 9571] 0 9571 18113 8710 25 3 0 1000 syz-executor1
[ 9577] 0 9577 18179 8714 33 3 0 1000 syz-executor0
[ 9582] 0 9582 18212 8716 33 3 0 1000 syz-executor5
NMI backtrace for cpu 1
CPU: 1 PID: 23 Comm: khungtaskd Not tainted 4.14.97+ #1
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0xb9/0x10e lib/dump_stack.c:53
nmi_cpu_backtrace.cold+0x47/0x86 lib/nmi_backtrace.c:101
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 19050 Comm: syz-executor4 Not tainted 4.14.97+ #1
task: ffff8880b06c0000 task.stack: ffff888003960000
RIP: 0010:hrtimer_interrupt+0xba/0x490 kernel/time/hrtimer.c:1342
RSP: 0000:ffff8881dba07f58 EFLAGS: 00000002
RAX: 0000000000000000 RBX: ffff8881dba1df40 RCX: 1ffffffff4d99484
RDX: 1ffff1103b744949 RSI: ffffffffa6950000 RDI: ffff8881dba24a48
RBP: ffff8881dba1df40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881dba24a36
R13: ffff8881dba249c0 R14: 0000000000000000 R15: 0000000000000000
FS: 00007fa326744700(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004854a0 CR3: 0000000042f40002 CR4: 00000000001606b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
<IRQ>
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline]
smp_apic_timer_interrupt+0x136/0x620 arch/x86/kernel/apic/apic.c:1062
apic_timer_interrupt+0x84/0x90 arch/x86/entry/entry_64.S:787
</IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:778 [inline]
RIP: 0010:lock_acquire+0x15c/0x380 kernel/locking/lockdep.c:3994
RSP: 0000:ffff888003967200 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10
RAX: 0000000000000007 RBX: 0000000000000246 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff8880b06c08a8 RDI: 0000000000000246
RBP: ffff8880b06c0000 R08: 00000000000078d6 R09: 0000000000040232
R10: ffff8880b06c08a8 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001
__raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:152
spin_lock include/linux/spinlock.h:317 [inline]
__list_lru_count_one mm/list_lru.c:171 [inline]
list_lru_count_one+0x7f/0x1d0 mm/list_lru.c:182
list_lru_shrink_count include/linux/list_lru.h:117 [inline]
super_cache_count+0x188/0x2b0 fs/super.c:144
do_shrink_slab mm/vmscan.c:328 [inline]
shrink_slab.part.0+0x251/0xa40 mm/vmscan.c:504
shrink_slab mm/vmscan.c:468 [inline]
shrink_node+0x8b5/0xbf0 mm/vmscan.c:2667
shrink_zones mm/vmscan.c:2814 [inline]
do_try_to_free_pages+0x350/0xd80 mm/vmscan.c:2876
try_to_free_pages+0x20a/0x6c0 mm/vmscan.c:3082
__perform_reclaim mm/page_alloc.c:3593 [inline]
__alloc_pages_direct_reclaim mm/page_alloc.c:3614 [inline]
__alloc_pages_slowpath mm/page_alloc.c:4001 [inline]
__alloc_pages_nodemask+0xac8/0x22e0 mm/page_alloc.c:4210
__alloc_pages include/linux/gfp.h:461 [inline]
__alloc_pages_node include/linux/gfp.h:474 [inline]
alloc_pages_node include/linux/gfp.h:488 [inline]
shmem_alloc_page mm/shmem.c:1475 [inline]
shmem_alloc_and_acct_page mm/shmem.c:1500 [inline]
shmem_getpage_gfp.isra.0+0x785/0x1e90 mm/shmem.c:1777
shmem_getpage mm/shmem.c:131 [inline]
shmem_write_begin+0xe9/0x190 mm/shmem.c:2432
generic_perform_write+0x1d2/0x450 mm/filemap.c:3037
__generic_file_write_iter+0x32e/0x550 mm/filemap.c:3162
generic_file_write_iter+0x36f/0x650 mm/filemap.c:3190
call_write_iter include/linux/fs.h:1784 [inline]
new_sync_write fs/read_write.c:471 [inline]
__vfs_write+0x401/0x5a0 fs/read_write.c:484
vfs_write+0x17f/0x4d0 fs/read_write.c:546
SYSC_write fs/read_write.c:593 [inline]
SyS_write+0xc0/0x1a0 fs/read_write.c:585
do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289
Code: 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 2e 03 00 00 41 83 85 88 00 00 00 01 <48> 8d 7b 18 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03