syzbot


INFO: rcu detected stall in chrdev_open (3)

Status: auto-obsoleted due to no activity on 2023/02/09 20:53
Subsystems: kernel
[Documentation on labels]
First crash: 538d, last: 538d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: rcu detected stall in chrdev_open (2) 1 1464d 1464d 0/1 auto-closed as invalid on 2020/09/12 23:19
linux-4.14 INFO: rcu detected stall in chrdev_open C error 4 774d 880d 0/1 upstream: reported C repro on 2021/12/21 07:54
linux-4.19 INFO: rcu detected stall in chrdev_open (3) C error 17 600d 1153d 0/1 upstream: reported C repro on 2021/03/22 19:09
upstream INFO: rcu detected stall in chrdev_open (5) serial 1 211d 211d 0/26 auto-obsoleted due to no activity on 2024/01/19 06:34
linux-4.19 INFO: rcu detected stall in chrdev_open 1 1598d 1598d 0/1 auto-closed as invalid on 2020/05/02 02:53
upstream INFO: rcu detected stall in chrdev_open (4) media 1 314d 314d 0/26 auto-obsoleted due to no activity on 2023/10/08 11:46
upstream INFO: rcu detected stall in chrdev_open (2) serial C done inconclusive 55 852d 1619d 0/26 closed as invalid on 2022/02/08 10:45
upstream INFO: rcu detected stall in chrdev_open kernel 4 1628d 1629d 0/26 closed as invalid on 2019/12/04 14:04
linux-5.15 BUG: soft lockup in chrdev_open 1 194d 194d 0/3 auto-obsoleted due to no activity on 2024/02/14 17:22

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 1-...D } 2670 jiffies s: 77761 root: 0x2/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 1311 Comm: syz-executor.2 Not tainted 6.1.0-rc6-next-20221125-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:__lock_acquire+0xe2f/0x56d0 kernel/locking/lockdep.c:4913
Code: 48 c1 e9 03 83 c0 03 0f b6 14 11 38 d0 7c 08 84 d2 0f 85 9b 46 00 00 44 8b 3d 45 29 0f 0d 45 85 ff 0f 84 84 1f 5d 08 45 31 ff <48> b8 00 00 00 00 00 fc ff df 48 03 44 24 30 48 c7 00 00 00 00 00
RSP: 0018:ffffc900001e0b58 EFLAGS: 00000093
RAX: 0000000000000003 RBX: 00000000fffffffe RCX: 58cce5e7c8d5ebdc
RDX: 1ffff1100f7564ee RSI: 0000000000000001 RDI: 000000001b5d732a
RBP: 0000000000000040 R08: 0000000000000000 R09: ffffffff9131ea47
R10: fffffbfff2263d48 R11: 0000000000000000 R12: ffff88807bab27c8
R13: ffff88807bab1d40 R14: 0000000000000002 R15: 0000000000000001
FS:  00007fbe465ff700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4b805e1fc8 CR3: 0000000018b01000 CR4: 00000000003506e0
Call Trace:
 <IRQ>
 lock_acquire kernel/locking/lockdep.c:5668 [inline]
 lock_acquire+0x1e3/0x630 kernel/locking/lockdep.c:5633
 rcu_lock_acquire include/linux/rcupdate.h:325 [inline]
 rcu_read_lock include/linux/rcupdate.h:764 [inline]
 advance_sched+0x4a9/0x9b0 net/sched/sch_taprio.c:753
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x690/0xfb0 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x320/0x790 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1096 [inline]
 __sysvec_apic_timer_interrupt+0x180/0x640 arch/x86/kernel/apic/apic.c:1113
 sysvec_apic_timer_interrupt+0x92/0xc0 arch/x86/kernel/apic/apic.c:1107
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x3c/0x70 kernel/locking/spinlock.c:194
Code: 74 24 10 e8 36 bd 59 f7 48 89 ef e8 de 29 5a f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 <e8> ef 89 4c f7 65 8b 05 80 f0 f9 75 85 c0 74 0a 5b 5d c3 e8 dc 8e
RSP: 0018:ffffc90012cb7700 EFLAGS: 00000206
RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff226af16
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff888012685948 R08: 0000000000000001 R09: ffffffff9131ead7
R10: 0000000000000001 R11: 0000000000000000 R12: ffff88801c8b58c0
R13: ffffc90012cb7798 R14: ffff888012685948 R15: 0000000000000000
 spin_unlock_irqrestore include/linux/spinlock.h:405 [inline]
 klist_next+0x28c/0x510 lib/klist.c:401
 class_dev_iter_next drivers/base/class.c:316 [inline]
 class_find_device+0x178/0x2a0 drivers/base/class.c:420
 class_find_device_by_devt include/linux/device/class.h:167 [inline]
 tty_get_device drivers/tty/tty_io.c:3071 [inline]
 alloc_tty_struct+0x6e5/0x8e0 drivers/tty/tty_io.c:3118
 pty_common_install+0x1ab/0xb00 drivers/tty/pty.c:379
 tty_driver_install_tty drivers/tty/tty_io.c:1301 [inline]
 tty_init_dev.part.0+0x9e/0x5d0 drivers/tty/tty_io.c:1413
 tty_init_dev+0x5f/0x80 drivers/tty/tty_io.c:1403
 ptmx_open drivers/tty/pty.c:824 [inline]
 ptmx_open+0x110/0x360 drivers/tty/pty.c:790
 chrdev_open+0x26a/0x770 fs/char_dev.c:414
 do_dentry_open+0x6cc/0x13f0 fs/open.c:882
 do_open fs/namei.c:3557 [inline]
 path_openat+0x1bbc/0x2a50 fs/namei.c:3714
 do_filp_open+0x1ba/0x410 fs/namei.c:3741
 do_sys_openat2+0x16d/0x4c0 fs/open.c:1310
 do_sys_open fs/open.c:1326 [inline]
 __do_sys_openat fs/open.c:1342 [inline]
 __se_sys_openat fs/open.c:1337 [inline]
 __x64_sys_openat+0x143/0x1f0 fs/open.c:1337
 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:0x7fbe4728c0d9
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:00007fbe465ff168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fbe473abf80 RCX: 00007fbe4728c0d9
RDX: 0000000000000000 RSI: 0000000020000400 RDI: ffffffffffffff9c
RBP: 00007fbe472e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcc56d3aef R14: 00007fbe465ff300 R15: 0000000000022000
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/11/27 17:46 linux-next 9e46a7996732 74a66371 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in chrdev_open
* Struck through repros no longer work on HEAD.