rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P16248/1:b..l rcu: (detected by 0, t=10502 jiffies, g=63749, q=93 ncpus=2) task:syz-executor.3 state:R running task stack:24672 pid:16248 tgid:16244 ppid:5111 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:7008 irqentry_exit+0x36/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:lock_acquire+0x1ef/0x520 kernel/locking/lockdep.c:5722 Code: c1 05 6d 69 9a 7e 83 f8 01 0f 85 b4 02 00 00 9c 58 f6 c4 02 0f 85 9f 02 00 00 48 85 ed 74 01 fb 48 b8 00 00 00 00 00 fc ff df <48> 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 8b 84 24 RSP: 0018:ffffc90009beedf8 EFLAGS: 00000206 RAX: dffffc0000000000 RBX: 1ffff9200137ddc1 RCX: 00000000ad947ec1 RDX: 0000000000000001 RSI: ffffffff8accbc20 RDI: ffffffff8b2f13e0 RBP: 0000000000000200 R08: 0000000000000000 R09: fffffbfff23e2dd0 R10: ffffffff91f16e87 R11: 0000000000000004 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8cfabce0 R15: 0000000000000000 rcu_lock_acquire include/linux/rcupdate.h:301 [inline] rcu_read_lock include/linux/rcupdate.h:747 [inline] __pte_offset_map+0x48/0x540 mm/pgtable-generic.c:285 pte_offset_map_nolock+0x84/0x1b0 mm/pgtable-generic.c:312 handle_pte_fault mm/memory.c:5024 [inline] __handle_mm_fault+0xa58/0x3d70 mm/memory.c:5179 handle_mm_fault+0x47a/0xa10 mm/memory.c:5344 faultin_page mm/gup.c:956 [inline] __get_user_pages+0x4b2/0x1490 mm/gup.c:1239 __get_user_pages_locked mm/gup.c:1507 [inline] __gup_longterm_locked+0x278/0x2ad0 mm/gup.c:2209 internal_get_user_pages_fast+0x1acb/0x2a10 mm/gup.c:3213 pin_user_pages_fast+0xa8/0xf0 mm/gup.c:3319 iov_iter_extract_user_pages lib/iov_iter.c:1617 [inline] iov_iter_extract_pages+0x388/0x1750 lib/iov_iter.c:1680 __bio_iov_iter_get_pages block/bio.c:1255 [inline] bio_iov_iter_get_pages+0x344/0xe40 block/bio.c:1333 iomap_dio_bio_iter+0xc45/0x1720 fs/iomap/direct-io.c:387 iomap_dio_iter fs/iomap/direct-io.c:500 [inline] __iomap_dio_rw+0xd7b/0x1bc0 fs/iomap/direct-io.c:659 iomap_dio_rw+0x40/0xa0 fs/iomap/direct-io.c:748 ext4_dio_write_iter fs/ext4/file.c:575 [inline] ext4_file_write_iter+0x12c2/0x1950 fs/ext4/file.c:694 call_write_iter include/linux/fs.h:2020 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x64f/0xdf0 fs/read_write.c:584 ksys_write+0x12f/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f996a87cba9 RSP: 002b:00007f99693fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f996a99bf80 RCX: 00007f996a87cba9 RDX: 0000000000248800 RSI: 0000000020000000 RDI: 0000000000000006 RBP: 00007f996a8c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f996a99bf80 R15: 00007ffe1f5a0f28 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g63749 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=41163 rcu: rcu_preempt kthread starved for 10502 jiffies! g63749 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1 rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior. rcu: RCU grace-period kthread stack dump: task:rcu_preempt state:I stack:27904 pid:17 tgid:17 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xedb/0x5af0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe9/0x270 kernel/sched/core.c:6778 schedule_timeout+0x137/0x290 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x1ec/0xb10 kernel/rcu/tree.c:1631 rcu_gp_kthread+0x24b/0x380 kernel/rcu/tree.c:1830 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 rcu: Stack dump where RCU GP kthread last ran: Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 16255 Comm: syz-executor.1 Not tainted 6.7.0-rc4-syzkaller-00954-g1b666016d0ad #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:write_comp_data+0x12/0x80 kernel/kcov.c:236 Code: 04 25 c0 bc 03 00 48 8b 80 f0 15 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 49 89 d2 49 89 f8 49 89 f1 65 48 8b 14 25 c0 bc 03 00 <65> 8b 05 bf 2c 7c 7e a9 00 01 ff 00 74 0f f6 c4 01 74 59 8b 82 fc RSP: 0018:ffffc900001f0e10 EFLAGS: 00000046 RAX: 0000000000000001 RBX: ffff8880b992ba40 RCX: ffffffff81763be1 RDX: ffff88802b508000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffff88807f8e1340 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000003 R12: 0000000000000001 R13: 0000000000000000 R14: ffff88807f8e1340 R15: 0000000000000001 FS: 00007faddec566c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002004d000 CR3: 000000007d207000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_hrtimer_start include/trace/events/timer.h:202 [inline] debug_activate kernel/time/hrtimer.c:478 [inline] enqueue_hrtimer+0x291/0x310 kernel/time/hrtimer.c:1087 __run_hrtimer kernel/time/hrtimer.c:1705 [inline] __hrtimer_run_queues+0xa12/0xc20 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline] __sysvec_apic_timer_interrupt+0x105/0x400 arch/x86/kernel/apic/apic.c:1082 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1076 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x70 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 a6 18 e4 f6 48 89 df e8 0e 90 e4 f6 f7 c5 00 02 00 00 75 1f 9c 58 f6 c4 02 75 2f 01 00 00 00 e8 25 49 d6 f6 65 8b 05 a6 c5 7f 75 85 c0 74 12 5b RSP: 0018:ffffc90009c5f0a8 EFLAGS: 00000246 RAX: 0000000000000006 RBX: ffff88807f8e12e8 RCX: 1ffffffff23ecb98 RDX: 0000000000000000 RSI: ffffffff8accb920 RDI: ffffffff8b2f13e0 RBP: 0000000000000246 R08: 0000000000000001 R09: fffffbfff23e2de8 R10: ffffffff91f16f47 R11: 0000000000000004 R12: 7fffffffffffffff R13: 0000000000000002 R14: 0000000000000009 R15: 0000000000000000 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] taprio_change+0x2908/0x38d0 net/sched/sch_taprio.c:1993 taprio_init+0x6b1/0x940 net/sched/sch_taprio.c:2134 qdisc_create+0x4ed/0x10a0 net/sched/sch_api.c:1326 tc_modify_qdisc+0x4d5/0x1c30 net/sched/sch_api.c:1747 rtnetlink_rcv_msg+0x3c7/0xe00 net/core/rtnetlink.c:6566 netlink_rcv_skb+0x16b/0x440 net/netlink/af_netlink.c:2544 netlink_unicast_kernel net/netlink/af_netlink.c:1341 [inline] netlink_unicast+0x53b/0x810 net/netlink/af_netlink.c:1367 netlink_sendmsg+0x8b7/0xd70 net/netlink/af_netlink.c:1909 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0xd5/0x180 net/socket.c:745 ____sys_sendmsg+0x6ac/0x940 net/socket.c:2584 ___sys_sendmsg+0x135/0x1d0 net/socket.c:2638 __sys_sendmsg+0x117/0x1e0 net/socket.c:2667 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7faddde7cba9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007faddec560c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fadddf9bf80 RCX: 00007faddde7cba9 RDX: 0000000000000000 RSI: 00000000200007c0 RDI: 0000000000000005 RBP: 00007fadddec847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fadddf9bf80 R15: 00007ffe1eef81c8