Hello,
syzbot found the following crash on:
HEAD commit: bb263a2a Linux 4.14.128
git tree: linux-4.14.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=140c7909a00000
kernel config:
https://syzkaller.appspot.com/x/.config?x=3aa328d51a4a3719
dashboard link:
https://syzkaller.appspot.com/bug?extid=bf202cb877bfb7f2f886
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
Unfortunately, I don't have any reproducer for this crash yet.
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by:
syzbot+bf202c...@syzkaller.appspotmail.com
audit: type=1400 audit(1561000622.001:8213): avc: denied { map } for
pid=13671 comm="run-parts" path="/bin/run-parts" dev="sda1" ino=1451
scontext=system_u:system_r:insmod_t:s0-s0:c0.c1023
tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1
INFO: task syz-executor.5:13615 blocked for more than 140 seconds.
Not tainted 4.14.128 #22
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor.5 D28672 13615 7340 0x00000004
Call Trace:
context_switch kernel/sched/core.c:2807 [inline]
__schedule+0x7b8/0x1cd0 kernel/sched/core.c:3383
schedule+0x92/0x1c0 kernel/sched/core.c:3427
schedule_timeout+0x93b/0xe10 kernel/time/timer.c:1721
do_wait_for_common kernel/sched/completion.c:91 [inline]
__wait_for_common kernel/sched/completion.c:112 [inline]
wait_for_common kernel/sched/completion.c:123 [inline]
wait_for_completion_timeout+0x297/0x460 kernel/sched/completion.c:163
usb_start_wait_urb+0x151/0x290 drivers/usb/core/message.c:61
usb_bulk_msg+0x1f8/0x500 drivers/usb/core/message.c:252
proc_bulk+0x3b1/0x6c0 drivers/usb/core/devio.c:1210
usbdev_do_ioctl+0x5a2/0x2a60 drivers/usb/core/devio.c:2438
usbdev_ioctl+0x26/0x30 drivers/usb/core/devio.c:2588
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:500 [inline]
do_vfs_ioctl+0x7ae/0x1060 fs/ioctl.c:684
SYSC_ioctl fs/ioctl.c:701 [inline]
SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692
do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x4592c9
RSP: 002b:00007f0058056c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004592c9
RDX: 0000000020000000 RSI: 00000000c0185502 RDI: 0000000000000004
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f00580576d4
R13: 00000000004c1974 R14: 00000000004d46b8 R15: 00000000ffffffff
Showing all locks held in the system:
1 lock held by khungtaskd/1010:
#0: (tasklist_lock){.+.+}, at: [<ffffffff81483348>]
debug_show_all_locks+0x7f/0x21f kernel/locking/lockdep.c:4541
1 lock held by rsyslogd/7177:
#0: (&f->f_pos_lock){+.+.}, at: [<ffffffff8193e92b>]
__fdget_pos+0xab/0xd0 fs/file.c:769
2 locks held by getty/7299:
#0: (&tty->ldisc_sem){++++}, at: [<ffffffff861a3db3>]
ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:377
#1: (&ldata->atomic_read_lock){+.+.}, at: [<ffffffff83105ee6>]
n_tty_read+0x1e6/0x17b0 drivers/tty/n_tty.c:2156
2 locks held by getty/7300:
#0: (&tty->ldisc_sem){++++}, at: [<ffffffff861a3db3>]
ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:377
#1: (&ldata->atomic_read_lock){+.+.}, at: [<ffffffff83105ee6>]
n_tty_read+0x1e6/0x17b0 drivers/tty/n_tty.c:2156
2 locks held by getty/7301:
#0: (&tty->ldisc_sem){++++}, at: [<ffffffff861a3db3>]
ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:377
#1: (&ldata->atomic_read_lock){+.+.}, at: [<ffffffff83105ee6>]
n_tty_read+0x1e6/0x17b0 drivers/tty/n_tty.c:2156
2 locks held by getty/7302:
#0: (&tty->ldisc_sem){++++}, at: [<ffffffff861a3db3>]
ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:377
#1: (&ldata->atomic_read_lock){+.+.}, at: [<ffffffff83105ee6>]
n_tty_read+0x1e6/0x17b0 drivers/tty/n_tty.c:2156
2 locks held by getty/7303:
#0: (&tty->ldisc_sem){++++}, at: [<ffffffff861a3db3>]
ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:377
#1: (&ldata->atomic_read_lock){+.+.}, at: [<ffffffff83105ee6>]
n_tty_read+0x1e6/0x17b0 drivers/tty/n_tty.c:2156
2 locks held by getty/7304:
#0: (&tty->ldisc_sem){++++}, at: [<ffffffff861a3db3>]
ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:377
#1: (&ldata->atomic_read_lock){+.+.}, at: [<ffffffff83105ee6>]
n_tty_read+0x1e6/0x17b0 drivers/tty/n_tty.c:2156
2 locks held by getty/7305:
#0: (&tty->ldisc_sem){++++}, at: [<ffffffff861a3db3>]
ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:377
#1: (&ldata->atomic_read_lock){+.+.}, at: [<ffffffff83105ee6>]
n_tty_read+0x1e6/0x17b0 drivers/tty/n_tty.c:2156
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 1010 Comm: khungtaskd Not tainted 4.14.128 #22
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+0x138/0x19c lib/dump_stack.c:53
nmi_cpu_backtrace.cold+0x57/0x94 lib/nmi_backtrace.c:101
nmi_trigger_cpumask_backtrace+0x141/0x189 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:140 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:195 [inline]
watchdog+0x5e7/0xb90 kernel/hung_task.c:274
kthread+0x319/0x430 kernel/kthread.c:232
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1 skipped: idling at pc 0xffffffff861a489e
---
This bug is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.