syzbot


INFO: rcu detected stall in do_mkdirat

Status: auto-closed as invalid on 2020/12/18 21:13
Subsystems: tomoyo
[Documentation on labels]
First crash: 1306d, last: 1306d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in do_mkdirat (2) ext4 5 966d 1050d 0/26 auto-closed as invalid on 2021/11/24 12:29

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	1-...0: (1 GPs behind) idle=f96/1/0x4000000000000000 softirq=94274/94277 fqs=5211 
	(detected by 0, t=10502 jiffies, g=181133, q=2230)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 12495 Comm: syz-executor.0 Not tainted 5.9.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:find_held_lock+0x0/0x110 kernel/locking/lockdep.c:4522
Code: 3c 10 00 75 14 48 83 3d dd 80 81 08 00 74 08 9c 58 0f 1f 44 00 00 c3 0f 0b 48 c7 c7 a0 6b dc 89 e8 e5 1c 5c 00 eb de 0f 1f 00 <41> 57 44 8d 7a ff 49 63 c7 41 56 49 89 ce 48 8d 04 80 41 55 49 89
RSP: 0018:ffffc90000da8d08 EFLAGS: 00000002
RAX: 0000000000000000 RBX: 0000000000000004 RCX: ffffc90000da8d60
RDX: 0000000000000004 RSI: ffff8880ae727758 RDI: ffff8880a0d022c0
RBP: 1ffff920001b51a4 R08: 0000000000000001 R09: ffff8880a0d02ba0
R10: fffffbfff1669519 R11: 0000000000000000 R12: ffff8880a0d022c0
R13: ffff8880ae727758 R14: ffffffff81665311 R15: ffff8880a0d022c0
FS:  0000000002932940(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000293ba98 CR3: 000000008e28d000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __lock_release kernel/locking/lockdep.c:4713 [inline]
 lock_release+0x244/0x8f0 kernel/locking/lockdep.c:5026
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:158 [inline]
 _raw_spin_unlock_irqrestore+0x16/0x90 kernel/locking/spinlock.c:191
 __run_hrtimer kernel/time/hrtimer.c:1520 [inline]
 __hrtimer_run_queues+0x5d1/0xfc0 kernel/time/hrtimer.c:1588
 hrtimer_interrupt+0x334/0x940 kernel/time/hrtimer.c:1650
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1080 [inline]
 __sysvec_apic_timer_interrupt+0x147/0x5f0 arch/x86/kernel/apic/apic.c:1097
 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:706
 </IRQ>
 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline]
 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline]
 sysvec_apic_timer_interrupt+0xb2/0xf0 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:581
RIP: 0010:tomoyo_domain_quota_is_ok+0x16d/0x550 security/tomoyo/util.c:1037
Code: 00 48 8b 6d 00 48 3b 2c 24 0f 84 89 00 00 00 e8 39 4d 0a fe 48 8d 7d 18 48 89 f8 48 89 fa 48 c1 e8 03 83 e2 07 42 0f b6 04 30 <38> d0 7f 08 84 c0 0f 85 4a 03 00 00 0f b6 5d 18 31 ff 89 de e8 2a
RSP: 0018:ffffc90008d3f940 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000010 RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff836bf287 RDI: ffff8880a8285098
RBP: ffff8880a8285080 R08: 0000000000000001 R09: ffffffff8d3583c7
R10: 0000000000000010 R11: 0000000000000000 R12: 0000000000000030
R13: 00000000000001c2 R14: dffffc0000000000 R15: 0000000000000000
 tomoyo_supervisor+0x2f2/0xef0 security/tomoyo/common.c:2089
 tomoyo_audit_path_number_log security/tomoyo/file.c:235 [inline]
 tomoyo_path_number_perm+0x419/0x590 security/tomoyo/file.c:734
 tomoyo_path_mkdir+0x98/0xe0 security/tomoyo/tomoyo.c:167
 security_path_mkdir+0xe8/0x160 security/security.c:1085
 do_mkdirat+0x14b/0x2d0 fs/namei.c:3670
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45ca17
Code: 1f 40 00 b8 5a 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 2d c0 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 53 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 0d c0 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffc44b31d58 EFLAGS: 00000202 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00000000000f89dd RCX: 000000000045ca17
RDX: 00007ffc44b31da6 RSI: 00000000000001ff RDI: 00007ffc44b31da0
RBP: 0000000000000bc4 R08: 0000000000000000 R09: 0000000000000006
R10: 0000000000000064 R11: 0000000000000202 R12: 0000000000000001
R13: 00007ffc44b31d90 R14: 00000000000f8997 R15: 00007ffc44b31da0

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/19 21:05 upstream eb5f95f1593f 53ce8104 .config console log report info ci-upstream-kasan-gce-selinux-root
* Struck through repros no longer work on HEAD.