ieee802154 phy1 wpan1: encryption failed: -22 ieee802154 phy0 wpan0: encryption failed: -22 ieee802154 phy1 wpan1: encryption failed: -22 Bluetooth: hci6: command 0x0406 tx timeout Bluetooth: hci7: command 0x0406 tx timeout INFO: task systemd-udevd:4697 blocked for more than 140 seconds. Not tainted 4.19.211-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. systemd-udevd D24600 4697 1 0x00000100 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619 __mutex_lock_common kernel/locking/mutex.c:1016 [inline] __mutex_lock+0x5f0/0x1190 kernel/locking/mutex.c:1078 __blkdev_get+0x1d0/0x1480 fs/block_dev.c:1478 blkdev_get+0xb0/0x940 fs/block_dev.c:1627 blkdev_open+0x202/0x290 fs/block_dev.c:1788 do_dentry_open+0x4aa/0x1160 fs/open.c:796 do_last fs/namei.c:3421 [inline] path_openat+0x793/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f88430be840 Code: Bad RIP value. RSP: 002b:00007fff8d12af68 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fff8d12b000 RCX: 00007f88430be840 RDX: 000055eda1729fe3 RSI: 00000000000a0800 RDI: 000055eda1914d70 RBP: 00007fff8d12b500 R08: 000055eda1729670 R09: 0000000000000010 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff8d12b110 R13: 000055eda1914010 R14: 000055eda1926880 R15: 00007fff8d12afe0 Showing all locks held in the system: 1 lock held by systemd/1: #0: 00000000707ff2f5 (&rq->lock){-.-.}, at: rq_lock kernel/sched/sched.h:1826 [inline] #0: 00000000707ff2f5 (&rq->lock){-.-.}, at: __schedule+0x1f9/0x2040 kernel/sched/core.c:3455 5 locks held by kworker/0:1/14: #0: 00000000851654fb ((wq_completion)"events"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 000000003f49ed4f ((work_completion)(&(&data->open_timeout)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 000000004bdb0b5b (&data->open_mutex){+.+.}, at: vhci_create_device drivers/bluetooth/hci_vhci.c:162 [inline] #2: 000000004bdb0b5b (&data->open_mutex){+.+.}, at: vhci_open_timeout+0x2a/0x50 drivers/bluetooth/hci_vhci.c:319 #3: 00000000c534a382 (rfkill_global_mutex){+.+.}, at: rfkill_register+0x36/0xae0 net/rfkill/core.c:1025 #4: 0000000006357ae1 (uevent_sock_mutex){+.+.}, at: kobject_uevent_env+0x85d/0x1480 lib/kobject_uevent.c:584 1 lock held by khungtaskd/1559: #0: 00000000f82abb21 (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4441 2 locks held by kworker/0:2/3688: #0: 000000005f3c603a ((wq_completion)"rcu_gp"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000e429800a ((work_completion)(&rew.rew_work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 3 locks held by ipv6_addrconf/4471: #0: 0000000053fed5e8 ((wq_completion)"%s"("ipv6_addrconf")){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000d8bcf9be ((addr_chk_work).work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000f4fff73e (rtnl_mutex){+.+.}, at: addrconf_verify_work+0xa/0x20 net/ipv6/addrconf.c:4476 1 lock held by systemd-udevd/4697: #0: 00000000bc3b3110 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x1d0/0x1480 fs/block_dev.c:1478 3 locks held by kworker/1:3/4716: #0: 00000000851654fb ((wq_completion)"events"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000215072e7 (deferred_process_work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000f4fff73e (rtnl_mutex){+.+.}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:150 1 lock held by in:imklog/7812: #0: 000000006fa5fc7a (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 4 locks held by kworker/0:4/9343: #0: 00000000851654fb ((wq_completion)"events"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000ef46d02a ((work_completion)(&(&data->open_timeout)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 0000000006d7cb28 (&data->open_mutex){+.+.}, at: vhci_create_device drivers/bluetooth/hci_vhci.c:162 [inline] #2: 0000000006d7cb28 (&data->open_mutex){+.+.}, at: vhci_open_timeout+0x2a/0x50 drivers/bluetooth/hci_vhci.c:319 #3: 0000000006357ae1 (uevent_sock_mutex){+.+.}, at: kobject_uevent_env+0x85d/0x1480 lib/kobject_uevent.c:584 4 locks held by kworker/u4:10/11627: #0: 00000000d6936253 ((wq_completion)"%s""netns"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 000000003e0ff7e4 (net_cleanup_work){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000b2043ae7 (pernet_ops_rwsem){++++}, at: cleanup_net+0xa8/0x8b0 net/core/net_namespace.c:521 #3: 00000000f4fff73e (rtnl_mutex){+.+.}, at: netdev_run_todo+0x719/0xab0 net/core/dev.c:9005 3 locks held by kworker/u4:11/11700: 2 locks held by syz-executor.1/12501: 4 locks held by syz-executor.3/12516: 2 locks held by syz-executor.5/12744: #0: 00000000f4fff73e (rtnl_mutex){+.+.}, at: tun_detach drivers/net/tun.c:759 [inline] #0: 00000000f4fff73e (rtnl_mutex){+.+.}, at: tun_chr_close+0x3a/0x180 drivers/net/tun.c:3323 #1: 0000000077ff8b74 (rcu_preempt_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:297 [inline] #1: 0000000077ff8b74 (rcu_preempt_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited+0x4dc/0x6f0 kernel/rcu/tree_exp.h:667 2 locks held by syz-executor.0/13002: #0: 0000000050b815a3 (&bdev->bd_mutex){+.+.}, at: __blkdev_put+0xfc/0x870 fs/block_dev.c:1806 #1: 0000000024ea0e8a (loop_ctl_mutex){+.+.}, at: lo_release+0x1a/0x1f0 drivers/block/loop.c:1790 4 locks held by kworker/0:0/26140: #0: 00000000851654fb ((wq_completion)"events"){+.+.}, at: process_one_work+0x767/0x1570 kernel/workqueue.c:2124 #1: 00000000cc81f035 ((work_completion)(&(&data->open_timeout)->work)){+.+.}, at: process_one_work+0x79c/0x1570 kernel/workqueue.c:2128 #2: 00000000a5f5cc24 (&data->open_mutex){+.+.}, at: vhci_create_device drivers/bluetooth/hci_vhci.c:162 [inline] #2: 00000000a5f5cc24 (&data->open_mutex){+.+.}, at: vhci_open_timeout+0x2a/0x50 drivers/bluetooth/hci_vhci.c:319 #3: 0000000006357ae1 (uevent_sock_mutex){+.+.}, at: kobject_uevent_env+0x85d/0x1480 lib/kobject_uevent.c:584 2 locks held by syz-executor.1/27012: #0: 00000000b2043ae7 (pernet_ops_rwsem){++++}, at: copy_net_ns+0x1d8/0x340 net/core/net_namespace.c:435 #1: 00000000f4fff73e (rtnl_mutex){+.+.}, at: ip_fib_net_exit+0x1b/0x2b0 net/ipv4/fib_frontend.c:1349 2 locks held by syz-executor.3/27011: #0: 00000000b2043ae7 (pernet_ops_rwsem){++++}, at: copy_net_ns+0x1d8/0x340 net/core/net_namespace.c:435 #1: 00000000f4fff73e (rtnl_mutex){+.+.}, at: ip_fib_net_exit+0x1b/0x2b0 net/ipv4/fib_frontend.c:1349 2 locks held by syz-executor.0/27036: #0: 00000000b2043ae7 (pernet_ops_rwsem){++++}, at: copy_net_ns+0x1d8/0x340 net/core/net_namespace.c:435 #1: 00000000f4fff73e (rtnl_mutex){+.+.}, at: fib6_rules_net_exit+0xe/0x50 net/ipv6/fib6_rules.c:487 2 locks held by syz-executor.4/27045: #0: 00000000b2043ae7 (pernet_ops_rwsem){++++}, at: copy_net_ns+0x1d8/0x340 net/core/net_namespace.c:435 #1: 00000000f4fff73e (rtnl_mutex){+.+.}, at: fib6_rules_net_exit+0xe/0x50 net/ipv6/fib6_rules.c:487 1 lock held by syz-executor.3/27062: #0: 0000000077ff8b74 (rcu_preempt_state.exp_mutex){+.+.}, at: exp_funnel_lock kernel/rcu/tree_exp.h:329 [inline] #0: 0000000077ff8b74 (rcu_preempt_state.exp_mutex){+.+.}, at: _synchronize_rcu_expedited+0x256/0x6f0 kernel/rcu/tree_exp.h:667 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1559 Comm: khungtaskd Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 11700 Comm: kworker/u4:11 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 Workqueue: bat_events batadv_purge_orig RIP: 0010:unwind_next_frame+0x53/0x1400 arch/x86/kernel/unwind_orc.c:397 Code: 5c 24 48 48 c7 44 24 50 a0 af b6 89 48 c1 eb 03 48 c7 44 24 58 f0 80 29 81 48 8d 04 13 c7 00 f1 f1 f1 f1 c7 40 04 00 f2 f2 f2 40 08 00 f2 f2 f2 c7 40 0c 00 f3 f3 f3 65 48 8b 04 25 28 00 00 RSP: 0018:ffff8880ba1078d8 EFLAGS: 00000a06 RAX: ffffed1017420f24 RBX: 1ffff11017420f24 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: ffff8880ba107868 RDI: ffff8880ba107a08 RBP: ffff8880ba107a88 R08: 0000000000000001 R09: 0000000000000001 R10: ffff8880ba107a67 R11: 0000000000074071 R12: ffff8880ba107aa0 R13: 0000000000000000 R14: ffff8880ba107a08 R15: 00000000000000e8 FS: 0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8f7be92000 CR3: 00000000a0c45000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __save_stack_trace+0x9f/0x190 arch/x86/kernel/stacktrace.c:44 save_stack mm/kasan/kasan.c:448 [inline] set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:553 slab_post_alloc_hook mm/slab.h:445 [inline] slab_alloc_node mm/slab.c:3340 [inline] kmem_cache_alloc_node+0x133/0x3b0 mm/slab.c:3647 __alloc_skb+0x71/0x560 net/core/skbuff.c:193 alloc_skb include/linux/skbuff.h:995 [inline] bcm_can_tx+0x259/0x800 net/can/bcm.c:287 bcm_tx_timeout_tsklet+0x1f0/0x3a0 net/can/bcm.c:414 tasklet_action_common.constprop.0+0x265/0x360 kernel/softirq.c:522 __do_softirq+0x265/0x980 kernel/softirq.c:292 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1092 do_softirq.part.0+0x160/0x1c0 kernel/softirq.c:336 do_softirq kernel/softirq.c:328 [inline] __local_bh_enable_ip+0x20e/0x270 kernel/softirq.c:189 spin_unlock_bh include/linux/spinlock.h:374 [inline] batadv_purge_orig_ref+0xa2c/0x1110 net/batman-adv/originator.c:1379 batadv_purge_orig+0x17/0x60 net/batman-adv/originator.c:1392 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415