syzbot


INFO: rcu detected stall in kernfs_fop_open (5)

Status: auto-obsoleted due to no activity on 2024/03/18 04:35
Subsystems: cgroups
[Documentation on labels]
First crash: 502d, last: 456d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in kernfs_fop_open (3) kernfs 2 1000d 1050d 0/28 auto-closed as invalid on 2022/09/20 22:08
upstream INFO: rcu detected stall in kernfs_fop_open kernel 1 1933d 1933d 0/28 closed as invalid on 2019/12/04 14:04
upstream INFO: rcu detected stall in kernfs_fop_open (4) kernel 1 840d 840d 0/28 auto-obsoleted due to no activity on 2023/03/09 20:29
linux-5.15 INFO: rcu detected stall in kernfs_fop_open 1 652d 652d 0/3 auto-obsoleted due to no activity on 2023/09/14 10:24
upstream INFO: rcu detected stall in kernfs_fop_open (2) kernel 1 1897d 1897d 0/28 closed as invalid on 2020/01/09 08:13
linux-6.1 INFO: rcu detected stall in kernfs_fop_open 1 23d 23d 0/3 upstream: reported on 2025/02/24 16:10
android-5-15 BUG: soft lockup in kernfs_fop_open 7 237d 336d 0/2 auto-obsoleted due to no activity on 2024/10/23 00:09

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 1-.... } 2113 jiffies s: 329 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: 3137 Comm: syz-executor.0 Not tainted 6.6.0-syzkaller-10396-g4652b8e4f3ff #0
Hardware name: linux,dummy-virt (DT)
pstate: 00400009 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : cpuset_node_allowed+0x70/0x118 kernel/cgroup/cpuset.c:4789
lr : __cpuset_zone_allowed include/linux/cpuset.h:89 [inline]
lr : cpuset_zone_allowed include/linux/cpuset.h:95 [inline]
lr : get_any_partial mm/slub.c:2373 [inline]
lr : get_partial mm/slub.c:2408 [inline]
lr : ___slab_alloc+0x788/0x8f0 mm/slub.c:3218
sp : ffff80008000ba80
x29: ffff80008000ba80 x28: ffff00007f9f61c0 x27: 0000000000000002
x26: 00000000000021c0 x25: f0ff000004740fc0 x24: f0ff000004740fc0
x23: fdff000002c397c0 x22: f8ff000002c3bf00 x21: ffff00007f9ddd20
x20: 0000000000000001 x19: f0ff000004740fc0 x18: 0000000000000000
x17: ffff7ffffd564000 x16: ffff800080008000 x15: 00004c4b40000000
x14: 00000000000002ce x13: 00000000000002ce x12: 0000000000000001
x11: 00000000c68a865b x10: 0000000000000009 x9 : 0000000000000000
x8 : ffff80008000bdb8 x7 : 0000000000000000 x6 : f0ff000004740fc0
x5 : 0000000000000100 x4 : 0000000001320122 x3 : 0000000000000000
x2 : 0000000000000102 x1 : 0000000000000820 x0 : 0000000000000000
Call trace:
 cpuset_node_allowed+0x70/0x118 kernel/cgroup/cpuset.c:4776
 __cpuset_zone_allowed include/linux/cpuset.h:89 [inline]
 cpuset_zone_allowed include/linux/cpuset.h:95 [inline]
 get_any_partial mm/slub.c:2373 [inline]
 get_partial mm/slub.c:2408 [inline]
 ___slab_alloc+0x788/0x8f0 mm/slub.c:3218
 __slab_alloc.constprop.0+0x34/0x68 mm/slub.c:3322
 __slab_alloc_node mm/slub.c:3375 [inline]
 slab_alloc_node mm/slub.c:3468 [inline]
 slab_alloc mm/slub.c:3486 [inline]
 __kmem_cache_alloc_lru mm/slub.c:3493 [inline]
 kmem_cache_alloc+0x284/0x290 mm/slub.c:3502
 dst_alloc+0x40/0x98 net/core/dst.c:89
 ip6_dst_alloc+0x24/0x90 net/ipv6/route.c:343
 icmp6_dst_alloc+0x64/0x1e0 net/ipv6/route.c:3263
 ndisc_send_skb+0x32c/0x3d4 net/ipv6/ndisc.c:489
 ndisc_send_rs+0x5c/0x1b0 net/ipv6/ndisc.c:719
 addrconf_rs_timer+0x158/0x2b0 net/ipv6/addrconf.c:3985
 call_timer_fn.constprop.0+0x24/0x80 kernel/time/timer.c:1700
 expire_timers kernel/time/timer.c:1751 [inline]
 __run_timers+0x224/0x270 kernel/time/timer.c:2022
 run_timer_softirq+0x20/0x40 kernel/time/timer.c:2035
 __do_softirq+0x10c/0x26c kernel/softirq.c:553
 ____do_softirq+0x10/0x1c arch/arm64/kernel/irq.c:80
 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:886
 do_softirq_own_stack+0x1c/0x28 arch/arm64/kernel/irq.c:85
 invoke_softirq kernel/softirq.c:434 [inline]
 __irq_exit_rcu kernel/softirq.c:632 [inline]
 irq_exit_rcu+0xc0/0xdc kernel/softirq.c:644
 __el1_irq arch/arm64/kernel/entry-common.c:503 [inline]
 el1_interrupt+0x38/0x64 arch/arm64/kernel/entry-common.c:517
 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:522
 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:591
 get_any_partial mm/slub.c:2367 [inline]
 get_partial mm/slub.c:2408 [inline]
 ___slab_alloc+0x2a4/0x8f0 mm/slub.c:3218
 __slab_alloc.constprop.0+0x34/0x68 mm/slub.c:3322
 __slab_alloc_node mm/slub.c:3375 [inline]
 slab_alloc_node mm/slub.c:3468 [inline]
 __kmem_cache_alloc_node+0xec/0x2bc mm/slub.c:3517
 kmalloc_trace+0x34/0x60 mm/slab_common.c:1098
 kmalloc include/linux/slab.h:600 [inline]
 kzalloc include/linux/slab.h:721 [inline]
 cgroup_file_open+0x34/0x170 kernel/cgroup/cgroup.c:4021
 kernfs_fop_open+0x1cc/0x380 fs/kernfs/file.c:746
 do_dentry_open+0x1b8/0x5a4 fs/open.c:948
 vfs_open+0x2c/0x38 fs/open.c:1082
 do_open fs/namei.c:3622 [inline]
 path_openat+0x9c8/0xfec fs/namei.c:3779
 do_filp_open+0x9c/0x14c fs/namei.c:3809
 do_sys_openat2+0xc0/0xf4 fs/open.c:1440
 do_sys_open fs/open.c:1455 [inline]
 __do_sys_openat fs/open.c:1471 [inline]
 __se_sys_openat fs/open.c:1466 [inline]
 __arm64_sys_openat+0x64/0xa4 fs/open.c:1466
 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline]
 invoke_syscall+0x48/0x114 arch/arm64/kernel/syscall.c:51
 el0_svc_common.constprop.0+0x40/0xe0 arch/arm64/kernel/syscall.c:136
 do_el0_svc+0x1c/0x28 arch/arm64/kernel/syscall.c:155
 el0_svc+0x34/0xd8 arch/arm64/kernel/entry-common.c:678
 el0t_64_sync_handler+0x100/0x12c arch/arm64/kernel/entry-common.c:696
 el0t_64_sync+0x19c/0x1a0 arch/arm64/kernel/entry.S:595

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/11/03 05:23 upstream 4652b8e4f3ff c4ac074c .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu2-arm64-mte INFO: rcu detected stall in kernfs_fop_open
2023/12/19 04:30 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e9158c7e5533 924661f4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in kernfs_fop_open
* Struck through repros no longer work on HEAD.