Bluetooth: hci2 command 0x0406 tx timeout INFO: task systemd-udevd:4625 blocked for more than 140 seconds. Not tainted 4.14.203-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. systemd-udevd D25792 4625 1 0x00000104 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x88b/0x1de0 kernel/sched/core.c:3384 schedule+0x8d/0x1b0 kernel/sched/core.c:3428 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x669/0x1310 kernel/locking/mutex.c:893 lo_release+0x1b/0x190 drivers/block/loop.c:1677 __blkdev_put+0x5aa/0x800 fs/block_dev.c:1803 blkdev_close+0x86/0xb0 fs/block_dev.c:1875 __fput+0x25f/0x7a0 fs/file_table.c:210 task_work_run+0x11f/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7faf49baf270 RSP: 002b:00007fff6458afe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007fff6458b0d0 RCX: 00007faf49baf270 RDX: 0000000000000000 RSI: 000000000000125f RDI: 000000000000000e RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff6458b190 R13: 0000556b2c7a9010 R14: 0000556b2c7baa30 R15: 00007fff6458b060 INFO: task syz-executor.4:18760 blocked for more than 140 seconds. Not tainted 4.14.203-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D27704 18760 7999 0x00000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x88b/0x1de0 kernel/sched/core.c:3384 schedule+0x8d/0x1b0 kernel/sched/core.c:3428 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x669/0x1310 kernel/locking/mutex.c:893 lo_release+0x1b/0x190 drivers/block/loop.c:1677 __blkdev_put+0x5aa/0x800 fs/block_dev.c:1803 blkdev_close+0x86/0xb0 fs/block_dev.c:1875 __fput+0x25f/0x7a0 fs/file_table.c:210 task_work_run+0x11f/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x417811 RSP: 002b:00007fb2fadd89f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000417811 RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000004 RBP: 00007fb2fadd96d4 R08: 0000000000000000 R09: 000000000000000c R10: 0000000000000064 R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffe02a7599f R14: 00007fb2fadd99c0 R15: 000000000118bf2c INFO: task syz-executor.1:18769 blocked for more than 140 seconds. Not tainted 4.14.203-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D27544 18769 17545 0x00000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x88b/0x1de0 kernel/sched/core.c:3384 schedule+0x8d/0x1b0 kernel/sched/core.c:3428 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x669/0x1310 kernel/locking/mutex.c:893 blkdev_reread_part+0x1b/0x40 block/ioctl.c:192 loop_reread_partitions drivers/block/loop.c:624 [inline] loop_clr_fd+0x9ca/0xc20 drivers/block/loop.c:1078 lo_ioctl+0x895/0x1cd0 drivers/block/loop.c:1424 __blkdev_driver_ioctl block/ioctl.c:297 [inline] blkdev_ioctl+0x540/0x1830 block/ioctl.c:594 block_ioctl+0xd9/0x120 fs/block_dev.c:1893 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45dd27 RSP: 002b:00007fd79bfa69f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000045dd27 RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000004 RBP: 00007fd79bfa76d4 R08: 0000000000000000 R09: 000000000000000c R10: 0000000000000064 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff2974d3bf R14: 00007fd79bfa79c0 R15: 000000000118bf2c INFO: task syz-executor.1:18796 blocked for more than 140 seconds. Not tainted 4.14.203-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D29248 18796 17545 0x00000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x88b/0x1de0 kernel/sched/core.c:3384 schedule+0x8d/0x1b0 kernel/sched/core.c:3428 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x669/0x1310 kernel/locking/mutex.c:893 __blkdev_get+0x191/0x1090 fs/block_dev.c:1455 blkdev_get+0x88/0x890 fs/block_dev.c:1611 blkdev_open+0x1cc/0x250 fs/block_dev.c:1772 do_dentry_open+0x44b/0xec0 fs/open.c:777 vfs_open+0x105/0x220 fs/open.c:888 do_last fs/namei.c:3428 [inline] path_openat+0x628/0x2970 fs/namei.c:3569 do_filp_open+0x179/0x3c0 fs/namei.c:3603 do_sys_open+0x296/0x410 fs/open.c:1081 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x4179b1 RSP: 002b:00007fd79bf85990 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00000000004179b1 RDX: 00000000000000c8 RSI: 0000000000000002 RDI: 00007fd79bf85bb0 RBP: 0000000000000000 R08: 0000000020001598 R09: 0000000000000000 R10: 00000000000000fe R11: 0000000000000293 R12: 0000000000000001 R13: 0000000000000003 R14: 0000000000000003 R15: 00000000200015a8 INFO: task syz-executor.2:18776 blocked for more than 140 seconds. Not tainted 4.14.203-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D27704 18776 8000 0x00000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x88b/0x1de0 kernel/sched/core.c:3384 schedule+0x8d/0x1b0 kernel/sched/core.c:3428 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x669/0x1310 kernel/locking/mutex.c:893 lo_release+0x1b/0x190 drivers/block/loop.c:1677 __blkdev_put+0x5aa/0x800 fs/block_dev.c:1803 blkdev_close+0x86/0xb0 fs/block_dev.c:1875 __fput+0x25f/0x7a0 fs/file_table.c:210 task_work_run+0x11f/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x417811 RSP: 002b:00007f76caa1b9f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000417811 RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000004 RBP: 00007f76caa1c6d4 R08: 0000000000000000 R09: 000000000000000c R10: 0000000000000064 R11: 0000000000000293 R12: 0000000000000000 R13: 00007ffe8b4946bf R14: 00007f76caa1c9c0 R15: 000000000118bf2c INFO: task syz-executor.2:18783 blocked for more than 140 seconds. Not tainted 4.14.203-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D30016 18783 8000 0x00000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x88b/0x1de0 kernel/sched/core.c:3384 schedule+0x8d/0x1b0 kernel/sched/core.c:3428 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x669/0x1310 kernel/locking/mutex.c:893 loop_control_ioctl+0x181/0x3f0 drivers/block/loop.c:2007 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45deb9 RSP: 002b:00007f76ca9fac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000012980 RCX: 000000000045deb9 RDX: 0000000000000001 RSI: 0000000000004c81 RDI: 0000000000000005 RBP: 000000000118c008 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bfd4 R13: 00007ffe8b4946bf R14: 00007f76ca9fb9c0 R15: 000000000118bfd4 INFO: task syz-executor.3:18787 blocked for more than 140 seconds. Not tainted 4.14.203-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D29248 18787 8001 0x00000004 Call Trace: context_switch kernel/sched/core.c:2808 [inline] __schedule+0x88b/0x1de0 kernel/sched/core.c:3384 schedule+0x8d/0x1b0 kernel/sched/core.c:3428 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3486 __mutex_lock_common kernel/locking/mutex.c:833 [inline] __mutex_lock+0x669/0x1310 kernel/locking/mutex.c:893 lo_open+0x19/0xb0 drivers/block/loop.c:1634 __blkdev_get+0x306/0x1090 fs/block_dev.c:1470 blkdev_get+0x88/0x890 fs/block_dev.c:1611 blkdev_open+0x1cc/0x250 fs/block_dev.c:1772 do_dentry_open+0x44b/0xec0 fs/open.c:777 vfs_open+0x105/0x220 fs/open.c:888 do_last fs/namei.c:3428 [inline] path_openat+0x628/0x2970 fs/namei.c:3569 do_filp_open+0x179/0x3c0 fs/namei.c:3603 do_sys_open+0x296/0x410 fs/open.c:1081 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x4179b1 RSP: 002b:00007f5729554990 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00000000004179b1 RDX: 00000000000000c8 RSI: 0000000000000002 RDI: 00007f5729554bb0 RBP: 0000000000000000 R08: 0000000020001598 R09: 0000000000000000 R10: 0000000000000101 R11: 0000000000000293 R12: 0000000000000001 R13: 0000000000000003 R14: 0000000000000003 R15: 00000000200015a8 Showing all locks held in the system: 1 lock held by khungtaskd/1531: #0: (tasklist_lock){.+.+}, at: [] debug_show_all_locks+0x7c/0x21a kernel/locking/lockdep.c:4548 2 locks held by systemd-udevd/4625: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_put+0xd8/0x800 fs/block_dev.c:1790 #1: (loop_index_mutex){+.+.}, at: [] lo_release+0x1b/0x190 drivers/block/loop.c:1677 2 locks held by syz-executor.4/18760: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_put+0xd8/0x800 fs/block_dev.c:1790 #1: (loop_index_mutex){+.+.}, at: [] lo_release+0x1b/0x190 drivers/block/loop.c:1677 2 locks held by syz-executor.1/18769: #0: (&lo->lo_ctl_mutex/1){+.+.}, at: [] lo_ioctl+0x87/0x1cd0 drivers/block/loop.c:1414 #1: (&bdev->bd_mutex){+.+.}, at: [] blkdev_reread_part+0x1b/0x40 block/ioctl.c:192 1 lock held by syz-executor.1/18796: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0x191/0x1090 fs/block_dev.c:1455 2 locks held by syz-executor.2/18776: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_put+0xd8/0x800 fs/block_dev.c:1790 #1: (loop_index_mutex){+.+.}, at: [] lo_release+0x1b/0x190 drivers/block/loop.c:1677 2 locks held by syz-executor.2/18783: #0: (loop_index_mutex){+.+.}, at: [] loop_control_ioctl+0x67/0x3f0 drivers/block/loop.c:1993 #1: (&lo->lo_ctl_mutex){+.+.}, at: [] loop_control_ioctl+0x181/0x3f0 drivers/block/loop.c:2007 2 locks held by syz-executor.3/18787: #0: (&bdev->bd_mutex){+.+.}, at: [] __blkdev_get+0x191/0x1090 fs/block_dev.c:1455 #1: (loop_index_mutex){+.+.}, at: [] lo_open+0x19/0xb0 drivers/block/loop.c:1634 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1531 Comm: khungtaskd Not tainted 4.14.203-syzkaller #0 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+0x1b2/0x283 lib/dump_stack.c:58 nmi_cpu_backtrace.cold+0x57/0x93 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x13a/0x17f lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:140 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:195 [inline] watchdog+0x5b9/0xb40 kernel/hung_task.c:274 kthread+0x30d/0x420 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 CPU: 1 PID: 23021 Comm: kworker/u4:3 Not tainted 4.14.203-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy11 ieee80211_iface_work task: ffff88808c3400c0 task.stack: ffff888080c78000 RIP: 0010:unwind_next_frame+0x13f/0x17d0 arch/x86/kernel/unwind_orc.c:355 RSP: 0018:ffff888080c7f198 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 1ffff1101018fe3a RCX: 0000000000000000 RDX: 0000000000000005 RSI: ffff888080c7f148 RDI: ffff88808c3412f8 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000001 R10: ffff888080c7ff18 R11: 0000000000000001 R12: ffff888080c7f28d R13: ffff888080c7f290 R14: ffff888080c7f2a8 R15: ffff888080c7f258 FS: 0000000000000000(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb74f955000 CR3: 00000000b0768000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __save_stack_trace+0x90/0x160 arch/x86/kernel/stacktrace.c:44 save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:551 __do_kmalloc mm/slab.c:3720 [inline] __kmalloc+0x15a/0x400 mm/slab.c:3729 kmalloc include/linux/slab.h:493 [inline] kzalloc include/linux/slab.h:661 [inline] cfg80211_inform_bss_frame_data+0x1b9/0xd90 net/wireless/scan.c:1252 ieee80211_bss_info_update+0x340/0x1560 net/mac80211/scan.c:102 ieee80211_rx_bss_info net/mac80211/ibss.c:1125 [inline] ieee80211_rx_mgmt_probe_beacon+0xa6b/0x1450 net/mac80211/ibss.c:1607 ieee80211_ibss_rx_queued_mgmt+0xc0c/0x1680 net/mac80211/ibss.c:1634 ieee80211_iface_work+0x40c/0x770 net/mac80211/iface.c:1362 process_one_work+0x793/0x14a0 kernel/workqueue.c:2116 worker_thread+0x5cc/0xff0 kernel/workqueue.c:2250 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Code: 00 03 0f 85 de 02 00 00 4d 8d 67 35 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 0f b6 04 02 4c 89 e2 83 e2 07 38 d0 7f 08 <84> c0 0f 85 3d 08 00 00 49 8d 4f 48 41 0f b6 47 35 48 ba 00 00