rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 1-...!: (3 ticks this GP) idle=d27/1/0x4000000000000000 softirq=97654/97654 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P12017/1:b..l (detected by 0, t=10502 jiffies, g=129765, q=1235) Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 21195 Comm: syz.0.4649 Not tainted 5.15.162-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:35 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:132 [inline] RIP: 0010:lock_release+0x601/0x9a0 kernel/locking/lockdep.c:5646 Code: 4c 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 53 55 67 00 48 c7 84 24 90 00 00 00 00 00 00 00 9c 8f 84 24 90 00 00 00 <42> 80 3c 3b 00 74 08 4c 89 f7 e8 b0 54 67 00 f6 84 24 91 00 00 00 RSP: 0018:ffffc90000dd0060 EFLAGS: 00000046 RAX: 0000000000000001 RBX: 1ffff920001ba01e RCX: ffffc90000dd0003 RDX: 0000000000000001 RSI: ffffffff8a8b3ca0 RDI: ffffffff8ad8f680 RBP: ffffc90000dd0190 R08: dffffc0000000000 R09: fffffbfff1bc8e76 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920001ba018 R13: 0000000000000046 R14: ffffc90000dd00f0 R15: dffffc0000000000 FS: 00007fede68296c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f84c0d1ad00 CR3: 0000000066a6d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_unlock include/linux/rcupdate.h:772 [inline] advance_sched+0x7d4/0x940 net/sched/sch_taprio.c:771 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:unwind_next_frame+0xa17/0x1fa0 Code: 4d 8d 6e 01 4c 89 f0 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 59 13 00 00 4c 89 e8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 70 13 00 00 <49> 0f bf 06 48 01 c3 48 89 1c 24 48 8d 5d 01 41 0f b6 04 14 84 c0 RSP: 0018:ffffc90000dd05a8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc90000dd0c08 RCX: ffffffff8dfd8500 RDX: dffffc0000000000 RSI: ffffffff8e6a6800 RDI: ffffffff8dfd84fc RBP: ffffffff8e6a6804 R08: 0000000000000003 R09: ffffc90000dd0750 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff1cd4d00 R13: ffffffff8e6a6801 R14: ffffffff8e6a6800 R15: ffffc90000dd0660 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4b/0x80 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360 ____kasan_slab_free+0xd8/0x120 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook+0xdd/0x160 mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kmem_cache_free+0x91/0x1f0 mm/slub.c:3515 ext4_end_bio+0x315/0x5b0 req_bio_endio block/blk-core.c:261 [inline] blk_update_request+0x87c/0x1470 block/blk-core.c:1441 scsi_end_request+0x83/0x980 drivers/scsi/scsi_lib.c:544 scsi_io_completion+0x1fa/0x540 drivers/scsi/scsi_lib.c:940 blk_complete_reqs block/blk-mq.c:587 [inline] blk_done_softirq+0xf2/0x130 block/blk-mq.c:592 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 common_interrupt+0xa4/0xc0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:629 RIP: 0010:check_kcov_mode kernel/kcov.c:174 [inline] RIP: 0010:write_comp_data kernel/kcov.c:218 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x30/0x80 kernel/kcov.c:291 Code: 8b 0d 74 10 82 7e 65 8b 05 75 10 82 7e a9 00 01 ff 00 74 10 a9 00 01 00 00 74 57 83 b9 34 16 00 00 00 74 4e 8b 81 10 16 00 00 <83> f8 03 75 43 48 8b 91 18 16 00 00 44 8b 89 14 16 00 00 49 c1 e1 RSP: 0018:ffffc900032d7438 EFLAGS: 00000246 RAX: 0000000000000002 RBX: 00fff00000080001 RCX: ffff88807d3c0000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81ac59db R09: fffff94000243c01 R10: 0000000000000000 R11: dffffc0000000001 R12: 00fff00000080001 R13: ffffea000121e000 R14: ffffea000121e000 R15: ffffea000121e008 lru_cache_add+0xfb/0x7e0 mm/swap.c:446 shmem_getpage_gfp+0x1b6f/0x3190 mm/shmem.c:1945 shmem_fault+0x1d7/0x700 mm/shmem.c:2118 __do_fault+0x139/0x340 mm/memory.c:3898 do_read_fault mm/memory.c:4234 [inline] do_fault mm/memory.c:4362 [inline] handle_pte_fault mm/memory.c:4621 [inline] __handle_mm_fault mm/memory.c:4756 [inline] handle_mm_fault+0x376f/0x5950 mm/memory.c:4854 faultin_page mm/gup.c:976 [inline] __get_user_pages+0x4ed/0x11d0 mm/gup.c:1197 populate_vma_page_range+0x215/0x2a0 mm/gup.c:1529 __mm_populate+0x2a5/0x4a0 mm/gup.c:1638 mm_populate include/linux/mm.h:2632 [inline] vm_mmap_pgoff+0x22b/0x2d0 mm/util.c:556 ksys_mmap_pgoff+0x13e/0x780 mm/mmap.c:1624 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fede7dc9bd9 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:00007fede6829048 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fede7f58038 RCX: 00007fede7dc9bd9 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007fede7e38e60 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fede7f58038 R15: 00007fffeac735f8 task:kworker/u4:1 state:R running task stack:20992 pid:12017 ppid: 2 flags:0x00004000 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 preempt_schedule_irq+0xf7/0x1c0 kernel/sched/core.c:6780 irqentry_exit+0x53/0x80 kernel/entry/common.c:432 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:lock_acquire+0x252/0x4f0 kernel/locking/lockdep.c:5627 Code: 2b 00 74 08 4c 89 f7 e8 ac 7e 67 00 f6 44 24 61 02 0f 85 84 01 00 00 41 f7 c7 00 02 00 00 74 01 fb 48 c7 44 24 40 0e 36 e0 45 <4b> c7 44 25 00 00 00 00 00 43 c7 44 25 09 00 00 00 00 43 c7 44 25 RSP: 0000:ffffc900044878e0 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 1ffff92000890f28 RCX: 1ffff92000890ec8 RDX: dffffc0000000000 RSI: ffffffff8a8b3ca0 RDI: ffffffff8ad8f680 RBP: ffffc90004487a40 R08: dffffc0000000000 R09: fffffbfff1f7f219 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000890f24 R13: dffffc0000000000 R14: ffffc90004487940 R15: 0000000000000246 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:755 [inline] batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:826 [inline] batadv_iv_ogm_schedule+0x429/0x1000 net/batman-adv/bat_iv_ogm.c:869 batadv_iv_send_outstanding_bat_ogm_packet+0x6fa/0x800 net/batman-adv/bat_iv_ogm.c:1713 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300 rcu: rcu_preempt kthread timer wakeup didn't happen for 10501 jiffies! g129765 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 rcu: Possible timer handling issue on cpu=1 timer-softirq=84639 rcu: rcu_preempt kthread starved for 10502 jiffies! g129765 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:27256 pid: 15 ppid: 2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376 schedule+0x11b/0x1f0 kernel/sched/core.c:6459 schedule_timeout+0x1b9/0x300 kernel/time/timer.c:1914 rcu_gp_fqs_loop+0x2bf/0x1080 kernel/rcu/tree.c:1972 rcu_gp_kthread+0xa4/0x360 kernel/rcu/tree.c:2145 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300 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: 21195 Comm: syz.0.4649 Not tainted 5.15.162-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:__lock_acquire+0x417/0x1ff0 kernel/locking/lockdep.c:4952 Code: 00 00 31 c0 83 3f 00 0f 95 c0 09 c3 c1 e3 0d 44 09 e3 8b 44 24 60 c1 e0 0f 0f b7 c0 09 d8 8b 74 24 54 83 e6 03 c1 e6 10 09 c6 <8b> 44 24 2c 83 e0 01 c1 e0 12 31 c9 83 7c 24 70 00 0f 95 c1 c1 e1 RSP: 0018:ffffc90000dcff40 EFLAGS: 00000002 RAX: 0000000000007220 RBX: 0000000000007220 RCX: ffff88807d3c0ad4 RDX: dffffc0000000000 RSI: 0000000000007220 RDI: ffff88807d3c0ad4 RBP: ffff88807d3c0000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000001220 R13: 0000000000000005 R14: 1ffff1100fa78167 R15: 0000000000000000 FS: 00007fede68296c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f84c0d1ad00 CR3: 0000000066a6d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:363 [inline] advance_sched+0x47/0x940 net/sched/sch_taprio.c:716 __run_hrtimer kernel/time/hrtimer.c:1686 [inline] __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1750 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1812 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline] __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102 sysvec_apic_timer_interrupt+0x3e/0xb0 arch/x86/kernel/apic/apic.c:1096 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:unwind_next_frame+0xa17/0x1fa0 Code: 4d 8d 6e 01 4c 89 f0 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 59 13 00 00 4c 89 e8 48 c1 e8 03 0f b6 04 10 84 c0 0f 85 70 13 00 00 <49> 0f bf 06 48 01 c3 48 89 1c 24 48 8d 5d 01 41 0f b6 04 14 84 c0 RSP: 0018:ffffc90000dd05a8 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffffc90000dd0c08 RCX: ffffffff8dfd8500 RDX: dffffc0000000000 RSI: ffffffff8e6a6800 RDI: ffffffff8dfd84fc RBP: ffffffff8e6a6804 R08: 0000000000000003 R09: ffffc90000dd0750 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff1cd4d00 R13: ffffffff8e6a6801 R14: ffffffff8e6a6800 R15: ffffc90000dd0660 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4b/0x80 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360 ____kasan_slab_free+0xd8/0x120 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook+0xdd/0x160 mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kmem_cache_free+0x91/0x1f0 mm/slub.c:3515 ext4_end_bio+0x315/0x5b0 req_bio_endio block/blk-core.c:261 [inline] blk_update_request+0x87c/0x1470 block/blk-core.c:1441 scsi_end_request+0x83/0x980 drivers/scsi/scsi_lib.c:544 scsi_io_completion+0x1fa/0x540 drivers/scsi/scsi_lib.c:940 blk_complete_reqs block/blk-mq.c:587 [inline] blk_done_softirq+0xf2/0x130 block/blk-mq.c:592 handle_softirqs+0x3a7/0x930 kernel/softirq.c:558 __do_softirq kernel/softirq.c:592 [inline] invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x157/0x240 kernel/softirq.c:641 irq_exit_rcu+0x5/0x20 kernel/softirq.c:653 common_interrupt+0xa4/0xc0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x22/0x40 arch/x86/include/asm/idtentry.h:629 RIP: 0010:check_kcov_mode kernel/kcov.c:174 [inline] RIP: 0010:write_comp_data kernel/kcov.c:218 [inline] RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x30/0x80 kernel/kcov.c:291 Code: 8b 0d 74 10 82 7e 65 8b 05 75 10 82 7e a9 00 01 ff 00 74 10 a9 00 01 00 00 74 57 83 b9 34 16 00 00 00 74 4e 8b 81 10 16 00 00 <83> f8 03 75 43 48 8b 91 18 16 00 00 44 8b 89 14 16 00 00 49 c1 e1 RSP: 0018:ffffc900032d7438 EFLAGS: 00000246 RAX: 0000000000000002 RBX: 00fff00000080001 RCX: ffff88807d3c0000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: dffffc0000000000 R08: ffffffff81ac59db R09: fffff94000243c01 R10: 0000000000000000 R11: dffffc0000000001 R12: 00fff00000080001 R13: ffffea000121e000 R14: ffffea000121e000 R15: ffffea000121e008 lru_cache_add+0xfb/0x7e0 mm/swap.c:446 shmem_getpage_gfp+0x1b6f/0x3190 mm/shmem.c:1945 shmem_fault+0x1d7/0x700 mm/shmem.c:2118 __do_fault+0x139/0x340 mm/memory.c:3898 do_read_fault mm/memory.c:4234 [inline] do_fault mm/memory.c:4362 [inline] handle_pte_fault mm/memory.c:4621 [inline] __handle_mm_fault mm/memory.c:4756 [inline] handle_mm_fault+0x376f/0x5950 mm/memory.c:4854 faultin_page mm/gup.c:976 [inline] __get_user_pages+0x4ed/0x11d0 mm/gup.c:1197 populate_vma_page_range+0x215/0x2a0 mm/gup.c:1529 __mm_populate+0x2a5/0x4a0 mm/gup.c:1638 mm_populate include/linux/mm.h:2632 [inline] vm_mmap_pgoff+0x22b/0x2d0 mm/util.c:556 ksys_mmap_pgoff+0x13e/0x780 mm/mmap.c:1624 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fede7dc9bd9 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:00007fede6829048 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fede7f58038 RCX: 00007fede7dc9bd9 RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007fede7e38e60 R08: ffffffffffffffff R09: 0000000000000000 R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fede7f58038 R15: 00007fffeac735f8