vxcan1: j1939_xtp_rx_abort_one: 0xffff8880778e1c00: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan0: j1939_xtp_rx_abort_one: 0xffff8880778e1400: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888010fac400: 0x00000: (8) Duplicate sequence number (and software is not able to recover) ====================================================== WARNING: possible circular locking dependency detected 5.18.0-rc2-next-20220413-syzkaller #0 Not tainted ------------------------------------------------------ ksoftirqd/1/21 is trying to acquire lock: ffff88807d4a1088 (&priv->active_session_list_lock){+.-.}-{2:2}, at: spin_lock_bh include/linux/spinlock.h:359 [inline] ffff88807d4a1088 (&priv->active_session_list_lock){+.-.}-{2:2}, at: j1939_session_list_lock net/can/j1939/transport.c:238 [inline] ffff88807d4a1088 (&priv->active_session_list_lock){+.-.}-{2:2}, at: j1939_session_activate+0x43/0x4b0 net/can/j1939/transport.c:1553 but task is already holding lock: ffff88807586f5c0 (&jsk->sk_session_queue_lock){+.-.}-{2:2}, at: spin_lock_bh include/linux/spinlock.h:359 [inline] ffff88807586f5c0 (&jsk->sk_session_queue_lock){+.-.}-{2:2}, at: j1939_sk_queue_activate_next+0x56/0x460 net/can/j1939/socket.c:204 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #2 (&jsk->sk_session_queue_lock){+.-.}-{2:2}: __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:359 [inline] j1939_sk_queue_drop_all+0x40/0x2f0 net/can/j1939/socket.c:139 j1939_sk_netdev_event_netdown+0x7b/0x160 net/can/j1939/socket.c:1272 j1939_netdev_notify+0x199/0x1d0 net/can/j1939/main.c:372 notifier_call_chain+0xb5/0x200 kernel/notifier.c:84 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:1943 call_netdevice_notifiers_extack net/core/dev.c:1981 [inline] call_netdevice_notifiers net/core/dev.c:1995 [inline] __dev_notify_flags+0x1da/0x2b0 net/core/dev.c:8476 dev_change_flags+0x112/0x170 net/core/dev.c:8512 do_setlink+0x96d/0x3a20 net/core/rtnetlink.c:2766 __rtnl_newlink+0xba0/0x16e0 net/core/rtnetlink.c:3451 rtnl_newlink+0x64/0xa0 net/core/rtnetlink.c:3566 rtnetlink_rcv_msg+0x413/0xb80 net/core/rtnetlink.c:6025 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2495 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x543/0x7f0 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x904/0xe00 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:725 ____sys_sendmsg+0x6e2/0x800 net/socket.c:2413 ___sys_sendmsg+0xf3/0x170 net/socket.c:2467 __sys_sendmsg+0xe5/0x1b0 net/socket.c:2496 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae -> #1 (&priv->j1939_socks_lock){+.-.}-{2:2}: __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:359 [inline] j1939_sk_errqueue+0x9f/0x1a0 net/can/j1939/socket.c:1078 __j1939_session_cancel+0x3b9/0x460 net/can/j1939/transport.c:1124 j1939_session_cancel net/can/j1939/transport.c:1135 [inline] j1939_xtp_rx_cts_one net/can/j1939/transport.c:1460 [inline] j1939_xtp_rx_cts+0x978/0x1170 net/can/j1939/transport.c:1473 j1939_tp_cmd_recv net/can/j1939/transport.c:2058 [inline] j1939_tp_recv+0xae8/0xcb0 net/can/j1939/transport.c:2133 j1939_can_recv+0x6ff/0x9a0 net/can/j1939/main.c:108 deliver net/can/af_can.c:574 [inline] can_rcv_filter+0x5d4/0x8d0 net/can/af_can.c:608 can_receive+0x31d/0x580 net/can/af_can.c:665 can_rcv+0x120/0x1c0 net/can/af_can.c:696 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5408 __netif_receive_skb+0x24/0x1b0 net/core/dev.c:5522 process_backlog+0x3a0/0x7c0 net/core/dev.c:5850 __napi_poll+0xb3/0x6e0 net/core/dev.c:6416 napi_poll net/core/dev.c:6483 [inline] net_rx_action+0x8ec/0xc60 net/core/dev.c:6570 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 run_ksoftirqd kernel/softirq.c:921 [inline] run_ksoftirqd+0x2d/0x60 kernel/softirq.c:913 smpboot_thread_fn+0x645/0x9c0 kernel/smpboot.c:164 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 -> #0 (&priv->active_session_list_lock){+.-.}-{2:2}: check_prev_add kernel/locking/lockdep.c:3095 [inline] check_prevs_add kernel/locking/lockdep.c:3214 [inline] validate_chain kernel/locking/lockdep.c:3829 [inline] __lock_acquire+0x2abe/0x5660 kernel/locking/lockdep.c:5053 lock_acquire kernel/locking/lockdep.c:5665 [inline] lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5630 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:359 [inline] j1939_session_list_lock net/can/j1939/transport.c:238 [inline] j1939_session_activate+0x43/0x4b0 net/can/j1939/transport.c:1553 j1939_sk_queue_activate_next_locked net/can/j1939/socket.c:181 [inline] j1939_sk_queue_activate_next+0x29b/0x460 net/can/j1939/socket.c:205 j1939_session_deactivate_activate_next+0xc8/0xd3 net/can/j1939/transport.c:1101 j1939_xtp_rx_abort_one.cold+0x20b/0x33c net/can/j1939/transport.c:1340 j1939_xtp_rx_abort net/can/j1939/transport.c:1351 [inline] j1939_tp_cmd_recv net/can/j1939/transport.c:2100 [inline] j1939_tp_recv+0xb28/0xcb0 net/can/j1939/transport.c:2133 j1939_can_recv+0x6ff/0x9a0 net/can/j1939/main.c:108 deliver net/can/af_can.c:574 [inline] can_rcv_filter+0x5d4/0x8d0 net/can/af_can.c:608 can_receive+0x31d/0x580 net/can/af_can.c:665 can_rcv+0x120/0x1c0 net/can/af_can.c:696 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5408 __netif_receive_skb+0x24/0x1b0 net/core/dev.c:5522 process_backlog+0x3a0/0x7c0 net/core/dev.c:5850 __napi_poll+0xb3/0x6e0 net/core/dev.c:6416 napi_poll net/core/dev.c:6483 [inline] net_rx_action+0x8ec/0xc60 net/core/dev.c:6570 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 run_ksoftirqd kernel/softirq.c:921 [inline] run_ksoftirqd+0x2d/0x60 kernel/softirq.c:913 smpboot_thread_fn+0x645/0x9c0 kernel/smpboot.c:164 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 other info that might help us debug this: Chain exists of: &priv->active_session_list_lock --> &priv->j1939_socks_lock --> &jsk->sk_session_queue_lock Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&jsk->sk_session_queue_lock); lock(&priv->j1939_socks_lock); lock(&jsk->sk_session_queue_lock); lock(&priv->active_session_list_lock); *** DEADLOCK *** 3 locks held by ksoftirqd/1/21: #0: ffffffff8bd83e60 (rcu_read_lock){....}-{1:2}, at: __skb_unlink include/linux/skbuff.h:2323 [inline] #0: ffffffff8bd83e60 (rcu_read_lock){....}-{1:2}, at: __skb_dequeue include/linux/skbuff.h:2338 [inline] #0: ffffffff8bd83e60 (rcu_read_lock){....}-{1:2}, at: process_backlog+0x34b/0x7c0 net/core/dev.c:5848 #1: ffffffff8bd83e60 (rcu_read_lock){....}-{1:2}, at: can_receive+0x1ef/0x580 net/can/af_can.c:655 #2: ffff88807586f5c0 (&jsk->sk_session_queue_lock){+.-.}-{2:2}, at: spin_lock_bh include/linux/spinlock.h:359 [inline] #2: ffff88807586f5c0 (&jsk->sk_session_queue_lock){+.-.}-{2:2}, at: j1939_sk_queue_activate_next+0x56/0x460 net/can/j1939/socket.c:204 stack backtrace: CPU: 1 PID: 21 Comm: ksoftirqd/1 Not tainted 5.18.0-rc2-next-20220413-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 check_noncircular+0x25f/0x2e0 kernel/locking/lockdep.c:2175 check_prev_add kernel/locking/lockdep.c:3095 [inline] check_prevs_add kernel/locking/lockdep.c:3214 [inline] validate_chain kernel/locking/lockdep.c:3829 [inline] __lock_acquire+0x2abe/0x5660 kernel/locking/lockdep.c:5053 lock_acquire kernel/locking/lockdep.c:5665 [inline] lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5630 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:359 [inline] j1939_session_list_lock net/can/j1939/transport.c:238 [inline] j1939_session_activate+0x43/0x4b0 net/can/j1939/transport.c:1553 j1939_sk_queue_activate_next_locked net/can/j1939/socket.c:181 [inline] j1939_sk_queue_activate_next+0x29b/0x460 net/can/j1939/socket.c:205 j1939_session_deactivate_activate_next+0xc8/0xd3 net/can/j1939/transport.c:1101 j1939_xtp_rx_abort_one.cold+0x20b/0x33c net/can/j1939/transport.c:1340 j1939_xtp_rx_abort net/can/j1939/transport.c:1351 [inline] j1939_tp_cmd_recv net/can/j1939/transport.c:2100 [inline] j1939_tp_recv+0xb28/0xcb0 net/can/j1939/transport.c:2133 j1939_can_recv+0x6ff/0x9a0 net/can/j1939/main.c:108 deliver net/can/af_can.c:574 [inline] can_rcv_filter+0x5d4/0x8d0 net/can/af_can.c:608 can_receive+0x31d/0x580 net/can/af_can.c:665 can_rcv+0x120/0x1c0 net/can/af_can.c:696 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5408 __netif_receive_skb+0x24/0x1b0 net/core/dev.c:5522 process_backlog+0x3a0/0x7c0 net/core/dev.c:5850 __napi_poll+0xb3/0x6e0 net/core/dev.c:6416 napi_poll net/core/dev.c:6483 [inline] net_rx_action+0x8ec/0xc60 net/core/dev.c:6570 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 run_ksoftirqd kernel/softirq.c:921 [inline] run_ksoftirqd+0x2d/0x60 kernel/softirq.c:913 smpboot_thread_fn+0x645/0x9c0 kernel/smpboot.c:164 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 vxcan1: j1939_xtp_rx_abort_one: 0xffff888069ccb400: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff88801fbdf800: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan0: j1939_xtp_rx_abort_one: 0xffff88801fbde400: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888069ccb000: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888069cc9400: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888069cca400: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888069cca800: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888069cc9800: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff88801a99d000: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888078e40400: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan0: j1939_xtp_rx_abort_one: 0xffff888078e43c00: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff88801a99ec00: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff88801a99cc00: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff88801a99e000: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888075935400: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888075935000: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888075934400: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff8880731e9800: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan0: j1939_xtp_rx_abort_one: 0xffff8880731e8800: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888075936c00: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888075934000: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888075934c00: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888024494c00: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888024496c00: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888024497c00: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888079c81400: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan0: j1939_xtp_rx_abort_one: 0xffff888079c82000: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888024495800: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888024496000: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888076327400: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888076325000: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888076324000: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888076327800: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888067240400: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan0: j1939_xtp_rx_abort_one: 0xffff888024d20800: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888020000400: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888020002c00: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888020002400: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888020001400: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan0: j1939_xtp_rx_abort_one: 0xffff88801bb53400: 0x00000: (8) Duplicate sequence number (and software is not able to recover) vxcan1: j1939_xtp_rx_abort_one: 0xffff888077755c00: 0x00000: (8) Duplicate sequence number (and software is not able to recover) ------------[ cut here ]------------ WARNING: CPU: 1 PID: 0 at net/can/j1939/transport.c:1090 j1939_session_deactivate net/can/j1939/transport.c:1090 [inline] WARNING: CPU: 1 PID: 0 at net/can/j1939/transport.c:1090 j1939_session_deactivate_activate_next+0x95/0xd3 net/can/j1939/transport.c:1100 Modules linked in: CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.18.0-rc2-next-20220413-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:j1939_session_deactivate net/can/j1939/transport.c:1090 [inline] RIP: 0010:j1939_session_deactivate_activate_next+0x95/0xd3 net/can/j1939/transport.c:1100 Code: 03 38 d0 7c 0c 84 d2 74 08 4c 89 ef e8 a7 34 66 f8 8b 5d 28 bf 01 00 00 00 89 de e8 08 aa 19 f8 83 fb 01 77 07 e8 de a7 19 f8 <0f> 0b e8 d7 a7 19 f8 48 89 ef e8 af ed dc fe 4c 89 e7 89 c3 e8 35 RSP: 0018:ffffc900001e0ac0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000100 RDX: ffff888010e41d40 RSI: ffffffff89606122 RDI: 0000000000000003 RBP: ffff888077755c00 R08: 0000000000000001 R09: ffff888077755c2b R10: ffffffff89606118 R11: 000000000000001d R12: ffff88807d4a1070 R13: ffff888077755c28 R14: ffff88801a9d2418 R15: ffffffff8ae50ba0 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020345030 CR3: 0000000051eb6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: j1939_xtp_rx_abort_one.cold+0x20b/0x33c net/can/j1939/transport.c:1340 j1939_xtp_rx_abort net/can/j1939/transport.c:1351 [inline] j1939_tp_cmd_recv net/can/j1939/transport.c:2100 [inline] j1939_tp_recv+0xb28/0xcb0 net/can/j1939/transport.c:2133 j1939_can_recv+0x6ff/0x9a0 net/can/j1939/main.c:108 deliver net/can/af_can.c:574 [inline] can_rcv_filter+0x5d4/0x8d0 net/can/af_can.c:608 can_receive+0x31d/0x580 net/can/af_can.c:665 can_rcv+0x120/0x1c0 net/can/af_can.c:696 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5408 __netif_receive_skb+0x24/0x1b0 net/core/dev.c:5522 process_backlog+0x3a0/0x7c0 net/core/dev.c:5850 __napi_poll+0xb3/0x6e0 net/core/dev.c:6416 napi_poll net/core/dev.c:6483 [inline] net_rx_action+0x8ec/0xc60 net/core/dev.c:6570 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline] RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:117 [inline] RIP: 0010:acpi_idle_do_entry+0x1c6/0x250 drivers/acpi/processor_idle.c:559 Code: 89 de e8 ad cc 13 f8 84 db 75 ac e8 c4 c8 13 f8 e8 bf 1a 1a f8 eb 0c e8 b8 c8 13 f8 0f 00 2d 91 49 cc 00 e8 ac c8 13 f8 fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 27 cb 13 f8 48 85 db RSP: 0018:ffffc90000177d18 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888010e41d40 RSI: ffffffff89664054 RDI: ffffffff89664041 RBP: ffff888016c98064 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff81805b38 R11: 0000000000000000 R12: 0000000000000001 R13: ffff888016c98000 R14: ffff888016c98064 R15: ffff8881401f7004 acpi_idle_enter+0x369/0x510 drivers/acpi/processor_idle.c:696 cpuidle_enter_state+0x1b1/0xc80 drivers/cpuidle/cpuidle.c:237 cpuidle_enter+0x4a/0xa0 drivers/cpuidle/cpuidle.c:351 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:236 [inline] do_idle+0x3e8/0x590 kernel/sched/idle.c:303 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:400 start_secondary+0x265/0x340 arch/x86/kernel/smpboot.c:267 secondary_startup_64_no_verify+0xce/0xdb ---------------- Code disassembly (best guess): 0: 89 de mov %ebx,%esi 2: e8 ad cc 13 f8 callq 0xf813ccb4 7: 84 db test %bl,%bl 9: 75 ac jne 0xffffffb7 b: e8 c4 c8 13 f8 callq 0xf813c8d4 10: e8 bf 1a 1a f8 callq 0xf81a1ad4 15: eb 0c jmp 0x23 17: e8 b8 c8 13 f8 callq 0xf813c8d4 1c: 0f 00 2d 91 49 cc 00 verw 0xcc4991(%rip) # 0xcc49b4 23: e8 ac c8 13 f8 callq 0xf813c8d4 28: fb sti 29: f4 hlt * 2a: 9c pushfq <-- trapping instruction 2b: 5b pop %rbx 2c: 81 e3 00 02 00 00 and $0x200,%ebx 32: fa cli 33: 31 ff xor %edi,%edi 35: 48 89 de mov %rbx,%rsi 38: e8 27 cb 13 f8 callq 0xf813cb64 3d: 48 85 db test %rbx,%rbx