WARNING: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected 6.12.0-syzkaller-09567-g7eef7e306d3c #0 Not tainted ----------------------------------------------------- syz.0.2130/11972 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire: ffffffff8de0b098 (tasklist_lock){.+.+}-{3:3} , at: send_sigio+0xb8/0x3e0 fs/fcntl.c:918 and this task is already holding: ffff8880236b8ca0 (&f_owner->lock){....}-{3:3}, at: send_sigio+0x31/0x3e0 fs/fcntl.c:904 which would create a new lock dependency: (&f_owner->lock){....}-{3:3} -> (tasklist_lock){.+.+}-{3:3} but this new dependency connects a SOFTIRQ-irq-safe lock: (&dev->event_lock#2){..-.}-{3:3} ... which became SOFTIRQ-irq-safe at: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 input_inject_event+0xa4/0x370 drivers/input/input.c:423 __led_set_brightness drivers/leds/led-core.c:52 [inline] led_set_brightness_nopm drivers/leds/led-core.c:323 [inline] led_set_brightness_nosleep drivers/leds/led-core.c:354 [inline] led_set_brightness+0x214/0x290 drivers/leds/led-core.c:316 led_trigger_event drivers/leds/led-triggers.c:407 [inline] led_trigger_event+0xda/0x270 drivers/leds/led-triggers.c:395 kbd_propagate_led_state drivers/tty/vt/keyboard.c:1080 [inline] kbd_bh+0x21b/0x300 drivers/tty/vt/keyboard.c:1269 tasklet_action_common+0x251/0x3f0 kernel/softirq.c:804 handle_softirqs+0x213/0x8f0 kernel/softirq.c:554 run_ksoftirqd kernel/softirq.c:943 [inline] run_ksoftirqd+0x3a/0x60 kernel/softirq.c:935 smpboot_thread_fn+0x661/0xa30 kernel/smpboot.c:164 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 to a SOFTIRQ-irq-unsafe lock: (tasklist_lock){.+.+}-{3:3} ... which became SOFTIRQ-irq-unsafe at: ... lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline] _raw_read_lock+0x5f/0x70 kernel/locking/spinlock.c:228 __do_wait+0x105/0x890 kernel/exit.c:1647 do_wait+0x217/0x570 kernel/exit.c:1691 kernel_wait+0xa0/0x160 kernel/exit.c:1867 call_usermodehelper_exec_sync kernel/umh.c:136 [inline] call_usermodehelper_exec_work+0xf1/0x170 kernel/umh.c:163 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 other info that might help us debug this: Chain exists of: &dev->event_lock#2 --> &f_owner->lock --> tasklist_lock Possible interrupt unsafe locking scenario: CPU0 CPU1 ---- ---- lock(tasklist_lock); local_irq_disable(); lock(&dev->event_lock#2); lock(&f_owner->lock); lock(&dev->event_lock#2); *** DEADLOCK *** 5 locks held by syz.0.2130/11972: #0: ffff888028d88258 (sk_lock-AF_INET){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1617 [inline] #0: ffff888028d88258 (sk_lock-AF_INET){+.+.}-{0:0}, at: inet_shutdown+0x67/0x440 net/ipv4/af_inet.c:905 #1: ffffffff8e1bba80 (rcu_read_lock){....}-{1:3} , at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] , at: rcu_read_lock include/linux/rcupdate.h:849 [inline] , at: sk_wake_async include/net/sock.h:2459 [inline] , at: sk_wake_async include/net/sock.h:2456 [inline] , at: mptcp_close_wake_up+0x26f/0x600 net/mptcp/protocol.c:410 #2: ffffffff8e1bba80 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #2: ffffffff8e1bba80 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #2: ffffffff8e1bba80 (rcu_read_lock){....}-{1:3}, at: kill_fasync fs/fcntl.c:1144 [inline] #2: ffffffff8e1bba80 (rcu_read_lock){....}-{1:3}, at: kill_fasync+0x6d/0x520 fs/fcntl.c:1138 #3: ffff888030a76210 (&new->fa_lock){....}-{3:3}, at: kill_fasync_rcu fs/fcntl.c:1121 [inline] #3: ffff888030a76210 (&new->fa_lock){....}-{3:3}, at: kill_fasync fs/fcntl.c:1145 [inline] #3: ffff888030a76210 (&new->fa_lock){....}-{3:3}, at: kill_fasync+0x138/0x520 fs/fcntl.c:1138 #4: ffff8880236b8ca0 (&f_owner->lock){....}-{3:3} , at: send_sigio+0x31/0x3e0 fs/fcntl.c:904 the dependencies between SOFTIRQ-irq-safe lock and the holding lock: -> (&dev->event_lock#2){..-.}-{3:3} { IN-SOFTIRQ-W at: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 input_inject_event+0xa4/0x370 drivers/input/input.c:423 __led_set_brightness drivers/leds/led-core.c:52 [inline] led_set_brightness_nopm drivers/leds/led-core.c:323 [inline] led_set_brightness_nosleep drivers/leds/led-core.c:354 [inline] led_set_brightness+0x214/0x290 drivers/leds/led-core.c:316 led_trigger_event drivers/leds/led-triggers.c:407 [inline] led_trigger_event+0xda/0x270 drivers/leds/led-triggers.c:395 kbd_propagate_led_state drivers/tty/vt/keyboard.c:1080 [inline] kbd_bh+0x21b/0x300 drivers/tty/vt/keyboard.c:1269 tasklet_action_common+0x251/0x3f0 kernel/softirq.c:804 handle_softirqs+0x213/0x8f0 kernel/softirq.c:554 run_ksoftirqd kernel/softirq.c:943 [inline] run_ksoftirqd+0x3a/0x60 kernel/softirq.c:935 smpboot_thread_fn+0x661/0xa30 kernel/smpboot.c:164 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 INITIAL USE at: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 input_inject_event+0xa4/0x370 drivers/input/input.c:423 __led_set_brightness drivers/leds/led-core.c:52 [inline] led_set_brightness_nopm drivers/leds/led-core.c:323 [inline] led_set_brightness_nosleep drivers/leds/led-core.c:354 [inline] led_set_brightness+0x214/0x290 drivers/leds/led-core.c:316 kbd_led_trigger_activate+0xcb/0x110 drivers/tty/vt/keyboard.c:1036 led_trigger_set+0x59a/0xc60 drivers/leds/led-triggers.c:212 led_match_default_trigger drivers/leds/led-triggers.c:269 [inline] led_match_default_trigger drivers/leds/led-triggers.c:263 [inline] led_trigger_set_default drivers/leds/led-triggers.c:287 [inline] led_trigger_set_default+0x1bd/0x2a0 drivers/leds/led-triggers.c:276 led_classdev_register_ext+0x7bc/0xa10 drivers/leds/led-class.c:566 led_classdev_register include/linux/leds.h:274 [inline] input_leds_connect+0x552/0x8e0 drivers/input/input-leds.c:145 input_attach_handler.isra.0+0x181/0x260 drivers/input/input.c:1032 input_register_device+0xa84/0x1110 drivers/input/input.c:2475 atkbd_connect+0x5d8/0xa10 drivers/input/keyboard/atkbd.c:1340 serio_connect_driver drivers/input/serio/serio.c:43 [inline] serio_driver_probe+0x74/0xb0 drivers/input/serio/serio.c:747 call_driver_probe drivers/base/dd.c:579 [inline] really_probe+0x23e/0xa90 drivers/base/dd.c:658 __driver_probe_device+0x1de/0x440 drivers/base/dd.c:800 driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:830 __driver_attach+0x283/0x580 drivers/base/dd.c:1216 bus_for_each_dev+0x13c/0x1d0 drivers/base/bus.c:370 serio_attach_driver drivers/input/serio/serio.c:776 [inline] serio_handle_event+0x247/0xa00 drivers/input/serio/serio.c:213 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 } ... key at: [] __key.7+0x0/0x40 -> (&client->buffer_lock){....}-{3:3} { INITIAL USE at: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] evdev_pass_values+0x10e/0x9b0 drivers/input/evdev.c:261 evdev_events+0x1bb/0x390 drivers/input/evdev.c:306 input_pass_values+0x738/0x880 drivers/input/input.c:126 input_event_dispose drivers/input/input.c:341 [inline] input_handle_event+0xf0b/0x14d0 drivers/input/input.c:369 input_inject_event+0x1bb/0x370 drivers/input/input.c:428 evdev_write+0x44f/0x750 drivers/input/evdev.c:528 vfs_write+0x24c/0x1150 fs/read_write.c:677 ksys_write+0x207/0x250 fs/read_write.c:731 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f } ... key at: [] __key.1+0x0/0x40 ... acquired at: __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] evdev_pass_values+0x10e/0x9b0 drivers/input/evdev.c:261 evdev_events+0x1bb/0x390 drivers/input/evdev.c:306 input_pass_values+0x738/0x880 drivers/input/input.c:126 input_event_dispose drivers/input/input.c:341 [inline] input_handle_event+0xf0b/0x14d0 drivers/input/input.c:369 input_inject_event+0x1bb/0x370 drivers/input/input.c:428 evdev_write+0x44f/0x750 drivers/input/evdev.c:528 vfs_write+0x24c/0x1150 fs/read_write.c:677 ksys_write+0x207/0x250 fs/read_write.c:731 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f -> (&new->fa_lock){....}-{3:3} { INITIAL USE at: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 __raw_write_lock_irq include/linux/rwlock_api_smp.h:195 [inline] _raw_write_lock_irq+0x36/0x50 kernel/locking/spinlock.c:326 fasync_remove_entry+0xb9/0x1e0 fs/fcntl.c:998 fasync_helper+0xaf/0xd0 fs/fcntl.c:1101 sock_fasync+0x92/0x140 net/socket.c:1433 __fput+0x961/0xb60 fs/file_table.c:447 task_work_run+0x14e/0x250 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x27b/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f INITIAL READ USE at: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline] _raw_read_lock_irqsave+0x74/0x90 kernel/locking/spinlock.c:236 kill_fasync_rcu fs/fcntl.c:1121 [inline] kill_fasync fs/fcntl.c:1145 [inline] kill_fasync+0x138/0x520 fs/fcntl.c:1138 __pass_event drivers/input/evdev.c:240 [inline] evdev_pass_values+0x619/0x9b0 drivers/input/evdev.c:278 evdev_events+0x1bb/0x390 drivers/input/evdev.c:306 input_pass_values+0x738/0x880 drivers/input/input.c:126 input_event_dispose drivers/input/input.c:341 [inline] input_handle_event+0xf0b/0x14d0 drivers/input/input.c:369 input_inject_event+0x1bb/0x370 drivers/input/input.c:428 evdev_write+0x44f/0x750 drivers/input/evdev.c:528 vfs_write+0x24c/0x1150 fs/read_write.c:677 ksys_write+0x207/0x250 fs/read_write.c:731 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f } ... key at: [] __key.0+0x0/0x40 ... acquired at: __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline] _raw_read_lock_irqsave+0x74/0x90 kernel/locking/spinlock.c:236 kill_fasync_rcu fs/fcntl.c:1121 [inline] kill_fasync fs/fcntl.c:1145 [inline] kill_fasync+0x138/0x520 fs/fcntl.c:1138 __pass_event drivers/input/evdev.c:240 [inline] evdev_pass_values+0x619/0x9b0 drivers/input/evdev.c:278 evdev_events+0x1bb/0x390 drivers/input/evdev.c:306 input_pass_values+0x738/0x880 drivers/input/input.c:126 input_event_dispose drivers/input/input.c:341 [inline] input_handle_event+0xf0b/0x14d0 drivers/input/input.c:369 input_inject_event+0x1bb/0x370 drivers/input/input.c:428 evdev_write+0x44f/0x750 drivers/input/evdev.c:528 vfs_write+0x24c/0x1150 fs/read_write.c:677 ksys_write+0x207/0x250 fs/read_write.c:731 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f -> (&f_owner->lock){....}-{3:3} { INITIAL USE at: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 __raw_write_lock_irq include/linux/rwlock_api_smp.h:195 [inline] _raw_write_lock_irq+0x36/0x50 kernel/locking/spinlock.c:326 __f_setown+0x67/0x3c0 fs/fcntl.c:136 generic_add_lease fs/locks.c:1874 [inline] generic_setlease fs/locks.c:1942 [inline] generic_setlease+0xef8/0x1310 fs/locks.c:1929 kernel_setlease+0x106/0x140 fs/locks.c:1991 vfs_setlease+0x258/0x2d0 fs/locks.c:2026 do_fcntl_add_lease fs/locks.c:2047 [inline] fcntl_setlease+0x3ee/0x5a0 fs/locks.c:2069 do_fcntl+0x6fa/0x1530 fs/fcntl.c:533 __do_sys_fcntl fs/fcntl.c:588 [inline] __se_sys_fcntl fs/fcntl.c:573 [inline] __x64_sys_fcntl+0x170/0x200 fs/fcntl.c:573 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f INITIAL READ USE at: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline] _raw_read_lock_irqsave+0x74/0x90 kernel/locking/spinlock.c:236 send_sigio+0x31/0x3e0 fs/fcntl.c:904 kill_fasync_rcu fs/fcntl.c:1130 [inline] kill_fasync fs/fcntl.c:1145 [inline] kill_fasync+0x21a/0x520 fs/fcntl.c:1138 sock_wake_async+0x132/0x160 net/socket.c:1462 sk_wake_async include/net/sock.h:2460 [inline] sk_wake_async include/net/sock.h:2456 [inline] mptcp_close_wake_up net/mptcp/protocol.c:412 [inline] mptcp_close_wake_up+0x2eb/0x600 net/mptcp/protocol.c:402 __mptcp_close_ssk+0xd5c/0x14e0 net/mptcp/protocol.c:2525 mptcp_destroy_common+0x1bc/0x6c0 net/mptcp/protocol.c:3403 mptcp_disconnect+0x221/0x7f0 net/mptcp/protocol.c:3221 inet_shutdown+0x26c/0x440 net/ipv4/af_inet.c:935 __sys_shutdown_sock net/socket.c:2423 [inline] __sys_shutdown_sock net/socket.c:2417 [inline] __sys_shutdown+0x113/0x1a0 net/socket.c:2439 __do_sys_shutdown net/socket.c:2444 [inline] __se_sys_shutdown net/socket.c:2442 [inline] __x64_sys_shutdown+0x53/0x80 net/socket.c:2442 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f } ... key at: [] __key.1+0x0/0x40 ... acquired at: __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline] _raw_read_lock_irqsave+0x74/0x90 kernel/locking/spinlock.c:236 send_sigio+0x31/0x3e0 fs/fcntl.c:904 kill_fasync_rcu fs/fcntl.c:1130 [inline] kill_fasync fs/fcntl.c:1145 [inline] kill_fasync+0x21a/0x520 fs/fcntl.c:1138 sock_wake_async+0x132/0x160 net/socket.c:1462 sk_wake_async include/net/sock.h:2460 [inline] sk_wake_async include/net/sock.h:2456 [inline] mptcp_close_wake_up net/mptcp/protocol.c:412 [inline] mptcp_close_wake_up+0x2eb/0x600 net/mptcp/protocol.c:402 __mptcp_close_ssk+0xd5c/0x14e0 net/mptcp/protocol.c:2525 mptcp_destroy_common+0x1bc/0x6c0 net/mptcp/protocol.c:3403 mptcp_disconnect+0x221/0x7f0 net/mptcp/protocol.c:3221 inet_shutdown+0x26c/0x440 net/ipv4/af_inet.c:935 __sys_shutdown_sock net/socket.c:2423 [inline] __sys_shutdown_sock net/socket.c:2417 [inline] __sys_shutdown+0x113/0x1a0 net/socket.c:2439 __do_sys_shutdown net/socket.c:2444 [inline] __se_sys_shutdown net/socket.c:2442 [inline] __x64_sys_shutdown+0x53/0x80 net/socket.c:2442 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f the dependencies between the lock to be acquired and SOFTIRQ-irq-unsafe lock: -> (tasklist_lock){.+.+}-{3:3} { HARDIRQ-ON-R at: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline] _raw_read_lock+0x5f/0x70 kernel/locking/spinlock.c:228 __do_wait+0x105/0x890 kernel/exit.c:1647 do_wait+0x217/0x570 kernel/exit.c:1691 kernel_wait+0xa0/0x160 kernel/exit.c:1867 call_usermodehelper_exec_sync kernel/umh.c:136 [inline] call_usermodehelper_exec_work+0xf1/0x170 kernel/umh.c:163 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 SOFTIRQ-ON-R at: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline] _raw_read_lock+0x5f/0x70 kernel/locking/spinlock.c:228 __do_wait+0x105/0x890 kernel/exit.c:1647 do_wait+0x217/0x570 kernel/exit.c:1691 kernel_wait+0xa0/0x160 kernel/exit.c:1867 call_usermodehelper_exec_sync kernel/umh.c:136 [inline] call_usermodehelper_exec_work+0xf1/0x170 kernel/umh.c:163 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 INITIAL USE at: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 __raw_write_lock_irq include/linux/rwlock_api_smp.h:195 [inline] _raw_write_lock_irq+0x36/0x50 kernel/locking/spinlock.c:326 copy_process+0x3fe6/0x8cc0 kernel/fork.c:2503 kernel_clone+0xfd/0x960 kernel/fork.c:2787 user_mode_thread+0xb4/0xf0 kernel/fork.c:2865 rest_init+0x23/0x2b0 init/main.c:712 start_kernel+0x3e4/0x4d0 init/main.c:1102 x86_64_start_reservations+0x18/0x30 arch/x86/kernel/head64.c:507 x86_64_start_kernel+0xb2/0xc0 arch/x86/kernel/head64.c:488 common_startup_64+0x13e/0x148 INITIAL READ USE at: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline] _raw_read_lock+0x5f/0x70 kernel/locking/spinlock.c:228 __do_wait+0x105/0x890 kernel/exit.c:1647 do_wait+0x217/0x570 kernel/exit.c:1691 kernel_wait+0xa0/0x160 kernel/exit.c:1867 call_usermodehelper_exec_sync kernel/umh.c:136 [inline] call_usermodehelper_exec_work+0xf1/0x170 kernel/umh.c:163 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 } ... key at: [] tasklist_lock+0x18/0x40 ... acquired at: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline] _raw_read_lock+0x5f/0x70 kernel/locking/spinlock.c:228 send_sigio+0xb8/0x3e0 fs/fcntl.c:918 kill_fasync_rcu fs/fcntl.c:1130 [inline] kill_fasync fs/fcntl.c:1145 [inline] kill_fasync+0x21a/0x520 fs/fcntl.c:1138 sock_wake_async+0x132/0x160 net/socket.c:1462 sk_wake_async include/net/sock.h:2460 [inline] sk_wake_async include/net/sock.h:2456 [inline] mptcp_close_wake_up net/mptcp/protocol.c:412 [inline] mptcp_close_wake_up+0x2eb/0x600 net/mptcp/protocol.c:402 __mptcp_close_ssk+0xd5c/0x14e0 net/mptcp/protocol.c:2525 mptcp_destroy_common+0x1bc/0x6c0 net/mptcp/protocol.c:3403 mptcp_disconnect+0x221/0x7f0 net/mptcp/protocol.c:3221 inet_shutdown+0x26c/0x440 net/ipv4/af_inet.c:935 __sys_shutdown_sock net/socket.c:2423 [inline] __sys_shutdown_sock net/socket.c:2417 [inline] __sys_shutdown+0x113/0x1a0 net/socket.c:2439 __do_sys_shutdown net/socket.c:2444 [inline] __se_sys_shutdown net/socket.c:2442 [inline] __x64_sys_shutdown+0x53/0x80 net/socket.c:2442 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f stack backtrace: CPU: 2 UID: 0 PID: 11972 Comm: syz.0.2130 Not tainted 6.12.0-syzkaller-09567-g7eef7e306d3c #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_bad_irq_dependency kernel/locking/lockdep.c:2647 [inline] check_irq_usage+0xf22/0x1290 kernel/locking/lockdep.c:2888 check_prev_add kernel/locking/lockdep.c:3165 [inline] check_prevs_add kernel/locking/lockdep.c:3280 [inline] validate_chain kernel/locking/lockdep.c:3904 [inline] __lock_acquire+0x24b4/0x3c40 kernel/locking/lockdep.c:5226 lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849 __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline] _raw_read_lock+0x5f/0x70 kernel/locking/spinlock.c:228 send_sigio+0xb8/0x3e0 fs/fcntl.c:918 kill_fasync_rcu fs/fcntl.c:1130 [inline] kill_fasync fs/fcntl.c:1145 [inline] kill_fasync+0x21a/0x520 fs/fcntl.c:1138 sock_wake_async+0x132/0x160 net/socket.c:1462 sk_wake_async include/net/sock.h:2460 [inline] sk_wake_async include/net/sock.h:2456 [inline] mptcp_close_wake_up net/mptcp/protocol.c:412 [inline] mptcp_close_wake_up+0x2eb/0x600 net/mptcp/protocol.c:402 __mptcp_close_ssk+0xd5c/0x14e0 net/mptcp/protocol.c:2525 mptcp_destroy_common+0x1bc/0x6c0 net/mptcp/protocol.c:3403 mptcp_disconnect+0x221/0x7f0 net/mptcp/protocol.c:3221 inet_shutdown+0x26c/0x440 net/ipv4/af_inet.c:935 __sys_shutdown_sock net/socket.c:2423 [inline] __sys_shutdown_sock net/socket.c:2417 [inline] __sys_shutdown+0x113/0x1a0 net/socket.c:2439 __do_sys_shutdown net/socket.c:2444 [inline] __se_sys_shutdown net/socket.c:2442 [inline] __x64_sys_shutdown+0x53/0x80 net/socket.c:2442 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa7f197e919 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa7f284c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000030 RAX: ffffffffffffffda RBX: 00007fa7f1b35fa0 RCX: 00007fa7f197e919 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000000000a RBP: 00007fa7f19f197e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa7f1b35fa0 R15: 00007ffebd54e008