======================================================== WARNING: possible irq lock inversion dependency detected syzkaller #0 Tainted: G L -------------------------------------------------------- syz.0.2827/19376 just changed the state of lock: ffff88802d2be230 (&dev->event_lock#2){..-.}-{3:3}, at: class_spinlock_irqsave_constructor include/linux/spinlock.h:619 [inline] ffff88802d2be230 (&dev->event_lock#2){..-.}-{3:3}, at: input_inject_event+0xa4/0x330 drivers/input/input.c:419 but this lock took another, SOFTIRQ-READ-unsafe lock in the past: (tasklist_lock){.+.+}-{3:3} and interrupts could create inverse lock ordering between them. other info that might help us debug this: Chain exists of: &dev->event_lock#2 --> &new->fa_lock --> tasklist_lock Possible interrupt unsafe locking scenario: CPU0 CPU1 ---- ---- lock(tasklist_lock); local_irq_disable(); lock(&dev->event_lock#2); lock(&new->fa_lock); lock(&dev->event_lock#2); *** DEADLOCK *** 1 lock held by syz.0.2827/19376: #0: ffffffff8e95cce0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:300 [inline] #0: ffffffff8e95cce0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8e95cce0 (rcu_read_lock){....}-{1:3}, at: led_trigger_event+0x4b/0x210 drivers/leds/led-triggers.c:418 the shortest dependencies between 2nd lock and 1st lock: -> (tasklist_lock){.+.+}-{3:3} { HARDIRQ-ON-R at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_read_lock include/linux/rwlock_api_smp.h:163 [inline] _raw_read_lock+0x36/0x50 kernel/locking/spinlock.c:232 __do_wait+0xde/0x740 kernel/exit.c:1677 do_wait+0x1e7/0x510 kernel/exit.c:1721 kernel_wait+0xd6/0x1c0 kernel/exit.c:1897 call_usermodehelper_exec_sync kernel/umh.c:136 [inline] call_usermodehelper_exec_work+0xbe/0x230 kernel/umh.c:163 process_one_work kernel/workqueue.c:3302 [inline] process_scheduled_works+0xb5d/0x1860 kernel/workqueue.c:3385 worker_thread+0xa53/0xfc0 kernel/workqueue.c:3466 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 SOFTIRQ-ON-R at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_read_lock include/linux/rwlock_api_smp.h:163 [inline] _raw_read_lock+0x36/0x50 kernel/locking/spinlock.c:232 __do_wait+0xde/0x740 kernel/exit.c:1677 do_wait+0x1e7/0x510 kernel/exit.c:1721 kernel_wait+0xd6/0x1c0 kernel/exit.c:1897 call_usermodehelper_exec_sync kernel/umh.c:136 [inline] call_usermodehelper_exec_work+0xbe/0x230 kernel/umh.c:163 process_one_work kernel/workqueue.c:3302 [inline] process_scheduled_works+0xb5d/0x1860 kernel/workqueue.c:3385 worker_thread+0xa53/0xfc0 kernel/workqueue.c:3466 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 INITIAL USE at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_write_lock_irq include/linux/rwlock_api_smp.h:213 [inline] _raw_write_lock_irq+0x3d/0x50 kernel/locking/spinlock.c:330 copy_process+0x2b5e/0x4450 kernel/fork.c:2413 kernel_clone+0x284/0x8f0 kernel/fork.c:2723 user_mode_thread+0x110/0x180 kernel/fork.c:2799 rest_init+0x23/0x300 init/main.c:727 start_kernel+0x38a/0x3e0 init/main.c:1220 x86_64_start_reservations+0x24/0x30 arch/x86/kernel/head64.c:310 x86_64_start_kernel+0x143/0x1c0 arch/x86/kernel/head64.c:291 common_startup_64+0x13e/0x147 INITIAL READ USE at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_read_lock include/linux/rwlock_api_smp.h:163 [inline] _raw_read_lock+0x36/0x50 kernel/locking/spinlock.c:232 __do_wait+0xde/0x740 kernel/exit.c:1677 do_wait+0x1e7/0x510 kernel/exit.c:1721 kernel_wait+0xd6/0x1c0 kernel/exit.c:1897 call_usermodehelper_exec_sync kernel/umh.c:136 [inline] call_usermodehelper_exec_work+0xbe/0x230 kernel/umh.c:163 process_one_work kernel/workqueue.c:3302 [inline] process_scheduled_works+0xb5d/0x1860 kernel/workqueue.c:3385 worker_thread+0xa53/0xfc0 kernel/workqueue.c:3466 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 } ... key at: [] tasklist_lock+0x18/0x40 ... acquired at: __raw_read_lock include/linux/rwlock_api_smp.h:163 [inline] _raw_read_lock+0x36/0x50 kernel/locking/spinlock.c:232 send_sigurg+0x12b/0x420 fs/fcntl.c:978 sk_send_sigurg+0x6c/0x2e0 net/core/sock.c:3672 queue_oob+0x42c/0x4f0 net/unix/af_unix.c:2368 unix_stream_sendmsg+0xcb1/0xe80 net/unix/af_unix.c:2502 sock_sendmsg_nosec net/socket.c:787 [inline] __sock_sendmsg net/socket.c:802 [inline] ____sys_sendmsg+0x972/0x9f0 net/socket.c:2698 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2752 __sys_sendmsg net/socket.c:2784 [inline] __do_sys_sendmsg net/socket.c:2789 [inline] __se_sys_sendmsg net/socket.c:2787 [inline] __x64_sys_sendmsg+0x1bd/0x2a0 net/socket.c:2787 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f -> (&f_owner->lock){....}-{3:3} { INITIAL USE at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_write_lock_irq include/linux/rwlock_api_smp.h:213 [inline] _raw_write_lock_irq+0x3d/0x50 kernel/locking/spinlock.c:330 __f_setown+0x67/0x370 fs/fcntl.c:136 f_setown_ex fs/fcntl.c:254 [inline] do_fcntl+0x171c/0x1a20 fs/fcntl.c:520 __do_sys_fcntl fs/fcntl.c:602 [inline] __se_sys_fcntl+0xc8/0x150 fs/fcntl.c:587 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f INITIAL READ USE at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:174 [inline] _raw_read_lock_irqsave+0x48/0x60 kernel/locking/spinlock.c:240 send_sigurg+0x55/0x420 fs/fcntl.c:962 sk_send_sigurg+0x6c/0x2e0 net/core/sock.c:3672 queue_oob+0x42c/0x4f0 net/unix/af_unix.c:2368 unix_stream_sendmsg+0xcb1/0xe80 net/unix/af_unix.c:2502 sock_sendmsg_nosec net/socket.c:787 [inline] __sock_sendmsg net/socket.c:802 [inline] ____sys_sendmsg+0x972/0x9f0 net/socket.c:2698 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2752 __sys_sendmsg net/socket.c:2784 [inline] __do_sys_sendmsg net/socket.c:2789 [inline] __se_sys_sendmsg net/socket.c:2787 [inline] __x64_sys_sendmsg+0x1bd/0x2a0 net/socket.c:2787 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f } ... key at: [] file_f_owner_allocate.__key+0x0/0x20 ... acquired at: __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:174 [inline] _raw_read_lock_irqsave+0x48/0x60 kernel/locking/spinlock.c:240 send_sigio+0x38/0x370 fs/fcntl.c:918 kill_fasync_rcu fs/fcntl.c:1144 [inline] kill_fasync+0x24d/0x4d0 fs/fcntl.c:1159 lease_break_callback+0x26/0x30 fs/locks.c:577 __break_lease+0x81f/0x1ea0 fs/locks.c:1669 break_deleg include/linux/filelock.h:505 [inline] try_break_deleg include/linux/filelock.h:524 [inline] vfs_mknod+0x52d/0x610 fs/namei.c:5116 filename_mknodat+0x3cb/0x660 fs/namei.c:-1 __do_sys_mknodat fs/namei.c:5201 [inline] __se_sys_mknodat+0x3b/0x150 fs/namei.c:5197 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f -> (&new->fa_lock){....}-{3:3} { INITIAL USE at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_write_lock_irq include/linux/rwlock_api_smp.h:213 [inline] _raw_write_lock_irq+0x3d/0x50 kernel/locking/spinlock.c:330 fasync_remove_entry+0xf1/0x1c0 fs/fcntl.c:1012 sock_fasync+0x85/0xf0 net/socket.c:1539 __fput+0x890/0xa60 fs/file_table.c:507 task_work_run+0x1d9/0x270 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:67 [inline] exit_to_user_mode_loop+0xed/0x480 kernel/entry/common.c:98 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:238 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline] do_syscall_64+0x33e/0xf80 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f INITIAL READ USE at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:174 [inline] _raw_read_lock_irqsave+0x48/0x60 kernel/locking/spinlock.c:240 kill_fasync_rcu fs/fcntl.c:1135 [inline] kill_fasync+0x199/0x4d0 fs/fcntl.c:1159 sock_wake_async+0x137/0x160 net/socket.c:-1 sk_wake_async_rcu include/net/sock.h:2593 [inline] sctp_data_ready+0x3c1/0x550 net/sctp/socket.c:9329 sctp_ulpq_tail_event+0x7be/0xb10 net/sctp/ulpqueue.c:254 do_ulpq_tail_event+0x136/0x1a0 net/sctp/stream_interleave.c:1295 sctp_datamsg_destroy net/sctp/chunk.c:108 [inline] sctp_datamsg_put+0x3ec/0x540 net/sctp/chunk.c:128 sctp_chunk_free+0x4a/0x60 net/sctp/sm_make_chunk.c:1507 __sctp_outq_teardown+0x7ab/0x9a0 net/sctp/outqueue.c:257 sctp_association_free+0x240/0x7f0 net/sctp/associola.c:340 sctp_cmd_delete_tcb net/sctp/sm_sideeffect.c:950 [inline] sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1336 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1204 [inline] sctp_do_sm+0x3f6b/0x5cf0 net/sctp/sm_sideeffect.c:1175 sctp_primitive_SHUTDOWN+0x98/0xc0 net/sctp/primitive.c:89 inet_shutdown+0x271/0x390 net/ipv4/af_inet.c:933 __sys_shutdown_sock net/socket.c:2538 [inline] __sys_shutdown net/socket.c:2554 [inline] __do_sys_shutdown net/socket.c:2559 [inline] __se_sys_shutdown net/socket.c:2557 [inline] __x64_sys_shutdown+0x13f/0x1a0 net/socket.c:2557 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f } ... key at: [] fasync_insert_entry.__key+0x0/0x20 ... acquired at: __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:174 [inline] _raw_read_lock_irqsave+0x48/0x60 kernel/locking/spinlock.c:240 kill_fasync_rcu fs/fcntl.c:1135 [inline] kill_fasync+0x199/0x4d0 fs/fcntl.c:1159 mousedev_notify_readers+0x6f1/0xc00 drivers/input/mousedev.c:309 mousedev_event+0x602/0x1320 drivers/input/mousedev.c:394 input_handle_events_default+0xd4/0x1a0 drivers/input/input.c:2558 input_pass_values+0x288/0x890 drivers/input/input.c:128 input_event_dispose+0x330/0x6b0 drivers/input/input.c:342 input_inject_event+0x1dc/0x330 drivers/input/input.c:424 evdev_write+0x325/0x4c0 drivers/input/evdev.c:528 vfs_write+0x29a/0xb90 fs/read_write.c:686 ksys_write+0x150/0x270 fs/read_write.c:740 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f -> (&dev->event_lock#2){..-.}-{3:3} { IN-SOFTIRQ-W at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:132 [inline] _raw_spin_lock_irqsave+0x40/0x60 kernel/locking/spinlock.c:166 class_spinlock_irqsave_constructor include/linux/spinlock.h:619 [inline] input_inject_event+0xa4/0x330 drivers/input/input.c:419 led_trigger_event+0x138/0x210 drivers/leds/led-triggers.c:420 kbd_propagate_led_state drivers/tty/vt/keyboard.c:1118 [inline] kbd_bh+0x1c6/0x2e0 drivers/tty/vt/keyboard.c:1297 tasklet_action_common+0x2da/0x4b0 kernel/softirq.c:938 handle_softirqs+0x22a/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1061 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1061 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:179 [inline] _raw_spin_unlock_irqrestore+0x47/0x80 kernel/locking/spinlock.c:198 vt_do_kdskled+0x386/0x4c0 drivers/tty/vt/keyboard.c:-1 vt_k_ioctl drivers/tty/vt/vt_ioctl.c:443 [inline] vt_ioctl+0xfdb/0x20c0 drivers/tty/vt/vt_ioctl.c:743 tty_ioctl+0x928/0xde0 drivers/tty/tty_io.c:2792 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f INITIAL USE at: lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:132 [inline] _raw_spin_lock_irqsave+0x40/0x60 kernel/locking/spinlock.c:166 class_spinlock_irqsave_constructor include/linux/spinlock.h:619 [inline] input_inject_event+0xa4/0x330 drivers/input/input.c:419 kbd_led_trigger_activate+0xbc/0x100 drivers/tty/vt/keyboard.c:1074 led_trigger_set+0x535/0x960 drivers/leds/led-triggers.c:220 led_match_default_trigger drivers/leds/led-triggers.c:277 [inline] led_trigger_set_default+0x260/0x2a0 drivers/leds/led-triggers.c:300 led_classdev_register_ext+0x787/0x9c0 drivers/leds/led-class.c:581 led_classdev_register include/linux/leds.h:274 [inline] input_leds_connect+0x517/0x790 drivers/input/input-leds.c:145 input_attach_handler drivers/input/input.c:1011 [inline] input_register_device+0xce0/0x1140 drivers/input/input.c:2395 atkbd_connect+0x71e/0xa10 drivers/input/keyboard/atkbd.c:1323 serio_connect_driver drivers/input/serio/serio.c:44 [inline] serio_driver_probe+0x82/0xb0 drivers/input/serio/serio.c:748 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x267/0xaf0 drivers/base/dd.c:709 __driver_probe_device+0x1ef/0x380 drivers/base/dd.c:871 driver_probe_device+0x4f/0x240 drivers/base/dd.c:901 __driver_attach+0x34c/0x640 drivers/base/dd.c:1295 bus_for_each_dev+0x23b/0x2c0 drivers/base/bus.c:383 serio_attach_driver drivers/input/serio/serio.c:777 [inline] serio_handle_event+0x1af/0xf80 drivers/input/serio/serio.c:214 process_one_work kernel/workqueue.c:3302 [inline] process_scheduled_works+0xb5d/0x1860 kernel/workqueue.c:3385 worker_thread+0xa53/0xfc0 kernel/workqueue.c:3466 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 } ... key at: [] input_allocate_device.__key.7+0x0/0x20 ... acquired at: mark_lock+0x115/0x190 kernel/locking/lockdep.c:4753 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0x689/0x2cf0 kernel/locking/lockdep.c:5191 lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:132 [inline] _raw_spin_lock_irqsave+0x40/0x60 kernel/locking/spinlock.c:166 class_spinlock_irqsave_constructor include/linux/spinlock.h:619 [inline] input_inject_event+0xa4/0x330 drivers/input/input.c:419 led_trigger_event+0x138/0x210 drivers/leds/led-triggers.c:420 kbd_propagate_led_state drivers/tty/vt/keyboard.c:1118 [inline] kbd_bh+0x1c6/0x2e0 drivers/tty/vt/keyboard.c:1297 tasklet_action_common+0x2da/0x4b0 kernel/softirq.c:938 handle_softirqs+0x22a/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1061 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1061 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:179 [inline] _raw_spin_unlock_irqrestore+0x47/0x80 kernel/locking/spinlock.c:198 vt_do_kdskled+0x386/0x4c0 drivers/tty/vt/keyboard.c:-1 vt_k_ioctl drivers/tty/vt/vt_ioctl.c:443 [inline] vt_ioctl+0xfdb/0x20c0 drivers/tty/vt/vt_ioctl.c:743 tty_ioctl+0x928/0xde0 drivers/tty/tty_io.c:2792 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f stack backtrace: CPU: 1 UID: 0 PID: 19376 Comm: syz.0.2827 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_irq_inversion_bug+0x1d2/0x1e0 kernel/locking/lockdep.c:4125 mark_lock_irq+0x3d2/0x420 kernel/locking/lockdep.c:-1 mark_lock+0x115/0x190 kernel/locking/lockdep.c:4753 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0x689/0x2cf0 kernel/locking/lockdep.c:5191 lock_acquire+0x106/0x350 kernel/locking/lockdep.c:5868 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:132 [inline] _raw_spin_lock_irqsave+0x40/0x60 kernel/locking/spinlock.c:166 class_spinlock_irqsave_constructor include/linux/spinlock.h:619 [inline] input_inject_event+0xa4/0x330 drivers/input/input.c:419 led_trigger_event+0x138/0x210 drivers/leds/led-triggers.c:420 kbd_propagate_led_state drivers/tty/vt/keyboard.c:1118 [inline] kbd_bh+0x1c6/0x2e0 drivers/tty/vt/keyboard.c:1297 tasklet_action_common+0x2da/0x4b0 kernel/softirq.c:938 handle_softirqs+0x22a/0x840 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0xca/0x220 kernel/softirq.c:735 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1061 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1061 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:179 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x47/0x80 kernel/locking/spinlock.c:198 Code: f7 e8 8d f4 e6 f5 f7 c3 00 02 00 00 74 05 e8 90 7f 12 f6 9c 58 a9 00 02 00 00 75 27 f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 d4 76 d8 f5 65 8b 05 1d 53 85 07 85 c0 74 18 5b 41 5e e9 ec c3 RSP: 0018:ffffc900030a7c90 EFLAGS: 00000206 RAX: 0000000000000002 RBX: 0000000000000202 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffffff8dfd8b64 RDI: 0000000000000001 RBP: 0000000000000001 R08: ffffffff903382f7 R09: 1ffffffff206705e R10: dffffc0000000000 R11: fffffbfff206705f R12: dffffc0000000000 R13: 0000000000000000 R14: ffffffff8f209c20 R15: 0000000000000202 vt_do_kdskled+0x386/0x4c0 drivers/tty/vt/keyboard.c:-1 vt_k_ioctl drivers/tty/vt/vt_ioctl.c:443 [inline] vt_ioctl+0xfdb/0x20c0 drivers/tty/vt/vt_ioctl.c:743 tty_ioctl+0x928/0xde0 drivers/tty/tty_io.c:2792 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc72d39cdd9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc72e250028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc72d615fa0 RCX: 00007fc72d39cdd9 RDX: 0000000000000002 RSI: 0000000000004b32 RDI: 0000000000000003 RBP: 00007fc72d432d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc72d616038 R14: 00007fc72d615fa0 R15: 00007ffc3b1b1198 ---------------- Code disassembly (best guess): 0: f7 e8 imul %eax 2: 8d lea (bad),%esi 3: f4 hlt 4: e6 f5 out %al,$0xf5 6: f7 c3 00 02 00 00 test $0x200,%ebx c: 74 05 je 0x13 e: e8 90 7f 12 f6 call 0xf6127fa3 13: 9c pushf 14: 58 pop %rax 15: a9 00 02 00 00 test $0x200,%eax 1a: 75 27 jne 0x43 1c: f7 c3 00 02 00 00 test $0x200,%ebx 22: 74 01 je 0x25 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 d4 76 d8 f5 call 0xf5d87703 <-- trapping instruction 2f: 65 8b 05 1d 53 85 07 mov %gs:0x785531d(%rip),%eax # 0x7855353 36: 85 c0 test %eax,%eax 38: 74 18 je 0x52 3a: 5b pop %rbx 3b: 41 5e pop %r14 3d: e9 .byte 0xe9 3e: ec in (%dx),%al 3f: c3 ret