Title | Replies (including bot) | Last reply |
---|---|---|
[syzbot] Monthly input report (Oct 2024) | 0 (1) | 2024/10/03 09:03 |
[syzbot] [fs?] possible deadlock in input_inject_event | 0 (1) | 2024/09/27 15:01 |
syzbot |
sign-in | mailing list | source | docs |
Title | Replies (including bot) | Last reply |
---|---|---|
[syzbot] Monthly input report (Oct 2024) | 0 (1) | 2024/10/03 09:03 |
[syzbot] [fs?] possible deadlock in input_inject_event | 0 (1) | 2024/09/27 15:01 |
===================================================== WARNING: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected 6.12.0-rc1-syzkaller-00125-g0c559323bbaa #0 Not tainted ----------------------------------------------------- syz.1.3226/14892 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire: ffff88802d5693a0 (&f_owner->lock){....}-{2:2}, at: send_sigio+0x31/0x3e0 fs/fcntl.c:910 and this task is already holding: ffff8880290a9948 (&new->fa_lock){....}-{2:2}, at: kill_fasync_rcu fs/fcntl.c:1127 [inline] ffff8880290a9948 (&new->fa_lock){....}-{2:2}, at: kill_fasync fs/fcntl.c:1151 [inline] ffff8880290a9948 (&new->fa_lock){....}-{2:2}, at: kill_fasync+0x138/0x520 fs/fcntl.c:1144 which would create a new lock dependency: (&new->fa_lock){....}-{2:2} -> (&f_owner->lock){....}-{2:2} but this new dependency connects a SOFTIRQ-irq-safe lock: (&dev->event_lock#2){..-.}-{2:2} ... which became SOFTIRQ-irq-safe at: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5825 __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 kd_sound_helper+0x17a/0x280 drivers/tty/vt/keyboard.c:256 input_handler_for_each_handle+0xd4/0x250 drivers/input/input.c:2676 call_timer_fn+0x1a0/0x610 kernel/time/timer.c:1794 expire_timers kernel/time/timer.c:1845 [inline] __run_timers+0x6e8/0x930 kernel/time/timer.c:2419 __run_timer_base kernel/time/timer.c:2430 [inline] __run_timer_base kernel/time/timer.c:2423 [inline] run_timer_base+0x111/0x190 kernel/time/timer.c:2439 run_timer_softirq+0x1a/0x40 kernel/time/timer.c:2449 handle_softirqs+0x213/0x8f0 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu kernel/softirq.c:637 [inline] irq_exit_rcu+0xbb/0x120 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1037 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] arch_safe_halt arch/x86/include/asm/irqflags.h:106 [inline] acpi_safe_halt+0x1a/0x20 drivers/acpi/processor_idle.c:111 acpi_idle_enter+0xc5/0x160 drivers/acpi/processor_idle.c:702 cpuidle_enter_state+0xaa/0x4f0 drivers/cpuidle/cpuidle.c:264 cpuidle_enter+0x4e/0xa0 drivers/cpuidle/cpuidle.c:385 cpuidle_idle_call kernel/sched/idle.c:230 [inline] do_idle+0x313/0x3f0 kernel/sched/idle.c:326 cpu_startup_entry+0x4f/0x60 kernel/sched/idle.c:424 start_secondary+0x222/0x2b0 arch/x86/kernel/smpboot.c:314 common_startup_64+0x13e/0x148 to a SOFTIRQ-irq-unsafe lock: (tasklist_lock){.+.+}-{2:2} ... which became SOFTIRQ-irq-unsafe at: ... lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5825 __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:1648 do_wait+0x219/0x570 kernel/exit.c:1692 kernel_wait+0xa0/0x160 kernel/exit.c:1868 call_usermodehelper_exec_sync kernel/umh.c:137 [inline] call_usermodehelper_exec_work+0xf1/0x170 kernel/umh.c:164 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 --> &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); <Interrupt> lock(&dev->event_lock#2); *** DEADLOCK *** 4 locks held by syz.1.3226/14892: #0: ffff88805b9de420 (sb_writers#6){.+.+}-{0:0}, at: do_rmdir+0x1e4/0x410 fs/namei.c:4383 #1: ffff888077e38950 (&type->i_mutex_dir_key#5/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:850 [inline] #1: ffff888077e38950 (&type->i_mutex_dir_key#5/1){+.+.}-{3:3}, at: do_rmdir+0x235/0x410 fs/namei.c:4387 #2: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #2: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #2: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: kill_fasync fs/fcntl.c:1150 [inline] #2: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: kill_fasync+0x6d/0x520 fs/fcntl.c:1144 #3: ffff8880290a9948 (&new->fa_lock){....}-{2:2}, at: kill_fasync_rcu fs/fcntl.c:1127 [inline] #3: ffff8880290a9948 (&new->fa_lock){....}-{2:2}, at: kill_fasync fs/fcntl.c:1151 [inline] #3: ffff8880290a9948 (&new->fa_lock){....}-{2:2}, at: kill_fasync+0x138/0x520 fs/fcntl.c:1144 the dependencies between SOFTIRQ-irq-safe lock and the holding lock: -> (&dev->event_lock#2){..-.}-{2:2} { IN-SOFTIRQ-W at: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5825 __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 kd_sound_helper+0x17a/0x280 drivers/tty/vt/keyboard.c:256 input_handler_for_each_handle+0xd4/0x250 drivers/input/input.c:2676 call_timer_fn+0x1a0/0x610 kernel/time/timer.c:1794 expire_timers kernel/time/timer.c:1845 [inline] __run_timers+0x6e8/0x930 kernel/time/timer.c:2419 __run_timer_base kernel/time/timer.c:2430 [inline] __run_timer_base kernel/time/timer.c:2423 [inline] run_timer_base+0x111/0x190 kernel/time/timer.c:2439 run_timer_softirq+0x1a/0x40 kernel/time/timer.c:2449 handle_softirqs+0x213/0x8f0 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu kernel/softirq.c:637 [inline] irq_exit_rcu+0xbb/0x120 kernel/softirq.c:649 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1037 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 native_safe_halt arch/x86/include/asm/irqflags.h:48 [inline] arch_safe_halt arch/x86/include/asm/irqflags.h:106 [inline] acpi_safe_halt+0x1a/0x20 drivers/acpi/processor_idle.c:111 acpi_idle_enter+0xc5/0x160 drivers/acpi/processor_idle.c:702 cpuidle_enter_state+0xaa/0x4f0 drivers/cpuidle/cpuidle.c:264 cpuidle_enter+0x4e/0xa0 drivers/cpuidle/cpuidle.c:385 cpuidle_idle_call kernel/sched/idle.c:230 [inline] do_idle+0x313/0x3f0 kernel/sched/idle.c:326 cpu_startup_entry+0x4f/0x60 kernel/sched/idle.c:424 start_secondary+0x222/0x2b0 arch/x86/kernel/smpboot.c:314 common_startup_64+0x13e/0x148 INITIAL USE at: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5825 __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+0x211/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+0x78c/0x9e0 drivers/leds/led-class.c:555 led_classdev_register include/linux/leds.h:273 [inline] input_leds_connect+0x552/0x8e0 drivers/input/input-leds.c:145 input_attach_handler.isra.0+0x181/0x260 drivers/input/input.c:1027 input_register_device+0xa84/0x1110 drivers/input/input.c:2470 atkbd_connect+0x5e2/0xa20 drivers/input/keyboard/atkbd.c:1340 serio_connect_driver drivers/input/serio/serio.c:44 [inline] serio_driver_probe+0x74/0xa0 drivers/input/serio/serio.c:775 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:804 [inline] serio_handle_event+0x2bb/0xa90 drivers/input/serio/serio.c:224 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: [<ffffffff9ab2f260>] __key.7+0x0/0x40 -> (&client->buffer_lock){....}-{2:2} { INITIAL USE at: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5825 __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+0x777/0x8e0 drivers/input/input.c:126 input_event_dispose drivers/input/input.c:352 [inline] input_handle_event+0xb30/0x14d0 drivers/input/input.c:369 input_inject_event+0x1bb/0x370 drivers/input/input.c:428 kd_sound_helper+0x17a/0x280 drivers/tty/vt/keyboard.c:256 input_handler_for_each_handle+0xd4/0x250 drivers/input/input.c:2676 kd_mksound+0x89/0x130 drivers/tty/vt/keyboard.c:280 handle_ascii drivers/tty/vt/vt.c:2251 [inline] do_con_trol drivers/tty/vt/vt.c:2568 [inline] do_con_write+0x2e6f/0x7bb0 drivers/tty/vt/vt.c:3092 con_write+0x23/0xb0 drivers/tty/vt/vt.c:3434 process_output_block drivers/tty/n_tty.c:574 [inline] n_tty_write+0x419/0x1140 drivers/tty/n_tty.c:2389 iterate_tty_write drivers/tty/tty_io.c:1015 [inline] file_tty_write.constprop.0+0x506/0x9a0 drivers/tty/tty_io.c:1090 new_sync_write fs/read_write.c:590 [inline] vfs_write+0x6b5/0x1140 fs/read_write.c:683 ksys_write+0x12f/0x260 fs/read_write.c:736 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: [<ffffffff9ab2f6e0>] __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+0x777/0x8e0 drivers/input/input.c:126 input_event_dispose drivers/input/input.c:352 [inline] input_handle_event+0xb30/0x14d0 drivers/input/input.c:369 input_inject_event+0x1bb/0x370 drivers/input/input.c:428 kd_sound_helper+0x17a/0x280 drivers/tty/vt/keyboard.c:256 input_handler_for_each_handle+0xd4/0x250 drivers/input/input.c:2676 kd_mksound+0x89/0x130 drivers/tty/vt/keyboard.c:280 handle_ascii drivers/tty/vt/vt.c:2251 [inline] do_con_trol drivers/tty/vt/vt.c:2568 [inline] do_con_write+0x2e6f/0x7bb0 drivers/tty/vt/vt.c:3092 con_write+0x23/0xb0 drivers/tty/vt/vt.c:3434 process_output_block drivers/tty/n_tty.c:574 [inline] n_tty_write+0x419/0x1140 drivers/tty/n_tty.c:2389 iterate_tty_write drivers/tty/tty_io.c:1015 [inline] file_tty_write.constprop.0+0x506/0x9a0 drivers/tty/tty_io.c:1090 new_sync_write fs/read_write.c:590 [inline] vfs_write+0x6b5/0x1140 fs/read_write.c:683 ksys_write+0x12f/0x260 fs/read_write.c:736 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){....}-{2:2} { INITIAL USE at: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5825 __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:1004 fasync_helper+0xaf/0xd0 fs/fcntl.c:1107 sock_fasync+0x92/0x140 net/socket.c:1451 __fput+0x958/0xb60 fs/file_table.c:428 task_work_run+0x14e/0x250 kernel/task_work.c:228 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:328 [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:5825 __raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline] _raw_read_lock_irqsave+0x46/0x90 kernel/locking/spinlock.c:236 kill_fasync_rcu fs/fcntl.c:1127 [inline] kill_fasync fs/fcntl.c:1151 [inline] kill_fasync+0x138/0x520 fs/fcntl.c:1144 tun_net_xmit+0x11db/0x1830 drivers/net/tun.c:1139 __netdev_start_xmit include/linux/netdevice.h:4916 [inline] netdev_start_xmit include/linux/netdevice.h:4925 [inline] xmit_one net/core/dev.c:3588 [inline] dev_hard_start_xmit+0x143/0x790 net/core/dev.c:3604 sch_direct_xmit+0x1ae/0xc30 net/sched/sch_generic.c:343 __dev_xmit_skb net/core/dev.c:3821 [inline] __dev_queue_xmit+0x136a/0x4350 net/core/dev.c:4394 dev_queue_xmit include/linux/netdevice.h:3094 [inline] neigh_connected_output+0x45c/0x630 net/core/neighbour.c:1594 neigh_output include/net/neighbour.h:542 [inline] ip6_finish_output2+0x6a7/0x1a50 net/ipv6/ip6_output.c:141 __ip6_finish_output net/ipv6/ip6_output.c:215 [inline] ip6_finish_output+0x3f9/0x1300 net/ipv6/ip6_output.c:226 NF_HOOK_COND include/linux/netfilter.h:303 [inline] ip6_output+0x1f8/0x540 net/ipv6/ip6_output.c:247 dst_output include/net/dst.h:450 [inline] NF_HOOK include/linux/netfilter.h:314 [inline] NF_HOOK include/linux/netfilter.h:308 [inline] mld_sendpack+0x9f0/0x11d0 net/ipv6/mcast.c:1819 mld_send_initial_cr.part.0+0x1a1/0x260 net/ipv6/mcast.c:2237 mld_send_initial_cr include/linux/refcount.h:192 [inline] ipv6_mc_dad_complete+0x22c/0x2b0 net/ipv6/mcast.c:2245 addrconf_dad_completed+0xd40/0x1060 net/ipv6/addrconf.c:4342 addrconf_dad_begin net/ipv6/addrconf.c:4127 [inline] addrconf_dad_work+0xd5a/0x14d0 net/ipv6/addrconf.c:4229 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: [<ffffffff9a8505c0>] __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:1127 [inline] kill_fasync fs/fcntl.c:1151 [inline] kill_fasync+0x138/0x520 fs/fcntl.c:1144 __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+0x777/0x8e0 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+0x28e/0x1140 fs/read_write.c:681 ksys_write+0x1fa/0x260 fs/read_write.c:736 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){.+.+}-{2:2} { HARDIRQ-ON-R at: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5825 __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:1648 do_wait+0x219/0x570 kernel/exit.c:1692 kernel_wait+0xa0/0x160 kernel/exit.c:1868 call_usermodehelper_exec_sync kernel/umh.c:137 [inline] call_usermodehelper_exec_work+0xf1/0x170 kernel/umh.c:164 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:5825 __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:1648 do_wait+0x219/0x570 kernel/exit.c:1692 kernel_wait+0xa0/0x160 kernel/exit.c:1868 call_usermodehelper_exec_sync kernel/umh.c:137 [inline] call_usermodehelper_exec_work+0xf1/0x170 kernel/umh.c:164 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:5825 __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+0x3feb/0x8dc0 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:1105 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:5825 __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:1648 do_wait+0x219/0x570 kernel/exit.c:1692 kernel_wait+0xa0/0x160 kernel/exit.c:1868 call_usermodehelper_exec_sync kernel/umh.c:137 [inline] call_usermodehelper_exec_work+0xf1/0x170 kernel/umh.c:164 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: [<ffffffff8de0a098>] tasklist_lock+0x18/0x40 ... acquired at: __raw_read_lock include/linux/rwlock_api_smp.h:150 [inline] _raw_read_lock+0x5f/0x70 kernel/locking/spinlock.c:228 send_sigurg+0xf3/0xc80 fs/fcntl.c:970 sk_send_sigurg+0x76/0x360 net/core/sock.c:3500 tcp_check_urg net/ipv4/tcp_input.c:5838 [inline] tcp_urg+0x343/0xb80 net/ipv4/tcp_input.c:5879 tcp_rcv_established+0x8a6/0x21c0 net/ipv4/tcp_input.c:6234 tcp_v4_do_rcv+0x5ca/0xa90 net/ipv4/tcp_ipv4.c:1915 sk_backlog_rcv include/net/sock.h:1113 [inline] __release_sock+0x31b/0x400 net/core/sock.c:3072 release_sock+0x5a/0x220 net/core/sock.c:3626 tcp_sendmsg+0x38/0x50 net/ipv4/tcp.c:1358 inet_sendmsg+0xb9/0x140 net/ipv4/af_inet.c:853 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg net/socket.c:744 [inline] ____sys_sendmsg+0x98c/0xc90 net/socket.c:2602 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2656 __sys_sendmmsg+0x1a1/0x450 net/socket.c:2742 __do_sys_sendmmsg net/socket.c:2771 [inline] __se_sys_sendmmsg net/socket.c:2768 [inline] __x64_sys_sendmmsg+0x9c/0x100 net/socket.c:2768 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){....}-{2:2} { INITIAL USE at: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5825 __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:137 f_setown+0x122/0x290 fs/fcntl.c:184 do_fcntl+0xf44/0x1510 fs/fcntl.c:510 __do_sys_fcntl fs/fcntl.c:586 [inline] __se_sys_fcntl fs/fcntl.c:571 [inline] __x64_sys_fcntl+0x176/0x210 fs/fcntl.c:571 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:5825 __raw_read_lock_irq include/linux/rwlock_api_smp.h:169 [inline] _raw_read_lock_irq+0x67/0x80 kernel/locking/spinlock.c:244 f_getown_ex fs/fcntl.c:271 [inline] do_fcntl+0x45b/0x1510 fs/fcntl.c:513 __do_sys_fcntl fs/fcntl.c:586 [inline] __se_sys_fcntl fs/fcntl.c:571 [inline] __x64_sys_fcntl+0x176/0x210 fs/fcntl.c:571 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: [<ffffffff9a850600>] __key.1+0x0/0x40 ... acquired at: lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5825 __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:910 kill_fasync_rcu fs/fcntl.c:1136 [inline] kill_fasync fs/fcntl.c:1151 [inline] kill_fasync+0x21a/0x520 fs/fcntl.c:1144 fsnotify_insert_event+0x3ab/0x4e0 fs/notify/notification.c:128 fsnotify_add_event include/linux/fsnotify_backend.h:660 [inline] inotify_handle_inode_event+0x3f4/0x660 fs/notify/inotify/inotify_fsnotify.c:126 inotify_ignored_and_remove_idr+0x28/0x70 fs/notify/inotify/inotify_user.c:526 fsnotify_free_mark+0xe9/0x140 fs/notify/mark.c:572 fsnotify_destroy_mark fs/notify/mark.c:581 [inline] fsnotify_destroy_marks+0x2d9/0x450 fs/notify/mark.c:934 fsnotify_inoderemove include/linux/fsnotify.h:264 [inline] dentry_unlink_inode+0x3cb/0x480 fs/dcache.c:408 d_delete fs/dcache.c:2405 [inline] d_delete+0x16d/0x1c0 fs/dcache.c:2394 d_delete_notify include/linux/fsnotify.h:330 [inline] vfs_rmdir fs/namei.c:4353 [inline] vfs_rmdir+0x369/0x690 fs/namei.c:4317 do_rmdir+0x3a2/0x410 fs/namei.c:4399 __do_sys_rmdir fs/namei.c:4418 [inline] __se_sys_rmdir fs/namei.c:4416 [inline] __x64_sys_rmdir+0xc5/0x110 fs/namei.c:4416 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: 1 UID: 0 PID: 14892 Comm: syz.1.3226 Not tainted 6.12.0-rc1-syzkaller-00125-g0c559323bbaa #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: <TASK> __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+0x2521/0x3ce0 kernel/locking/lockdep.c:5202 lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5825 __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:910 kill_fasync_rcu fs/fcntl.c:1136 [inline] kill_fasync fs/fcntl.c:1151 [inline] kill_fasync+0x21a/0x520 fs/fcntl.c:1144 fsnotify_insert_event+0x3ab/0x4e0 fs/notify/notification.c:128 fsnotify_add_event include/linux/fsnotify_backend.h:660 [inline] inotify_handle_inode_event+0x3f4/0x660 fs/notify/inotify/inotify_fsnotify.c:126 inotify_ignored_and_remove_idr+0x28/0x70 fs/notify/inotify/inotify_user.c:526 fsnotify_free_mark+0xe9/0x140 fs/notify/mark.c:572 fsnotify_destroy_mark fs/notify/mark.c:581 [inline] fsnotify_destroy_marks+0x2d9/0x450 fs/notify/mark.c:934 fsnotify_inoderemove include/linux/fsnotify.h:264 [inline] dentry_unlink_inode+0x3cb/0x480 fs/dcache.c:408 d_delete fs/dcache.c:2405 [inline] d_delete+0x16d/0x1c0 fs/dcache.c:2394 d_delete_notify include/linux/fsnotify.h:330 [inline] vfs_rmdir fs/namei.c:4353 [inline] vfs_rmdir+0x369/0x690 fs/namei.c:4317 do_rmdir+0x3a2/0x410 fs/namei.c:4399 __do_sys_rmdir fs/namei.c:4418 [inline] __se_sys_rmdir fs/namei.c:4416 [inline] __x64_sys_rmdir+0xc5/0x110 fs/namei.c:4416 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:0x7f55b4d7dff9 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:00007f55b5bf1038 EFLAGS: 00000246 ORIG_RAX: 0000000000000054 RAX: ffffffffffffffda RBX: 00007f55b4f36058 RCX: 00007f55b4d7dff9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000100 RBP: 00007f55b4df0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f55b4f36058 R15: 00007ffcbd4f2a68 </TASK>
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2024/10/04 19:07 | upstream | 0c559323bbaa | d7906eff | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-selinux-root | possible deadlock in input_inject_event | ||
2024/10/04 15:10 | upstream | 0c559323bbaa | d7906eff | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce | possible deadlock in input_inject_event | ||
2024/10/04 08:41 | upstream | 8c245fe7dde3 | d7906eff | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce | possible deadlock in input_inject_event | ||
2024/10/04 05:40 | upstream | 8c245fe7dde3 | d7906eff | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce | possible deadlock in input_inject_event | ||
2024/10/04 01:53 | upstream | 8c245fe7dde3 | d7906eff | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce | possible deadlock in input_inject_event | ||
2024/10/03 13:13 | upstream | 7ec462100ef9 | d7906eff | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce | possible deadlock in input_inject_event | ||
2024/10/03 00:23 | upstream | f23aa4c0761a | a4c7fd36 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/09/30 09:37 | upstream | 9852d85ec9d4 | ba29ff75 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-root | possible deadlock in input_inject_event | ||
2024/09/29 11:59 | upstream | 3efc57369a0c | ba29ff75 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce | possible deadlock in input_inject_event | ||
2024/09/29 06:10 | upstream | 3efc57369a0c | ba29ff75 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce | possible deadlock in input_inject_event | ||
2024/09/28 12:45 | upstream | ad46e8f95e93 | 440b26ec | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce | possible deadlock in input_inject_event | ||
2024/09/28 10:24 | upstream | ad46e8f95e93 | 440b26ec | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce | possible deadlock in input_inject_event | ||
2024/09/19 15:26 | upstream | 2a17bb8c204f | 6f888b75 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-root | possible deadlock in input_inject_event | ||
2024/09/17 16:32 | upstream | fc1dc0d50780 | c673ca06 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-root | possible deadlock in input_inject_event | ||
2024/09/17 13:20 | upstream | a430d95c5efa | c673ca06 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce | possible deadlock in input_inject_event | ||
2024/09/16 21:14 | upstream | adfc3ded5c33 | 49cf0773 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce | possible deadlock in input_inject_event | ||
2024/09/16 19:53 | upstream | adfc3ded5c33 | 49cf0773 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce | possible deadlock in input_inject_event | ||
2024/09/16 14:15 | upstream | adfc3ded5c33 | 49cf0773 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/09/16 05:10 | upstream | 98f7e32f20d2 | 08d8a733 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/09/15 05:19 | upstream | 0babf683783d | 08d8a733 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/09/15 01:28 | upstream | 0babf683783d | 08d8a733 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/09/15 00:21 | upstream | 0babf683783d | ff60e2ca | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/09/14 19:29 | upstream | b7718454f937 | ff60e2ca | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/09/14 07:00 | upstream | b7718454f937 | ff60e2ca | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/09/13 19:57 | upstream | e936e7d4a83b | 158f4851 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/09/13 15:49 | upstream | 196145c606d0 | b58f933c | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/09/13 01:08 | upstream | 196145c606d0 | 60e1a995 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/09/12 11:37 | upstream | 77f587896757 | 60e1a995 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/09/11 21:40 | upstream | 7c6a3a65ace7 | d94c83d8 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/09/10 20:09 | upstream | 8d8d276ba2fb | 79eef296 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/09/10 20:08 | upstream | 8d8d276ba2fb | 79eef296 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/09/10 10:56 | upstream | bc83b4d1f086 | 784df80e | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-selinux-root | possible deadlock in input_inject_event | ||
2024/09/10 06:16 | upstream | bc83b4d1f086 | 784df80e | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/09/09 15:34 | upstream | da3ea35007d0 | dd9c7e97 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-selinux-root | possible deadlock in input_inject_event | ||
2024/09/09 09:39 | upstream | da3ea35007d0 | 9750182a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-selinux-root | possible deadlock in input_inject_event | ||
2024/09/09 01:44 | upstream | 5dadc1be8fc5 | 9750182a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce | possible deadlock in input_inject_event | ||
2024/09/08 09:04 | upstream | d1f2d51b711a | 9750182a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-selinux-root | possible deadlock in input_inject_event | ||
2024/09/08 05:49 | upstream | d1f2d51b711a | 9750182a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/09/07 16:25 | upstream | b31c44928842 | 9750182a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/09/07 16:20 | upstream | b31c44928842 | 9750182a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/09/07 16:20 | upstream | b31c44928842 | 9750182a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/09/06 21:21 | upstream | 788220eee30d | ce70880a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/09/03 22:43 | upstream | 88fac17500f4 | 9d47f20a | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/08/31 06:52 | upstream | 1934261d8974 | 1eda0d14 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-smack-root | possible deadlock in input_inject_event | ||
2024/10/03 18:09 | upstream | 7ec462100ef9 | d7906eff | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-386 | possible deadlock in input_inject_event | ||
2024/09/11 11:58 | upstream | 8d8d276ba2fb | 9326a104 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-386 | possible deadlock in input_inject_event | ||
2024/09/09 19:55 | upstream | bc83b4d1f086 | dd9c7e97 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci-upstream-kasan-gce-386 | possible deadlock in input_inject_event | ||
2024/09/10 21:51 | upstream | 8d8d276ba2fb | e1ac59f4 | .config | console log | report | info | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-qemu-upstream | possible deadlock in input_inject_event | ||
2024/09/08 18:53 | upstream | 5dadc1be8fc5 | 9750182a | .config | console log | report | info | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-qemu-upstream | possible deadlock in input_inject_event | ||
2024/09/07 01:57 | upstream | b31c44928842 | 9750182a | .config | console log | report | info | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-qemu-upstream | possible deadlock in input_inject_event | ||
2024/09/07 01:57 | upstream | b31c44928842 | 9750182a | .config | console log | report | info | [disk image (non-bootable)] [vmlinux] [kernel image] | ci-qemu-upstream | possible deadlock in input_inject_event |