rcu: INFO: rcu_preempt detected stalls on CPUs/tasks: rcu: 0-...!: (1 GPs behind) idle=bcd4/1/0x4000000000000000 softirq=31048/31049 fqs=0 rcu: Tasks blocked on level-0 rcu_node (CPUs 0-1): P8660/1:b..l rcu: (detected by 1, t=10506 jiffies, g=35977, q=283 ncpus=2) Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4476 Comm: udevd Not tainted 6.4.0-syzkaller-12316-g4f6b6c2b2f86 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:lock_acquire+0x74/0x520 kernel/locking/lockdep.c:5729 Code: fb 26 8c 48 01 d8 48 c7 44 24 20 10 48 66 81 c7 00 f1 f1 f1 f1 c7 40 04 f1 f1 00 00 c7 40 08 00 00 00 f3 c7 40 0c f3 f3 f3 f3 <65> 48 8b 04 25 28 00 00 00 48 89 84 24 a8 00 00 00 31 c0 0f 1f 44 RSP: 0018:ffffc90000007d40 EFLAGS: 00000086 RAX: fffff52000000faa RBX: 1ffff92000000faa RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8880b982b898 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff8880b982b898 R15: 0000000000000000 FS: 00007fa68f3c0c80(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2ec25000 CR3: 000000002ab29000 CR4: 0000000000350ef0 Call Trace: __raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline] _raw_spin_lock_irq+0x36/0x50 kernel/locking/spinlock.c:170 __run_hrtimer kernel/time/hrtimer.c:1692 [inline] __hrtimer_run_queues+0x248/0xc00 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x320/0x7b0 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1098 [inline] __sysvec_apic_timer_interrupt+0x14a/0x430 arch/x86/kernel/apic/apic.c:1115 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:vsnprintf+0x377/0x1710 lib/vsprintf.c:2767 Code: 83 e2 07 0f b6 04 18 38 d0 7f 08 84 c0 0f 85 2f 12 00 00 45 0f b6 75 00 4d 89 ec e8 03 4e 71 f7 31 ff 44 89 f6 e8 d9 49 71 f7 <45> 84 f6 0f 85 cf fd ff ff e9 ef 00 00 00 45 84 ff 0f 84 d9 06 00 RSP: 0018:ffffc90002f6f568 EFLAGS: 00000293 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffffff8a139177 RDX: ffff88807cfd8000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000005 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000025 R11: 0000000000000001 R12: ffffffff8abfd7c5 R13: ffffffff8abfd7c5 R14: 0000000000000025 R15: 0000000000000000 tomoyo_supervisor+0xfe/0xec0 security/tomoyo/common.c:2060 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_path_permission+0x270/0x3a0 security/tomoyo/file.c:573 tomoyo_check_open_permission+0x366/0x3a0 security/tomoyo/file.c:777 tomoyo_file_open security/tomoyo/tomoyo.c:332 [inline] tomoyo_file_open+0xaa/0xd0 security/tomoyo/tomoyo.c:327 security_file_open+0x49/0xb0 security/security.c:2797 do_dentry_open+0x57a/0x17b0 fs/open.c:901 do_open fs/namei.c:3636 [inline] path_openat+0x1b65/0x2710 fs/namei.c:3793 do_filp_open+0x1ba/0x410 fs/namei.c:3820 do_sys_openat2+0x160/0x1c0 fs/open.c:1407 do_sys_open fs/open.c:1422 [inline] __do_sys_openat fs/open.c:1438 [inline] __se_sys_openat fs/open.c:1433 [inline] __x64_sys_openat+0x143/0x1f0 fs/open.c:1433 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa68ef169a4 Code: 24 20 48 8d 44 24 30 48 89 44 24 28 64 8b 04 25 18 00 00 00 85 c0 75 2c 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 60 48 8b 15 55 a4 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffd8f458b10 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007fa68ef169a4 RDX: 0000000000080000 RSI: 00007ffd8f458c48 RDI: 00000000ffffff9c RBP: 00007ffd8f458c48 R08: 0000000000000008 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000 R13: 000056118d1ecb42 R14: 0000000000000001 R15: 0000000000000000 task:kworker/u4:9 state:R running task stack:23832 pid:8660 ppid:2 flags:0x00004000 Workqueue: bat_events batadv_nc_worker Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6710 preempt_schedule_irq+0x52/0x90 kernel/sched/core.c:7022 irqentry_exit+0x35/0x80 kernel/entry/common.c:433 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:rcu_is_watching+0x5/0xb0 kernel/rcu/tree.c:691 Code: 00 00 00 00 00 f3 0f 1e fa 48 c7 c7 20 02 6e 8a e8 70 3e b2 08 65 8a 05 75 f6 95 7e 0f b6 c0 c3 0f 1f 44 00 00 f3 0f 1e fa 55 <53> 65 ff 05 bb db 95 7e e8 2e 3e b2 08 48 c7 c3 e8 6c 03 00 83 f8 RSP: 0018:ffffc900156ffc80 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffff88807b3018d8 RCX: 0000000000000000 RDX: ffff888075ab9dc0 RSI: ffffffff89eaef5c RDI: 0000000000000005 RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff888019a816d8 R13: 0000000000000000 R14: dffffc0000000000 R15: 000000000000031b rcu_read_lock include/linux/rcupdate.h:750 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xbc1/0xfe0 net/batman-adv/network-coding.c:719 process_one_work+0xa34/0x16f0 kernel/workqueue.c:2597 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2748 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: rcu_preempt kthread starved for 10506 jiffies! g35977 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->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:R running task stack:28896 pid:16 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xc9a/0x5880 kernel/sched/core.c:6710 schedule+0xde/0x1a0 kernel/sched/core.c:6786 schedule_timeout+0x14e/0x2b0 kernel/time/timer.c:2167 rcu_gp_fqs_loop+0x190/0x910 kernel/rcu/tree.c:1609 rcu_gp_kthread+0x23a/0x360 kernel/rcu/tree.c:1808 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 rcu: Stack dump where RCU GP kthread last ran: CPU: 1 PID: 10605 Comm: syz-executor.0 Not tainted 6.4.0-syzkaller-12316-g4f6b6c2b2f86 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:csd_lock_wait kernel/smp.c:296 [inline] RIP: 0010:smp_call_function_many_cond+0x699/0x1720 kernel/smp.c:835 Code: 0b 00 85 ed 74 48 48 8b 44 24 08 49 89 c4 83 e0 07 49 c1 ec 03 48 89 c5 4d 01 f4 83 c5 03 e8 ee 53 0b 00 f3 90 41 0f b6 04 24 <40> 38 c5 7c 08 84 c0 0f 85 d1 0d 00 00 8b 43 08 31 ff 83 e0 01 41 RSP: 0018:ffffc90005f3f970 EFLAGS: 00000246 RAX: 0000000000000000 RBX: ffff8880b9844fe0 RCX: ffffc90014eb1000 RDX: 0000000000040000 RSI: ffffffff81798b82 RDI: 0000000000000005 RBP: 0000000000000003 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffffed10173089fd R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000001 FS: 00007f2b9104c700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efe557e3ff8 CR3: 000000007e821000 CR4: 0000000000350ee0 Call Trace: clock_was_set+0x17b/0x830 kernel/time/hrtimer.c:976 timekeeping_inject_offset+0x4b4/0x620 kernel/time/timekeeping.c:1395 do_adjtimex+0x333/0xa40 kernel/time/timekeeping.c:2444 do_clock_adjtime kernel/time/posix-timers.c:1159 [inline] __do_sys_clock_adjtime+0x163/0x270 kernel/time/posix-timers.c:1171 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2b9028c389 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2b9104c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000131 RAX: ffffffffffffffda RBX: 00007f2b903abf80 RCX: 00007f2b9028c389 RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000000 RBP: 00007f2b902d7493 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc0fd2fa7f R14: 00007f2b9104c300 R15: 0000000000022000