------------[ cut here ]------------
======================================================
WARNING: possible circular locking dependency detected
syzkaller #0 Not tainted
------------------------------------------------------
syz.1.1417/12509 is trying to acquire lock:
ffffffff8e0d56a0 (console_owner){-...}-{0:0}, at: console_lock_spinning_enable+0x61/0x80 kernel/printk/printk.c:1897
but task is already holding lock:
ffff8880b843a958 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:647 [inline]
ffff8880b843a958 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:632
which lock already depends on the new lock.
the existing dependency chain (in reverse order) is:
-> #4 (&rq->__lock){-.-.}-{2:2}:
_raw_spin_lock_nested+0x31/0x40 kernel/locking/spinlock.c:378
raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:639
raw_spin_rq_lock kernel/sched/sched.h:1556 [inline]
task_rq_lock+0xcf/0x490 kernel/sched/core.c:739
cgroup_move_task+0x81/0x2a0 kernel/sched/psi.c:1170
css_set_move_task+0x288/0x5f0 kernel/cgroup/cgroup.c:948
cgroup_post_fork+0x201/0x9e0 kernel/cgroup/cgroup.c:6908
copy_process+0x6037/0x7680 kernel/fork.c:2425
kernel_clone+0xfc/0x910 kernel/fork.c:2610
user_mode_thread+0xc8/0x110 kernel/fork.c:2686
rest_init+0x23/0x2b0 init/main.c:722
start_kernel+0x3f6/0x4d0 init/main.c:1111
x86_64_start_reservations+0x18/0x30 arch/x86/kernel/head64.c:310
x86_64_start_kernel+0x130/0x190 arch/x86/kernel/head64.c:291
common_startup_64+0x13e/0x148
-> #3 (&p->pi_lock){-.-.}-{2:2}:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162
class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:557 [inline]
try_to_wake_up+0xb7/0x1870 kernel/sched/core.c:4109
__wake_up_common+0x135/0x1f0 kernel/sched/wait.c:108
__wake_up_common_lock kernel/sched/wait.c:125 [inline]
__wake_up+0x31/0x60 kernel/sched/wait.c:146
tty_port_default_wakeup+0x47/0x60 drivers/tty/tty_port.c:67
serial8250_tx_chars+0x68e/0x860 drivers/tty/serial/8250/8250_port.c:1719
serial8250_handle_irq+0x761/0xcb0 drivers/tty/serial/8250/8250_port.c:1827
serial8250_default_handle_irq+0x9e/0x270 drivers/tty/serial/8250/8250_port.c:1846
serial8250_interrupt+0xf8/0x1d0 drivers/tty/serial/8250/8250_core.c:82
__handle_irq_event_percpu+0x236/0x890 kernel/irq/handle.c:203
handle_irq_event_percpu kernel/irq/handle.c:240 [inline]
handle_irq_event+0xab/0x1e0 kernel/irq/handle.c:257
handle_edge_irq+0x3ca/0x9e0 kernel/irq/chip.c:855
generic_handle_irq_desc include/linux/irqdesc.h:173 [inline]
handle_irq arch/x86/kernel/irq.c:254 [inline]
call_irq_handler arch/x86/kernel/irq.c:310 [inline]
__common_interrupt+0xd0/0x2f0 arch/x86/kernel/irq.c:325
common_interrupt+0xba/0xe0 arch/x86/kernel/irq.c:318
asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:688
get_current arch/x86/include/asm/current.h:25 [inline]
syscall_enter_from_user_mode_work include/linux/entry-common.h:92 [inline]
syscall_enter_from_user_mode include/linux/entry-common.h:125 [inline]
do_syscall_64+0x9a/0xf80 arch/x86/entry/syscall_64.c:90
entry_SYSCALL_64_after_hwframe+0x77/0x7f
-> #2 (&tty->write_wait){-.-.}-{3:3}:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162
__wake_up_common_lock kernel/sched/wait.c:124 [inline]
__wake_up+0x1c/0x60 kernel/sched/wait.c:146
tty_port_default_wakeup+0x47/0x60 drivers/tty/tty_port.c:67
serial8250_tx_chars+0x68e/0x860 drivers/tty/serial/8250/8250_port.c:1719
serial8250_handle_irq+0x761/0xcb0 drivers/tty/serial/8250/8250_port.c:1827
serial8250_default_handle_irq+0x9e/0x270 drivers/tty/serial/8250/8250_port.c:1846
serial8250_interrupt+0xf8/0x1d0 drivers/tty/serial/8250/8250_core.c:82
__handle_irq_event_percpu+0x236/0x890 kernel/irq/handle.c:203
handle_irq_event_percpu kernel/irq/handle.c:240 [inline]
handle_irq_event+0xab/0x1e0 kernel/irq/handle.c:257
handle_edge_irq+0x3ca/0x9e0 kernel/irq/chip.c:855
generic_handle_irq_desc include/linux/irqdesc.h:173 [inline]
handle_irq arch/x86/kernel/irq.c:254 [inline]
call_irq_handler arch/x86/kernel/irq.c:310 [inline]
__common_interrupt+0xd0/0x2f0 arch/x86/kernel/irq.c:325
common_interrupt+0xba/0xe0 arch/x86/kernel/irq.c:318
asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:688
__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194
spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
uart_port_unlock_irqrestore include/linux/serial_core.h:788 [inline]
uart_port_unlock_deref drivers/tty/serial/serial_core.c:91 [inline]
uart_port_unlock_deref drivers/tty/serial/serial_core.c:88 [inline]
uart_write+0x2a4/0xb30 drivers/tty/serial/serial_core.c:634
process_output_block drivers/tty/n_tty.c:561 [inline]
n_tty_write+0x41e/0x11e0 drivers/tty/n_tty.c:2377
iterate_tty_write drivers/tty/tty_io.c:1006 [inline]
file_tty_write.constprop.0+0x503/0x9b0 drivers/tty/tty_io.c:1081
tty_write drivers/tty/tty_io.c:1102 [inline]
redirected_tty_write drivers/tty/tty_io.c:1125 [inline]
redirected_tty_write+0xd4/0x120 drivers/tty/tty_io.c:1105
new_sync_write fs/read_write.c:593 [inline]
vfs_write+0x7d3/0x11d0 fs/read_write.c:686
ksys_write+0x12a/0x250 fs/read_write.c:738
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
-> #1 (&port_lock_key){-.-.}-{3:3}:
__raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
_raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162
uart_port_lock_irqsave include/linux/serial_core.h:717 [inline]
serial8250_console_write+0x181/0x1890 drivers/tty/serial/8250/8250_port.c:3301
console_emit_next_record kernel/printk/printk.c:3111 [inline]
console_flush_all+0x801/0xc60 kernel/printk/printk.c:3199
__console_flush_and_unlock kernel/printk/printk.c:3258 [inline]
console_unlock+0xd8/0x210 kernel/printk/printk.c:3298
vprintk_emit+0x3d7/0x680 kernel/printk/printk.c:2423
_printk+0xc7/0x100 kernel/printk/printk.c:2448
register_console+0xc27/0x11b0 kernel/printk/printk.c:4099
univ8250_console_init+0x5f/0x90 drivers/tty/serial/8250/8250_core.c:511
console_init+0x152/0x600 kernel/printk/printk.c:4298
start_kernel+0x29f/0x4d0 init/main.c:1048
x86_64_start_reservations+0x18/0x30 arch/x86/kernel/head64.c:310
x86_64_start_kernel+0x130/0x190 arch/x86/kernel/head64.c:291
common_startup_64+0x13e/0x148
-> #0 (console_owner){-...}-{0:0}:
check_prev_add kernel/locking/lockdep.c:3165 [inline]
check_prevs_add kernel/locking/lockdep.c:3284 [inline]
validate_chain kernel/locking/lockdep.c:3908 [inline]
__lock_acquire+0x1542/0x22f0 kernel/locking/lockdep.c:5237
lock_acquire kernel/locking/lockdep.c:5868 [inline]
lock_acquire+0x179/0x330 kernel/locking/lockdep.c:5825
console_lock_spinning_enable+0x72/0x80 kernel/printk/printk.c:1897
console_emit_next_record kernel/printk/printk.c:3105 [inline]
console_flush_all+0x7aa/0xc60 kernel/printk/printk.c:3199
__console_flush_and_unlock kernel/printk/printk.c:3258 [inline]
console_unlock+0xd8/0x210 kernel/printk/printk.c:3298
vprintk_emit+0x3d7/0x680 kernel/printk/printk.c:2423
_printk+0xc7/0x100 kernel/printk/printk.c:2448
__report_bug+0x3a6/0x520 lib/bug.c:239
report_bug+0xb2/0x220 lib/bug.c:277
handle_bug+0x127/0x260 arch/x86/kernel/traps.c:435
exc_invalid_op+0x17/0x50 arch/x86/kernel/traps.c:489
asm_exc_invalid_op+0x1a/0x20 arch/x86/include/asm/idtentry.h:616
lockdep_assert_rq_held kernel/sched/sched.h:1547 [inline]
lockdep_assert_rq_held kernel/sched/sched.h:1545 [inline]
update_rq_clock+0x34a/0xc70 kernel/sched/core.c:837
pick_next_task kernel/sched/core.c:6086 [inline]
__schedule+0x2035/0x5de0 kernel/sched/core.c:6803
preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7188
irqentry_exit+0x36/0x90 kernel/entry/common.c:211
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
debug_lockdep_rcu_enabled+0x26/0x40 kernel/rcu/update.c:320
rcu_read_unlock include/linux/rcupdate.h:895 [inline]
class_rcu_destructor include/linux/rcupdate.h:1195 [inline]
unwind_next_frame+0x3de/0x20a0 arch/x86/kernel/unwind_orc.c:479
arch_stack_walk+0x94/0x100 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
ref_tracker_alloc+0x1d2/0x5b0 lib/ref_tracker.c:277
__netdev_tracker_alloc include/linux/netdevice.h:4375 [inline]
netdev_hold include/linux/netdevice.h:4404 [inline]
dst_init+0xda/0x580 net/core/dst.c:52
dst_alloc+0xbb/0x1a0 net/core/dst.c:93
ip6_dst_alloc net/ipv6/route.c:342 [inline]
ip6_rt_cache_alloc+0x1f6/0x8c0 net/ipv6/route.c:1380
ip6_pol_route+0xd7b/0x1230 net/ipv6/route.c:2286
pol_lookup_func include/net/ip6_fib.h:617 [inline]
fib6_rule_lookup+0x386/0x720 net/ipv6/fib6_rules.c:125
ip6_route_output_flags_noref net/ipv6/route.c:2684 [inline]
ip6_route_output_flags+0x1d0/0x640 net/ipv6/route.c:2696
ip6_dst_lookup_tail.constprop.0+0x115a/0x2140 net/ipv6/ip6_output.c:1169
ip6_dst_lookup_flow+0x99/0x1d0 net/ipv6/ip6_output.c:1272
rawv6_sendmsg+0xe86/0x4860 net/ipv6/raw.c:893
inet_sendmsg+0x11c/0x140 net/ipv4/af_inet.c:853
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:733 [inline]
____sys_sendmsg+0x973/0xc30 net/socket.c:2608
___sys_sendmsg+0x134/0x1d0 net/socket.c:2662
__sys_sendmmsg+0x200/0x420 net/socket.c:2751
__do_sys_sendmmsg net/socket.c:2778 [inline]
__se_sys_sendmmsg net/socket.c:2775 [inline]
__x64_sys_sendmmsg+0x9c/0x100 net/socket.c:2775
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
other info that might help us debug this:
Chain exists of:
console_owner --> &p->pi_lock --> &rq->__lock
Possible unsafe locking scenario:
CPU0 CPU1
---- ----
lock(&rq->__lock);
lock(&p->pi_lock);
lock(&rq->__lock);
lock(console_owner);
*** DEADLOCK ***
6 locks held by syz.1.1417/12509:
#0: ffffffff8e1c8620 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#0: ffffffff8e1c8620 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline]
#0: ffffffff8e1c8620 (rcu_read_lock){....}-{1:3}, at: ip6_route_output_flags+0x3a/0x640 net/ipv6/route.c:2695
#1: ffffffff8e1c8620 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#1: ffffffff8e1c8620 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline]
#1: ffffffff8e1c8620 (rcu_read_lock){....}-{1:3}, at: ip6_pol_route+0x17a/0x1230 net/ipv6/route.c:2267
#2: ffffffff8e1c8620 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
#2: ffffffff8e1c8620 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline]
#2: ffffffff8e1c8620 (rcu_read_lock){....}-{1:3}, at: class_rcu_constructor include/linux/rcupdate.h:1195 [inline]
#2: ffffffff8e1c8620 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0xbd/0x20a0 arch/x86/kernel/unwind_orc.c:479
#3: ffff8880b843a958 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:647 [inline]
#3: ffff8880b843a958 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x7e/0x130 kernel/sched/core.c:632
#4: ffffffff8e1b5ae0 (console_lock){+.+.}-{0:0}, at: _printk+0xc7/0x100 kernel/printk/printk.c:2448
#5: ffffffff8e1b5b50 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:336 [inline]
#5: ffffffff8e1b5b50 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:335 [inline]
#5: ffffffff8e1b5b50 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:289 [inline]
#5: ffffffff8e1b5b50 (console_srcu){....}-{0:0}, at: console_flush_all+0x158/0xc60 kernel/printk/printk.c:3176
stack backtrace:
CPU: 0 UID: 0 PID: 12509 Comm: syz.1.1417 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_circular_bug+0x2db/0x410 kernel/locking/lockdep.c:2043
check_noncircular+0x146/0x160 kernel/locking/lockdep.c:2175
check_prev_add kernel/locking/lockdep.c:3165 [inline]
check_prevs_add kernel/locking/lockdep.c:3284 [inline]
validate_chain kernel/locking/lockdep.c:3908 [inline]
__lock_acquire+0x1542/0x22f0 kernel/locking/lockdep.c:5237
lock_acquire kernel/locking/lockdep.c:5868 [inline]
lock_acquire+0x179/0x330 kernel/locking/lockdep.c:5825
console_lock_spinning_enable+0x72/0x80 kernel/printk/printk.c:1897
console_emit_next_record kernel/printk/printk.c:3105 [inline]
console_flush_all+0x7aa/0xc60 kernel/printk/printk.c:3199
__console_flush_and_unlock kernel/printk/printk.c:3258 [inline]
console_unlock+0xd8/0x210 kernel/printk/printk.c:3298
vprintk_emit+0x3d7/0x680 kernel/printk/printk.c:2423
_printk+0xc7/0x100 kernel/printk/printk.c:2448
__report_bug+0x3a6/0x520 lib/bug.c:239
report_bug+0xb2/0x220 lib/bug.c:277
handle_bug+0x127/0x260 arch/x86/kernel/traps.c:435
exc_invalid_op+0x17/0x50 arch/x86/kernel/traps.c:489
asm_exc_invalid_op+0x1a/0x20 arch/x86/include/asm/idtentry.h:616
RIP: 0010:lockdep_assert_rq_held kernel/sched/sched.h:1547 [inline]
RIP: 0010:lockdep_assert_rq_held kernel/sched/sched.h:1545 [inline]
RIP: 0010:update_rq_clock+0x34a/0xc70 kernel/sched/core.c:837
Code: ab 48 0b 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc a8 04 0f 84 9c fd ff ff 90 0f 0b 90 e9 93 fd ff ff 90 <0f> 0b 90 e9 4f fd ff ff 48 8d bb 18 0e 00 00 48 b8 00 00 00 00 00
RSP: 0018:ffffc900051eeac8 EFLAGS: 00010046
RAX: 0000000000000000 RBX: ffff8880b853a940 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff8d8785ac RDI: ffffffff8bd1bd00
RBP: 0000000000000001 R08: ffff8880b843b448 R09: fffffbfff20cb9fa
R10: ffffffff9065cfd7 R11: 0000000000000001 R12: ffffffff90660034
R13: ffffffff8db359e0 R14: ffff88801d2dbd00 R15: ffff8880b853a940
pick_next_task kernel/sched/core.c:6086 [inline]
__schedule+0x2035/0x5de0 kernel/sched/core.c:6803
preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7188
irqentry_exit+0x36/0x90 kernel/entry/common.c:211
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:debug_lockdep_rcu_enabled+0x26/0x40 kernel/rcu/update.c:320
Code: 90 90 90 90 f3 0f 1e fa 8b 05 56 88 0a 05 85 c0 74 20 8b 05 c0 b7 0a 05 85 c0 74 16 65 48 8b 05 98 37 2c 08 8b 80 2c 0b 00 00 <85> c0 0f 94 c0 0f b6 c0 e9 cd 1d 03 00 66 2e 0f 1f 84 00 00 00 00
RSP: 0018:ffffc900051eee20 EFLAGS: 00000202
RAX: 0000000000000000 RBX: ffffc900051ef170 RCX: ffffc900051f0001
RDX: ffffc900051ef178 RSI: ffffc900051ef140 RDI: ffffc900051eeea8
RBP: 0000000000000001 R08: 0000000000000001 R09: 00000000501fefef
R10: ffff88801d7d66b0 R11: 00000000000832b8 R12: ffffc900051eeee8
R13: ffffc900051eee98 R14: ffffc900051ef170 R15: ffffc900051eeecc
rcu_read_unlock include/linux/rcupdate.h:895 [inline]
class_rcu_destructor include/linux/rcupdate.h:1195 [inline]
unwind_next_frame+0x3de/0x20a0 arch/x86/kernel/unwind_orc.c:479
arch_stack_walk+0x94/0x100 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
ref_tracker_alloc+0x1d2/0x5b0 lib/ref_tracker.c:277
__netdev_tracker_alloc include/linux/netdevice.h:4375 [inline]
netdev_hold include/linux/netdevice.h:4404 [inline]
dst_init+0xda/0x580 net/core/dst.c:52
dst_alloc+0xbb/0x1a0 net/core/dst.c:93
ip6_dst_alloc net/ipv6/route.c:342 [inline]
ip6_rt_cache_alloc+0x1f6/0x8c0 net/ipv6/route.c:1380
ip6_pol_route+0xd7b/0x1230 net/ipv6/route.c:2286
pol_lookup_func include/net/ip6_fib.h:617 [inline]
fib6_rule_lookup+0x386/0x720 net/ipv6/fib6_rules.c:125
ip6_route_output_flags_noref net/ipv6/route.c:2684 [inline]
ip6_route_output_flags+0x1d0/0x640 net/ipv6/route.c:2696
ip6_dst_lookup_tail.constprop.0+0x115a/0x2140 net/ipv6/ip6_output.c:1169
ip6_dst_lookup_flow+0x99/0x1d0 net/ipv6/ip6_output.c:1272
rawv6_sendmsg+0xe86/0x4860 net/ipv6/raw.c:893
inet_sendmsg+0x11c/0x140 net/ipv4/af_inet.c:853
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:733 [inline]
____sys_sendmsg+0x973/0xc30 net/socket.c:2608
___sys_sendmsg+0x134/0x1d0 net/socket.c:2662
__sys_sendmmsg+0x200/0x420 net/socket.c:2751
__do_sys_sendmmsg net/socket.c:2778 [inline]
__se_sys_sendmmsg net/socket.c:2775 [inline]
__x64_sys_sendmmsg+0x9c/0x100 net/socket.c:2775
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fcca658f7c9
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:00007fcca748c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007fcca67e6180 RCX: 00007fcca658f7c9
RDX: 00000000000009a6 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007fcca6613f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000007fffffe R11: 0000000000000246 R12: 0000000000000000
R13: 00007fcca67e6218 R14: 00007fcca67e6180 R15: 00007fff44075988
WARNING: kernel/sched/sched.h:1547 at lockdep_assert_rq_held kernel/sched/sched.h:1547 [inline], CPU#0: syz.1.1417/12509
WARNING: kernel/sched/sched.h:1547 at lockdep_assert_rq_held kernel/sched/sched.h:1545 [inline], CPU#0: syz.1.1417/12509
WARNING: kernel/sched/sched.h:1547 at update_rq_clock+0x34a/0xc70 kernel/sched/core.c:837, CPU#0: syz.1.1417/12509
Modules linked in:
CPU: 0 UID: 0 PID: 12509 Comm: syz.1.1417 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:lockdep_assert_rq_held kernel/sched/sched.h:1547 [inline]
RIP: 0010:lockdep_assert_rq_held kernel/sched/sched.h:1545 [inline]
RIP: 0010:update_rq_clock+0x34a/0xc70 kernel/sched/core.c:837
Code: ab 48 0b 00 00 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc a8 04 0f 84 9c fd ff ff 90 0f 0b 90 e9 93 fd ff ff 90 <0f> 0b 90 e9 4f fd ff ff 48 8d bb 18 0e 00 00 48 b8 00 00 00 00 00
RSP: 0018:ffffc900051eeac8 EFLAGS: 00010046
RAX: 0000000000000000 RBX: ffff8880b853a940 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff8d8785ac RDI: ffffffff8bd1bd00
RBP: 0000000000000001 R08: ffff8880b843b448 R09: fffffbfff20cb9fa
R10: ffffffff9065cfd7 R11: 0000000000000001 R12: ffffffff90660034
R13: ffffffff8db359e0 R14: ffff88801d2dbd00 R15: ffff8880b853a940
FS: 00007fcca748c6c0(0000) GS:ffff888124ba8000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31ae9ff8 CR3: 0000000079532000 CR4: 00000000003526f0
Call Trace:
pick_next_task kernel/sched/core.c:6086 [inline]
__schedule+0x2035/0x5de0 kernel/sched/core.c:6803
preempt_schedule_irq+0x51/0x90 kernel/sched/core.c:7188
irqentry_exit+0x36/0x90 kernel/entry/common.c:211
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:debug_lockdep_rcu_enabled+0x26/0x40 kernel/rcu/update.c:320
Code: 90 90 90 90 f3 0f 1e fa 8b 05 56 88 0a 05 85 c0 74 20 8b 05 c0 b7 0a 05 85 c0 74 16 65 48 8b 05 98 37 2c 08 8b 80 2c 0b 00 00 <85> c0 0f 94 c0 0f b6 c0 e9 cd 1d 03 00 66 2e 0f 1f 84 00 00 00 00
RSP: 0018:ffffc900051eee20 EFLAGS: 00000202
RAX: 0000000000000000 RBX: ffffc900051ef170 RCX: ffffc900051f0001
RDX: ffffc900051ef178 RSI: ffffc900051ef140 RDI: ffffc900051eeea8
RBP: 0000000000000001 R08: 0000000000000001 R09: 00000000501fefef
R10: ffff88801d7d66b0 R11: 00000000000832b8 R12: ffffc900051eeee8
R13: ffffc900051eee98 R14: ffffc900051ef170 R15: ffffc900051eeecc
rcu_read_unlock include/linux/rcupdate.h:895 [inline]
class_rcu_destructor include/linux/rcupdate.h:1195 [inline]
unwind_next_frame+0x3de/0x20a0 arch/x86/kernel/unwind_orc.c:479
arch_stack_walk+0x94/0x100 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
ref_tracker_alloc+0x1d2/0x5b0 lib/ref_tracker.c:277
__netdev_tracker_alloc include/linux/netdevice.h:4375 [inline]
netdev_hold include/linux/netdevice.h:4404 [inline]
dst_init+0xda/0x580 net/core/dst.c:52
dst_alloc+0xbb/0x1a0 net/core/dst.c:93
ip6_dst_alloc net/ipv6/route.c:342 [inline]
ip6_rt_cache_alloc+0x1f6/0x8c0 net/ipv6/route.c:1380
ip6_pol_route+0xd7b/0x1230 net/ipv6/route.c:2286
pol_lookup_func include/net/ip6_fib.h:617 [inline]
fib6_rule_lookup+0x386/0x720 net/ipv6/fib6_rules.c:125
ip6_route_output_flags_noref net/ipv6/route.c:2684 [inline]
ip6_route_output_flags+0x1d0/0x640 net/ipv6/route.c:2696
ip6_dst_lookup_tail.constprop.0+0x115a/0x2140 net/ipv6/ip6_output.c:1169
ip6_dst_lookup_flow+0x99/0x1d0 net/ipv6/ip6_output.c:1272
rawv6_sendmsg+0xe86/0x4860 net/ipv6/raw.c:893
inet_sendmsg+0x11c/0x140 net/ipv4/af_inet.c:853
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:733 [inline]
____sys_sendmsg+0x973/0xc30 net/socket.c:2608
___sys_sendmsg+0x134/0x1d0 net/socket.c:2662
__sys_sendmmsg+0x200/0x420 net/socket.c:2751
__do_sys_sendmmsg net/socket.c:2778 [inline]
__se_sys_sendmmsg net/socket.c:2775 [inline]
__x64_sys_sendmmsg+0x9c/0x100 net/socket.c:2775
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fcca658f7c9
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:00007fcca748c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007fcca67e6180 RCX: 00007fcca658f7c9
RDX: 00000000000009a6 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007fcca6613f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000007fffffe R11: 0000000000000246 R12: 0000000000000000
R13: 00007fcca67e6218 R14: 00007fcca67e6180 R15: 00007fff44075988
----------------
Code disassembly (best guess):
0: 90 nop
1: 90 nop
2: 90 nop
3: 90 nop
4: f3 0f 1e fa endbr64
8: 8b 05 56 88 0a 05 mov 0x50a8856(%rip),%eax # 0x50a8864
e: 85 c0 test %eax,%eax
10: 74 20 je 0x32
12: 8b 05 c0 b7 0a 05 mov 0x50ab7c0(%rip),%eax # 0x50ab7d8
18: 85 c0 test %eax,%eax
1a: 74 16 je 0x32
1c: 65 48 8b 05 98 37 2c mov %gs:0x82c3798(%rip),%rax # 0x82c37bc
23: 08
24: 8b 80 2c 0b 00 00 mov 0xb2c(%rax),%eax
* 2a: 85 c0 test %eax,%eax <-- trapping instruction
2c: 0f 94 c0 sete %al
2f: 0f b6 c0 movzbl %al,%eax
32: e9 cd 1d 03 00 jmp 0x31e04
37: 66 data16
38: 2e cs
39: 0f .byte 0xf
3a: 1f (bad)
3b: 84 00 test %al,(%rax)
3d: 00 00 add %al,(%rax)