=====================================================
WARNING: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected
6.1.134-syzkaller #0 Not tainted
-----------------------------------------------------
syz.1.4609/17144 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire:
ffffffff8d00a058 (tasklist_lock){.+.+}-{2:2}, at: send_sigio+0xf8/0x360 fs/fcntl.c:784
and this task is already holding:
ffff8880245c23b0 (&f->f_owner.lock){...-}-{2:2}, at: send_sigio+0x2f/0x360 fs/fcntl.c:770
which would create a new lock dependency:
(&f->f_owner.lock){...-}-{2:2} -> (tasklist_lock){.+.+}-{2:2}
but this new dependency connects a SOFTIRQ-irq-safe lock:
(&client->buffer_lock){..-.}-{2:2}
... which became SOFTIRQ-irq-safe at:
lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:351 [inline]
evdev_pass_values+0xee/0xad0 drivers/input/evdev.c:261
evdev_events+0x1be/0x2f0 drivers/input/evdev.c:306
input_to_handler drivers/input/input.c:127 [inline]
input_pass_values+0x8e0/0x12a0 drivers/input/input.c:159
input_event_dispose+0x3fc/0x650 drivers/input/input.c:385
input_handle_event+0x97d/0xb00 drivers/input/input.c:402
input_event+0xa0/0xd0 drivers/input/input.c:431
hidinput_hid_event+0x13e6/0x1d40 drivers/hid/hid-input.c:1710
hid_process_event+0x433/0x580 drivers/hid/hid-core.c:1545
hid_process_report drivers/hid/hid-core.c:1693 [inline]
hid_report_raw_event+0xfc3/0x17e0 drivers/hid/hid-core.c:2020
hid_input_report+0x420/0x4e0 drivers/hid/hid-core.c:2088
hid_irq_in+0x45c/0x690 drivers/hid/usbhid/hid-core.c:284
__usb_hcd_giveback_urb+0x371/0x530 drivers/usb/core/hcd.c:1675
dummy_timer+0x8dc/0x32b0 drivers/usb/gadget/udc/dummy_hcd.c:1994
__run_hrtimer kernel/time/hrtimer.c:1691 [inline]
__hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1755
hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1772
handle_softirqs+0x2ee/0xa40 kernel/softirq.c:578
__do_softirq kernel/softirq.c:612 [inline]
invoke_softirq kernel/softirq.c:452 [inline]
__irq_exit_rcu+0x157/0x240 kernel/softirq.c:661
irq_exit_rcu+0x5/0x20 kernel/softirq.c:673
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
__sanitizer_cov_trace_const_cmp4+0x0/0x80
mt_locked lib/maple_tree.c:807 [inline]
mt_slot lib/maple_tree.c:814 [inline]
mas_slot lib/maple_tree.c:847 [inline]
mas_next_nentry lib/maple_tree.c:4750 [inline]
mas_next_entry+0x953/0xfb0 lib/maple_tree.c:4837
validate_mm_mt+0x25c/0x670 mm/mmap.c:295
validate_mm+0x16e/0x380 mm/mmap.c:331
remove_mt mm/mmap.c:2310 [inline]
do_mas_align_munmap+0x12c9/0x15a0 mm/mmap.c:2583
do_mas_munmap+0x246/0x2b0 mm/mmap.c:2638
__vm_munmap+0x268/0x370 mm/mmap.c:2924
__do_sys_munmap mm/mmap.c:2949 [inline]
__se_sys_munmap mm/mmap.c:2946 [inline]
__x64_sys_munmap+0x5c/0x70 mm/mmap.c:2946
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
to a SOFTIRQ-irq-unsafe lock:
(tasklist_lock){.+.+}-{2:2}
... which became SOFTIRQ-irq-unsafe at:
...
lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
__raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
_raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
do_wait+0x2c6/0xb80 kernel/exit.c:1604
kernel_wait+0xe5/0x230 kernel/exit.c:1794
call_usermodehelper_exec_sync kernel/umh.c:140 [inline]
call_usermodehelper_exec_work+0xb5/0x220 kernel/umh.c:167
process_one_work+0x917/0x1260 kernel/workqueue.c:2292
worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
other info that might help us debug this:
Chain exists of:
&client->buffer_lock --> &f->f_owner.lock --> tasklist_lock
Possible interrupt unsafe locking scenario:
CPU0 CPU1
---- ----
lock(tasklist_lock);
local_irq_disable();
lock(&client->buffer_lock);
lock(&f->f_owner.lock);
<Interrupt>
lock(&client->buffer_lock);
*** DEADLOCK ***
5 locks held by syz.1.4609/17144:
#0: ffffffff8d32e7c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
#0: ffffffff8d32e7c0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline]
#0: ffffffff8d32e7c0 (rcu_read_lock){....}-{1:2}, at: sock_def_readable+0x1d/0x280 net/core/sock.c:3305
#1: ffffffff8d32e7c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
#1: ffffffff8d32e7c0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline]
#1: ffffffff8d32e7c0 (rcu_read_lock){....}-{1:2}, at: sk_wake_async+0x86/0x280 include/net/sock.h:2591
#2: ffffffff8d32e7c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
#2: ffffffff8d32e7c0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline]
#2: ffffffff8d32e7c0 (rcu_read_lock){....}-{1:2}, at: kill_fasync+0x51/0x4d0 fs/fcntl.c:1008
#3: ffff888030290210 (&new->fa_lock){....}-{2:2}, at: kill_fasync_rcu fs/fcntl.c:988 [inline]
#3: ffff888030290210 (&new->fa_lock){....}-{2:2}, at: kill_fasync+0x196/0x4d0 fs/fcntl.c:1009
#4: ffff8880245c23b0 (&f->f_owner.lock){...-}-{2:2}, at: send_sigio+0x2f/0x360 fs/fcntl.c:770
the dependencies between SOFTIRQ-irq-safe lock and the holding lock:
-> (&client->buffer_lock){..-.}-{2:2} {
IN-SOFTIRQ-W at:
lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:351 [inline]
evdev_pass_values+0xee/0xad0 drivers/input/evdev.c:261
evdev_events+0x1be/0x2f0 drivers/input/evdev.c:306
input_to_handler drivers/input/input.c:127 [inline]
input_pass_values+0x8e0/0x12a0 drivers/input/input.c:159
input_event_dispose+0x3fc/0x650 drivers/input/input.c:385
input_handle_event+0x97d/0xb00 drivers/input/input.c:402
input_event+0xa0/0xd0 drivers/input/input.c:431
hidinput_hid_event+0x13e6/0x1d40 drivers/hid/hid-input.c:1710
hid_process_event+0x433/0x580 drivers/hid/hid-core.c:1545
hid_process_report drivers/hid/hid-core.c:1693 [inline]
hid_report_raw_event+0xfc3/0x17e0 drivers/hid/hid-core.c:2020
hid_input_report+0x420/0x4e0 drivers/hid/hid-core.c:2088
hid_irq_in+0x45c/0x690 drivers/hid/usbhid/hid-core.c:284
__usb_hcd_giveback_urb+0x371/0x530 drivers/usb/core/hcd.c:1675
dummy_timer+0x8dc/0x32b0 drivers/usb/gadget/udc/dummy_hcd.c:1994
__run_hrtimer kernel/time/hrtimer.c:1691 [inline]
__hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1755
hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1772
handle_softirqs+0x2ee/0xa40 kernel/softirq.c:578
__do_softirq kernel/softirq.c:612 [inline]
invoke_softirq kernel/softirq.c:452 [inline]
__irq_exit_rcu+0x157/0x240 kernel/softirq.c:661
irq_exit_rcu+0x5/0x20 kernel/softirq.c:673
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
__sanitizer_cov_trace_const_cmp4+0x0/0x80
mt_locked lib/maple_tree.c:807 [inline]
mt_slot lib/maple_tree.c:814 [inline]
mas_slot lib/maple_tree.c:847 [inline]
mas_next_nentry lib/maple_tree.c:4750 [inline]
mas_next_entry+0x953/0xfb0 lib/maple_tree.c:4837
validate_mm_mt+0x25c/0x670 mm/mmap.c:295
validate_mm+0x16e/0x380 mm/mmap.c:331
remove_mt mm/mmap.c:2310 [inline]
do_mas_align_munmap+0x12c9/0x15a0 mm/mmap.c:2583
do_mas_munmap+0x246/0x2b0 mm/mmap.c:2638
__vm_munmap+0x268/0x370 mm/mmap.c:2924
__do_sys_munmap mm/mmap.c:2949 [inline]
__se_sys_munmap mm/mmap.c:2946 [inline]
__x64_sys_munmap+0x5c/0x70 mm/mmap.c:2946
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
INITIAL USE at:
lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
__raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
_raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
spin_lock include/linux/spinlock.h:351 [inline]
evdev_pass_values+0xee/0xad0 drivers/input/evdev.c:261
evdev_events+0x1be/0x2f0 drivers/input/evdev.c:306
input_to_handler drivers/input/input.c:127 [inline]
input_pass_values+0x8e0/0x12a0 drivers/input/input.c:159
input_event_dispose+0x366/0x650 drivers/input/input.c:374
input_handle_event+0x97d/0xb00 drivers/input/input.c:402
input_inject_event+0x224/0x330 drivers/input/input.c:461
evdev_write+0x668/0x7c0 drivers/input/evdev.c:530
vfs_write+0x2d9/0xbc0 fs/read_write.c:582
ksys_write+0x19c/0x2c0 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
}
... key at: [<ffffffff97785bc0>] evdev_open.__key.30+0x0/0x20
-> (&new->fa_lock){....}-{2:2} {
INITIAL USE at:
lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
__raw_write_lock_irq include/linux/rwlock_api_smp.h:195 [inline]
_raw_write_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:326
fasync_remove_entry+0xfb/0x1d0 fs/fcntl.c:865
sock_fasync+0x86/0xf0 net/socket.c:1425
__fput+0x75e/0x8d0 fs/file_table.c:317
task_work_run+0x246/0x300 kernel/task_work.c:203
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
__syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303
do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87
entry_SYSCALL_64_after_hwframe+0x68/0xd2
INITIAL READ USE at:
lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
__raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
_raw_read_lock_irqsave+0xd9/0x120 kernel/locking/spinlock.c:236
kill_fasync_rcu fs/fcntl.c:988 [inline]
kill_fasync+0x196/0x4d0 fs/fcntl.c:1009
sock_wake_async+0x145/0x170 net/socket.c:-1
sk_wake_async+0x186/0x280 include/net/sock.h:2592
queue_oob+0x81a/0xaf0 net/unix/af_unix.c:2128
unix_stream_sendmsg+0xe10/0x1070 net/unix/af_unix.c:2228
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:730 [inline]
____sys_sendmsg+0x5d3/0x9a0 net/socket.c:2519
___sys_sendmsg net/socket.c:2573 [inline]
__sys_sendmmsg+0x3ab/0x730 net/socket.c:2659
__do_sys_sendmmsg net/socket.c:2688 [inline]
__se_sys_sendmmsg net/socket.c:2685 [inline]
__x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2685
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
}
... key at: [<ffffffff9748d920>] fasync_insert_entry.__key+0x0/0x20
... acquired at:
lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
__raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
_raw_read_lock_irqsave+0xd9/0x120 kernel/locking/spinlock.c:236
kill_fasync_rcu fs/fcntl.c:988 [inline]
kill_fasync+0x196/0x4d0 fs/fcntl.c:1009
__pass_event drivers/input/evdev.c:240 [inline]
evdev_pass_values+0x586/0xad0 drivers/input/evdev.c:278
evdev_events+0x1be/0x2f0 drivers/input/evdev.c:306
input_to_handler drivers/input/input.c:127 [inline]
input_pass_values+0x8e0/0x12a0 drivers/input/input.c:159
input_event_dispose+0x366/0x650 drivers/input/input.c:374
input_handle_event+0x97d/0xb00 drivers/input/input.c:402
input_inject_event+0x224/0x330 drivers/input/input.c:461
evdev_write+0x668/0x7c0 drivers/input/evdev.c:530
vfs_write+0x2d9/0xbc0 fs/read_write.c:582
ksys_write+0x19c/0x2c0 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
-> (&f->f_owner.lock){...-}-{2:2} {
IN-SOFTIRQ-R at:
lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
__raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
_raw_read_lock_irqsave+0xd9/0x120 kernel/locking/spinlock.c:236
send_sigurg+0x25/0x3b0 fs/fcntl.c:809
sk_send_sigurg+0x6a/0xb0 net/core/sock.c:3366
tcp_check_urg+0x207/0x740 net/ipv4/tcp_input.c:5700
tcp_urg+0x154/0x440 net/ipv4/tcp_input.c:5741
tcp_rcv_established+0xe61/0x1e90 net/ipv4/tcp_input.c:6094
tcp_v4_do_rcv+0x487/0xb10 net/ipv4/tcp_ipv4.c:1683
tcp_v4_rcv+0x23c9/0x2c60 net/ipv4/tcp_ipv4.c:2114
ip_protocol_deliver_rcu+0x386/0x750 net/ipv4/ip_input.c:205
ip_local_deliver_finish+0x304/0x580 net/ipv4/ip_input.c:233
NF_HOOK+0x39d/0x450 include/linux/netfilter.h:302
NF_HOOK+0x39d/0x450 include/linux/netfilter.h:302
__netif_receive_skb_one_core net/core/dev.c:5569 [inline]
__netif_receive_skb+0x1c6/0x530 net/core/dev.c:5683
process_backlog+0x381/0x760 net/core/dev.c:6011
__napi_poll+0xc7/0x470 net/core/dev.c:6578
napi_poll net/core/dev.c:6645 [inline]
net_rx_action+0x70f/0xeb0 net/core/dev.c:6759
handle_softirqs+0x2ee/0xa40 kernel/softirq.c:578
run_ksoftirqd+0xc6/0x120 kernel/softirq.c:945
smpboot_thread_fn+0x52c/0xa30 kernel/smpboot.c:164
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
INITIAL USE at:
lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
__raw_write_lock_irq include/linux/rwlock_api_smp.h:195 [inline]
_raw_write_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:326
__f_setown+0x38/0x350 fs/fcntl.c:91
f_setown_ex fs/fcntl.c:194 [inline]
do_fcntl+0x1137/0x1500 fs/fcntl.c:375
__do_sys_fcntl fs/fcntl.c:446 [inline]
__se_sys_fcntl+0xd5/0x1b0 fs/fcntl.c:431
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
INITIAL READ USE at:
lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
__raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
_raw_read_lock_irqsave+0xd9/0x120 kernel/locking/spinlock.c:236
send_sigurg+0x25/0x3b0 fs/fcntl.c:809
sk_send_sigurg+0x6a/0xb0 net/core/sock.c:3366
tcp_check_urg+0x207/0x740 net/ipv4/tcp_input.c:5700
tcp_urg+0x154/0x440 net/ipv4/tcp_input.c:5741
tcp_rcv_established+0xe61/0x1e90 net/ipv4/tcp_input.c:6094
tcp_v4_do_rcv+0x487/0xb10 net/ipv4/tcp_ipv4.c:1683
sk_backlog_rcv include/net/sock.h:1119 [inline]
__release_sock+0x198/0x4b0 net/core/sock.c:2939
release_sock+0x5d/0x1c0 net/core/sock.c:3503
tcp_sendmsg+0x36/0x40 net/ipv4/tcp.c:1491
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:730 [inline]
__sys_sendto+0x480/0x600 net/socket.c:2153
__do_sys_sendto net/socket.c:2165 [inline]
__se_sys_sendto net/socket.c:2161 [inline]
__x64_sys_sendto+0xda/0xf0 net/socket.c:2161
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
}
... key at: [<ffffffff9748cca0>] __alloc_file.__key+0x0/0x10
... acquired at:
lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
__raw_read_lock_irqsave include/linux/rwlock_api_smp.h:160 [inline]
_raw_read_lock_irqsave+0xd9/0x120 kernel/locking/spinlock.c:236
send_sigio+0x2f/0x360 fs/fcntl.c:770
kill_fasync_rcu fs/fcntl.c:995 [inline]
kill_fasync+0x232/0x4d0 fs/fcntl.c:1009
sock_wake_async+0x145/0x170 net/socket.c:-1
sk_wake_async+0x186/0x280 include/net/sock.h:2592
sock_def_readable+0x1a7/0x280 net/core/sock.c:3310
queue_oob+0x84f/0xaf0 net/unix/af_unix.c:2130
unix_stream_sendmsg+0xe10/0x1070 net/unix/af_unix.c:2228
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:730 [inline]
____sys_sendmsg+0x5d3/0x9a0 net/socket.c:2519
___sys_sendmsg net/socket.c:2573 [inline]
__sys_sendmmsg+0x3ab/0x730 net/socket.c:2659
__do_sys_sendmmsg net/socket.c:2688 [inline]
__se_sys_sendmmsg net/socket.c:2685 [inline]
__x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2685
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
the dependencies between the lock to be acquired
and SOFTIRQ-irq-unsafe lock:
-> (tasklist_lock){.+.+}-{2:2} {
HARDIRQ-ON-R at:
lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
__raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
_raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
do_wait+0x2c6/0xb80 kernel/exit.c:1604
kernel_wait+0xe5/0x230 kernel/exit.c:1794
call_usermodehelper_exec_sync kernel/umh.c:140 [inline]
call_usermodehelper_exec_work+0xb5/0x220 kernel/umh.c:167
process_one_work+0x917/0x1260 kernel/workqueue.c:2292
worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
SOFTIRQ-ON-R at:
lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
__raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
_raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
do_wait+0x2c6/0xb80 kernel/exit.c:1604
kernel_wait+0xe5/0x230 kernel/exit.c:1794
call_usermodehelper_exec_sync kernel/umh.c:140 [inline]
call_usermodehelper_exec_work+0xb5/0x220 kernel/umh.c:167
process_one_work+0x917/0x1260 kernel/workqueue.c:2292
worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
INITIAL USE at:
lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
__raw_write_lock_irq include/linux/rwlock_api_smp.h:195 [inline]
_raw_write_lock_irq+0xcf/0x110 kernel/locking/spinlock.c:326
copy_process+0x24f6/0x40a0 kernel/fork.c:2400
kernel_clone+0x222/0x920 kernel/fork.c:2681
user_mode_thread+0x140/0x1b0 kernel/fork.c:2757
rest_init+0x23/0x300 init/main.c:698
start_kernel+0x0/0x53f init/main.c:893
start_kernel+0x496/0x53f init/main.c:1140
secondary_startup_64_no_verify+0xcf/0xdb
INITIAL READ USE at:
lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
__raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
_raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
do_wait+0x2c6/0xb80 kernel/exit.c:1604
kernel_wait+0xe5/0x230 kernel/exit.c:1794
call_usermodehelper_exec_sync kernel/umh.c:140 [inline]
call_usermodehelper_exec_work+0xb5/0x220 kernel/umh.c:167
process_one_work+0x917/0x1260 kernel/workqueue.c:2292
worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
}
... key at: [<ffffffff8d00a058>] tasklist_lock+0x18/0x40
... acquired at:
lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
__raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
_raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
send_sigio+0xf8/0x360 fs/fcntl.c:784
kill_fasync_rcu fs/fcntl.c:995 [inline]
kill_fasync+0x232/0x4d0 fs/fcntl.c:1009
sock_wake_async+0x145/0x170 net/socket.c:-1
sk_wake_async+0x186/0x280 include/net/sock.h:2592
sock_def_readable+0x1a7/0x280 net/core/sock.c:3310
unix_stream_sendmsg+0x8fd/0x1070 net/unix/af_unix.c:2222
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:730 [inline]
____sys_sendmsg+0x5d3/0x9a0 net/socket.c:2519
___sys_sendmsg net/socket.c:2573 [inline]
__sys_sendmmsg+0x3ab/0x730 net/socket.c:2659
__do_sys_sendmmsg net/socket.c:2688 [inline]
__se_sys_sendmmsg net/socket.c:2685 [inline]
__x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2685
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
stack backtrace:
CPU: 1 PID: 17144 Comm: syz.1.4609 Not tainted 6.1.134-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106
print_bad_irq_dependency kernel/locking/lockdep.c:2604 [inline]
check_irq_usage kernel/locking/lockdep.c:2843 [inline]
check_prev_add kernel/locking/lockdep.c:3094 [inline]
check_prevs_add kernel/locking/lockdep.c:3209 [inline]
validate_chain+0x4d16/0x5950 kernel/locking/lockdep.c:3825
__lock_acquire+0x125b/0x1f80 kernel/locking/lockdep.c:5049
lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
__raw_read_lock include/linux/rwlock_api_smp.h:150 [inline]
_raw_read_lock+0x32/0x40 kernel/locking/spinlock.c:228
send_sigio+0xf8/0x360 fs/fcntl.c:784
kill_fasync_rcu fs/fcntl.c:995 [inline]
kill_fasync+0x232/0x4d0 fs/fcntl.c:1009
sock_wake_async+0x145/0x170 net/socket.c:-1
sk_wake_async+0x186/0x280 include/net/sock.h:2592
sock_def_readable+0x1a7/0x280 net/core/sock.c:3310
unix_stream_sendmsg+0x8fd/0x1070 net/unix/af_unix.c:2222
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:730 [inline]
____sys_sendmsg+0x5d3/0x9a0 net/socket.c:2519
___sys_sendmsg net/socket.c:2573 [inline]
__sys_sendmmsg+0x3ab/0x730 net/socket.c:2659
__do_sys_sendmmsg net/socket.c:2688 [inline]
__se_sys_sendmmsg net/socket.c:2685 [inline]
__x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2685
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fd40018e169
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:00007fd401031038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007fd4003b5fa0 RCX: 00007fd40018e169
RDX: 0000000000000001 RSI: 0000200000006c40 RDI: 0000000000000003
RBP: 00007fd400210a68 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000040814 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fd4003b5fa0 R15: 00007ffe707f4ac8
</TASK>