syzbot


INFO: rcu detected stall in snd_timer_user_ioctl

Status: auto-obsoleted due to no activity on 2024/08/21 14:16
Subsystems: sound
[Documentation on labels]
First crash: 270d, last: 250d

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-...D } 2690 jiffies s: 9053 root: 0x1/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 6731 Comm: syz-executor.4 Not tainted 6.9.0-syzkaller-10323-g8f6a15f095a6 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:bytes_is_nonzero mm/kasan/generic.c:89 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/generic.c:104 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:161 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x8c/0x290 mm/kasan/generic.c:189
Code: 3c 31 4c 89 fd 4c 29 dd 48 83 fd 10 7f 29 48 85 ed 0f 84 3e 01 00 00 4c 89 cd 48 f7 d5 48 01 dd 41 80 3b 00 0f 85 c9 01 00 00 <49> ff c3 48 ff c5 75 ee e9 1e 01 00 00 45 89 dc 41 83 e4 07 0f 84
RSP: 0018:ffffc90000007760 EFLAGS: 00000046
RAX: 0000000000000001 RBX: 1ffffffff25f62b1 RCX: ffffffff81728e75
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff92fb1588
RBP: ffffffffffffffff R08: ffffffff92fb158f R09: 1ffffffff25f62b1
R10: dffffc0000000000 R11: fffffbfff25f62b1 R12: ffff888029658000
R13: ffff888029658000 R14: dffffc0000000001 R15: fffffbfff25f62b2
FS:  00007f8c0a5b96c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555586d24938 CR3: 000000005cb9a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 instrument_atomic_read include/linux/instrumented.h:68 [inline]
 _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
 hlock_class kernel/locking/lockdep.c:228 [inline]
 __lock_acquire+0x1265/0x1fd0 kernel/locking/lockdep.c:5134
 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754
 seqcount_lockdep_reader_access+0xfc/0x220 include/linux/seqlock.h:72
 ktime_get_ts64+0xa8/0x2b0 kernel/time/timekeeping.c:981
 snd_seq_timer_interrupt+0x2f8/0x430 sound/core/seq/seq_timer.c:145
 snd_timer_process_callbacks+0x24b/0x320 sound/core/timer.c:765
 snd_timer_interrupt+0xef1/0x10e0 sound/core/timer.c:881
 snd_hrtimer_callback+0x1e8/0x370 sound/core/hrtimer.c:50
 __run_hrtimer kernel/time/hrtimer.c:1687 [inline]
 __hrtimer_run_queues+0x5a5/0xd50 kernel/time/hrtimer.c:1751
 hrtimer_interrupt+0x396/0x990 kernel/time/hrtimer.c:1813
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline]
 __sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1049
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
 sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1043
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194
Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 8e 95 68 f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> 93 2f d2 f5 65 8b 05 c4 60 70 74 85 c0 74 43 48 c7 04 24 0e 36
RSP: 0018:ffffc9000a987a00 EFLAGS: 00000206
RAX: 88dec6971bba4d00 RBX: 1ffff92001530f44 RCX: ffffffff8172e86a
RDX: dffffc0000000000 RSI: ffffffff8bcab880 RDI: 0000000000000001
RBP: ffffc9000a987a90 R08: ffffffff92fb16d7 R09: 1ffffffff25f62da
R10: dffffc0000000000 R11: fffffbfff25f62db R12: dffffc0000000000
R13: 1ffff92001530f40 R14: ffffc9000a987a20 R15: 0000000000000246
 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
 class_spinlock_irqsave_destructor include/linux/spinlock.h:574 [inline]
 snd_timer_stop1+0x7e6/0x950 sound/core/timer.c:634
 __snd_timer_user_ioctl+0x868/0x5340
 snd_timer_user_ioctl+0x65/0xa0 sound/core/timer.c:2058
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:907 [inline]
 __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:893
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8c0987cee9
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:00007f8c0a5b90c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f8c099abf80 RCX: 00007f8c0987cee9
RDX: 0000000000000000 RSI: 00000000000054a3 RDI: 0000000000000004
RBP: 00007f8c098c949e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f8c099abf80 R15: 00007f8c09acfa98
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/23 14:06 upstream 8f6a15f095a6 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: rcu detected stall in snd_timer_user_ioctl
2024/05/23 14:05 upstream 8f6a15f095a6 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: rcu detected stall in snd_timer_user_ioctl
2024/05/03 19:54 upstream f03359bca01b 375d4445 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: rcu detected stall in snd_timer_user_ioctl
* Struck through repros no longer work on HEAD.