syzbot


INFO: rcu detected stall in security_file_ioctl (4)

Status: auto-closed as invalid on 2020/10/13 12:41
Subsystems: tomoyo
[Documentation on labels]
First crash: 1603d, last: 1603d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in security_file_ioctl kernel 7 1828d 1829d 0/28 closed as invalid on 2019/12/04 14:04
upstream INFO: rcu detected stall in security_file_ioctl (2) kernel 6 1793d 1793d 0/28 closed as invalid on 2020/01/08 05:23
upstream INFO: rcu detected stall in security_file_ioctl (7) mm 1 382d 382d 0/28 auto-obsoleted due to no activity on 2024/02/17 10:34
linux-5.15 INFO: rcu detected stall in security_file_ioctl origin:upstream missing-backport syz error 2 99d 163d 0/3 upstream: reported syz repro on 2024/06/25 09:44
upstream INFO: rcu detected stall in security_file_ioctl (8) tomoyo C error done 8 156d 195d 26/28 fixed on 2024/08/06 16:46
upstream INFO: rcu detected stall in security_file_ioctl (6) kernel 1 954d 954d 0/28 auto-closed as invalid on 2022/06/24 22:52
linux-6.1 INFO: rcu detected stall in security_file_ioctl origin:upstream C 1 2d14h 288d 0/3 upstream: reported C repro on 2024/02/20 18:28
upstream INFO: rcu detected stall in security_file_ioctl (3) kernel 4 1792d 1792d 0/28 closed as invalid on 2020/01/09 08:13
upstream INFO: rcu detected stall in security_file_ioctl (5) tomoyo 9 1050d 1289d 0/28 closed as invalid on 2022/02/08 10:00
upstream INFO: rcu detected stall in security_file_ioctl (9) bpf 39 22h24m 13d 0/28 upstream: reported on 2024/11/22 01:19

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	1-...!: (0 ticks this GP) idle=5c2/1/0x4000000000000000 softirq=77040/77040 fqs=1 
	(detected by 0, t=10502 jiffies, g=146849, q=73)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 701 Comm: syz-executor.2 Not tainted 5.8.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__lock_acquire+0x3d/0x56e0 kernel/locking/lockdep.c:4238
Code: 44 89 c3 48 81 ec f0 00 00 00 48 8b 84 24 28 01 00 00 48 c7 84 24 90 00 00 00 b3 8a b5 41 48 c7 84 24 98 00 00 00 ff 2b 68 89 <48> c7 84 24 a0 00 00 00 70 a0 59 81 65 4c 8b 24 25 00 ff 01 00 48
RSP: 0018:ffffc90000da8a68 EFLAGS: 00000082
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8caefe80
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
R10: fffffbfff155d8e9 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffffff8caefe80 R15: 0000000000000000
FS:  00007fb5e5686700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000029679d88 CR3: 0000000090089000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 lock_acquire+0x1f1/0xad0 kernel/locking/lockdep.c:4959
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0x8c/0xc0 kernel/locking/spinlock.c:159
 debug_object_activate+0x12e/0x3e0 lib/debugobjects.c:636
 debug_hrtimer_activate kernel/time/hrtimer.c:416 [inline]
 debug_activate kernel/time/hrtimer.c:476 [inline]
 enqueue_hrtimer+0x27/0x3f0 kernel/time/hrtimer.c:965
 __run_hrtimer kernel/time/hrtimer.c:1537 [inline]
 __hrtimer_run_queues+0xc1e/0xfc0 kernel/time/hrtimer.c:1584
 hrtimer_interrupt+0x32a/0x930 kernel/time/hrtimer.c:1646
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1080 [inline]
 __sysvec_apic_timer_interrupt+0x142/0x5e0 arch/x86/kernel/apic/apic.c:1097
 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711
 </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+0xe0/0x120 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:587
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 99 2f 11 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 aa
RSP: 0018:ffffc900162efa28 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000010 RCX: ffffc9000d4f3000
RDX: 0000000000000000 RSI: ffffffff83628a67 RDI: ffff888093528a18
RBP: ffff888093528a00 R08: 0000000000000001 R09: ffffffff8cac26e7
R10: 0000000000000010 R11: 0000000000000000 R12: 0000000000000100
R13: 000000000000020f R14: dffffc0000000000 R15: 0000000000000000
 tomoyo_supervisor+0x2d4/0xeb0 security/tomoyo/common.c:2089
 tomoyo_audit_path_number_log security/tomoyo/file.c:235 [inline]
 tomoyo_path_number_perm+0x3ed/0x4d0 security/tomoyo/file.c:734
 security_file_ioctl+0x50/0xb0 security/security.c:1480
 ksys_ioctl+0x50/0x180 fs/ioctl.c:747
 __do_sys_ioctl fs/ioctl.c:762 [inline]
 __se_sys_ioctl fs/ioctl.c:760 [inline]
 __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:760
 do_syscall_64+0x60/0xe0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45cba9
Code: Bad RIP value.
RSP: 002b:00007fb5e5685c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000004eb180 RCX: 000000000045cba9
RDX: 0000000020000080 RSI: 00000000000089f1 RDI: 0000000000000006
RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000441 R14: 00000000004d4610 R15: 00007fb5e56866d4
rcu: rcu_preempt kthread starved for 10499 jiffies! g146849 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0
rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
rcu_preempt     R  running task    29120    10      2 0x00004000
Call Trace:
 context_switch kernel/sched/core.c:3453 [inline]
 __schedule+0x8e1/0x1eb0 kernel/sched/core.c:4178
 schedule+0xd0/0x2a0 kernel/sched/core.c:4253
 schedule_timeout+0x148/0x250 kernel/time/timer.c:1897
 rcu_gp_fqs_loop kernel/rcu/tree.c:1874 [inline]
 rcu_gp_kthread+0xae5/0x1b50 kernel/rcu/tree.c:2044
 kthread+0x3b5/0x4a0 kernel/kthread.c:291
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:293

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/15 12:35 upstream e9919e11e219 f3bec699 .config console log report ci-upstream-kasan-gce-selinux-root
* Struck through repros no longer work on HEAD.