Buffer I/O error on dev loop6, logical block 7, async page read
INFO: task syz-executor0:27043 blocked for more than 120 seconds.
Not tainted 4.15.0-rc3+ #128
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor0 D24272 27043 3374 0x20020004
Call Trace:
context_switch kernel/sched/core.c:2799 [inline]
__schedule+0x8eb/0x2060 kernel/sched/core.c:3375
schedule+0xf5/0x430 kernel/sched/core.c:3434
schedule_preempt_disabled+0x10/0x20 kernel/sched/core.c:3492
__mutex_lock_common kernel/locking/mutex.c:833 [inline]
__mutex_lock+0xaad/0x1a80 kernel/locking/mutex.c:893
mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908
lo_ioctl+0x8b/0x1b90 drivers/block/loop.c:1355
lo_compat_ioctl+0xab/0x140 drivers/block/loop.c:1556
compat_blkdev_ioctl+0x3ba/0x1850 block/compat_ioctl.c:406
C_SYSC_ioctl fs/compat_ioctl.c:1473 [inline]
compat_SyS_ioctl+0x151/0x2a30 fs/compat_ioctl.c:1419
do_syscall_32_irqs_on arch/x86/entry/common.c:327 [inline]
do_fast_syscall_32+0x3ee/0xf9d arch/x86/entry/common.c:389
entry_SYSENTER_compat+0x51/0x60 arch/x86/entry/entry_64_compat.S:125
RIP: 0023:0xf7f12c79
RSP: 002b:00000000f770e08c EFLAGS: 00000296 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 0000000000000014 RCX: 0000000000004c06
RDX: 00000000ffffffff RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Showing all locks held in the system:
2 locks held by khungtaskd/674:
#0: (rcu_read_lock){....}, at: [<000000009e7fda04>] check_hung_uninterruptible_tasks kernel/hung_task.c:175 [inline]
#0: (rcu_read_lock){....}, at: [<000000009e7fda04>] watchdog+0x1c5/0xd60 kernel/hung_task.c:249
#1: (tasklist_lock){.+.+}, at: [<0000000009231911>] debug_show_all_locks+0xd3/0x400 kernel/locking/lockdep.c:4554
1 lock held by rsyslogd/2997:
#0: (&f->f_pos_lock){+.+.}, at: [<00000000c7bd6913>] __fdget_pos+0x131/0x1a0 fs/file.c:770
2 locks held by getty/3119:
#0: (&tty->ldisc_sem){++++}, at: [<00000000a6dc35d1>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: (&ldata->atomic_read_lock){+.+.}, at: [<0000000019816be1>] n_tty_read+0x2f2/0x1a10 drivers/tty/n_tty.c:2131
2 locks held by getty/3120:
#0: (&tty->ldisc_sem){++++}, at: [<00000000a6dc35d1>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: (&ldata->atomic_read_lock){+.+.}, at: [<0000000019816be1>] n_tty_read+0x2f2/0x1a10 drivers/tty/n_tty.c:2131
2 locks held by getty/3121:
#0: (&tty->ldisc_sem){++++}, at: [<00000000a6dc35d1>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: (&ldata->atomic_read_lock){+.+.}, at: [<0000000019816be1>] n_tty_read+0x2f2/0x1a10 drivers/tty/n_tty.c:2131
2 locks held by getty/3122:
#0: (&tty->ldisc_sem){++++}, at: [<00000000a6dc35d1>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: (&ldata->atomic_read_lock){+.+.}, at: [<0000000019816be1>] n_tty_read+0x2f2/0x1a10 drivers/tty/n_tty.c:2131
2 locks held by getty/3123:
#0: (&tty->ldisc_sem){++++}, at: [<00000000a6dc35d1>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: (&ldata->atomic_read_lock){+.+.}, at: [<0000000019816be1>] n_tty_read+0x2f2/0x1a10 drivers/tty/n_tty.c:2131
2 locks held by getty/3124:
#0: (&tty->ldisc_sem){++++}, at: [<00000000a6dc35d1>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: (&ldata->atomic_read_lock){+.+.}, at: [<0000000019816be1>] n_tty_read+0x2f2/0x1a10 drivers/tty/n_tty.c:2131
1 lock held by syz-executor0/27043:
#0: (&lo->lo_ctl_mutex/1){+.+.}, at: [<00000000181ff1cc>] lo_ioctl+0x8b/0x1b90 drivers/block/loop.c:1355
1 lock held by syz-executor0/27055:
#0: (&lo->lo_ctl_mutex/1){+.+.}, at: [<00000000181ff1cc>] lo_ioctl+0x8b/0x1b90 drivers/block/loop.c:1355
1 lock held by syz-executor5/27050:
#0: (&lo->lo_ctl_mutex/1){+.+.}, at: [<00000000181ff1cc>] lo_ioctl+0x8b/0x1b90 drivers/block/loop.c:1355
2 locks held by getty/27114:
#0: (&tty->ldisc_sem){++++}, at: [<00000000a6dc35d1>] ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365
#1: (&ldata->atomic_read_lock){+.+.}, at: [<0000000019816be1>] n_tty_read+0x2f2/0x1a10 drivers/tty/n_tty.c:2131
1 lock held by blkid/27115:
#0: (&lo->lo_ctl_mutex/1){+.+.}, at: [<00000000181ff1cc>] lo_ioctl+0x8b/0x1b90 drivers/block/loop.c:1355
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 674 Comm: khungtaskd Not tainted 4.15.0-rc3+ #128
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x194/0x257 lib/dump_stack.c:53
nmi_cpu_backtrace+0x1d2/0x210 lib/nmi_backtrace.c:103
nmi_trigger_cpumask_backtrace+0x122/0x180 lib/nmi_backtrace.c:62
arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
trigger_all_cpu_backtrace include/linux/nmi.h:138 [inline]
check_hung_task kernel/hung_task.c:132 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:190 [inline]
watchdog+0x90c/0xd60 kernel/hung_task.c:249
kthread+0x37a/0x440 kernel/kthread.c:238
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:441
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.15.0-rc3+ #128
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:kernel_text_address+0x9a/0x140 kernel/extable.c:160
RSP: 0018:ffff8801db406f08 EFLAGS: 00000093
RAX: dffffc0000000000 RBX: ffffffff8128ca1a RCX: 0000000000000001
RDX: 1ffff1003b680df2 RSI: ffff8801db406fc8 RDI: ffffffff8128ca1a
RBP: ffff8801db406f18 R08: ffff8801db406f88 R09: ffffffff85e2f380
R10: 000000000000000b R11: ffffed003b680df3 R12: ffff8801db406f90
R13: 0000000000000000 R14: ffffffff85e2f380 R15: ffff8801db2356e0
FS: 0000000000000000(0000) GS:ffff8801db400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fda2d141000 CR3: 00000001cea66000 CR4: 00000000001406f0
DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
unwind_get_return_address+0x61/0xa0 arch/x86/kernel/unwind_frame.c:18
__save_stack_trace+0x7e/0xd0 arch/x86/kernel/stacktrace.c:45
save_stack_trace+0x1a/0x20 arch/x86/kernel/stacktrace.c:60
add_xhlock kernel/locking/lockdep.c:4880 [inline]
check_add_xhlock kernel/locking/lockdep.c:4907 [inline]
lock_acquire_crosslock kernel/locking/lockdep.c:4979 [inline]
__lock_acquire+0x324e/0x47f0 kernel/locking/lockdep.c:3503
lock_acquire+0x1d5/0x580 kernel/locking/lockdep.c:4004
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0x96/0xc0 kernel/locking/spinlock.c:159
rq_lock_irqsave kernel/sched/sched.h:1750 [inline]
update_blocked_averages+0x124/0x1b60 kernel/sched/fair.c:7353
rebalance_domains+0x145/0xcc0 kernel/sched/fair.c:9122
run_rebalance_domains+0x381/0x780 kernel/sched/fair.c:9383
__do_softirq+0x29d/0xbb2 kernel/softirq.c:285
invoke_softirq kernel/softirq.c:365 [inline]
irq_exit+0x1d3/0x210 kernel/softirq.c:405
scheduler_ipi+0x32a/0x830 kernel/sched/core.c:1803
smp_reschedule_interrupt+0xe6/0x670 arch/x86/kernel/smp.c:277
reschedule_interrupt+0x9d/0xb0 arch/x86/entry/entry_64.S:819
RIP: 0010:native_safe_halt+0x6/0x10 arch/x86/include/asm/irqflags.h:54
RSP: 0018:ffffffff85e07d08 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff02
RAX: dffffc0000000000 RBX: 1ffffffff0bc0fa4 RCX: 0000000000000000
RDX: 1ffffffff0bd9734 RSI: 0000000000000001 RDI: ffffffff85ecb9a0
RBP: ffffffff85e07d08 R08: ffffffff85beaae0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffffffff85e07dc0 R14: ffffffff865eb220 R15: 0000000000000000
arch_safe_halt arch/x86/include/asm/paravirt.h:93 [inline]
default_idle+0xbf/0x460 arch/x86/kernel/process.c:348
arch_cpu_idle+0xa/0x10 arch/x86/kernel/process.c:339
default_idle_call+0x36/0x90 kernel/sched/idle.c:98
cpuidle_idle_call kernel/sched/idle.c:156 [inline]
do_idle+0x24a/0x3b0 kernel/sched/idle.c:246
cpu_startup_entry+0x18/0x20 kernel/sched/idle.c:351
rest_init+0xed/0xf0 init/main.c:435
start_kernel+0x729/0x74f init/main.c:715
x86_64_start_reservations+0x2a/0x2c arch/x86/kernel/head64.c:378
x86_64_start_kernel+0x77/0x7a arch/x86/kernel/head64.c:359
secondary_startup_64+0xa5/0xb0 arch/x86/kernel/head_64.S:237
Code: 1c e8 bb f4 13 00 34 01 41 89 c4 75 24 48 89 df e8 bc ab 1d 00 84 c0 0f 84 80 00 00 00 b8 01 00 00 00 48 83 c4 08 5b 41 5c 5d c3 01 00 00 00 c3 e8 bb 3a 15 00 48 89 df e8 93 ab 1d 00 84 c0