syzbot


INFO: rcu detected stall in do_vmi_munmap

Status: auto-obsoleted due to no activity on 2024/03/27 03:06
Subsystems: mm
[Documentation on labels]
First crash: 492d, last: 264d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in do_vmi_munmap (2) mm 40 12d 29d 25/28 upstream: reported on 2024/08/19 09:10

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 1-...D } 2690 jiffies s: 95189 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: 4635 Comm: modprobe Not tainted 6.7.0-rc7-syzkaller-00016-gf5837722ffec #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:mark_lock+0x55/0xc50 kernel/locking/lockdep.c:4639
Code: 8a b5 41 48 8d 44 24 30 48 c7 44 24 38 28 05 82 8c 48 c1 e8 03 48 c7 44 24 40 a0 a3 67 81 49 89 c7 48 01 d0 c7 00 f1 f1 f1 f1 <c7> 40 04 00 f2 f2 f2 c7 40 08 00 f2 f2 f2 c7 40 10 00 00 00 f3 c7
RSP: 0018:ffffc900001f09f0 EFLAGS: 00000086
RAX: fffff5200003e144 RBX: ffff88807d768b32 RCX: 1ffffffff23f7cf8
RDX: dffffc0000000000 RSI: ffff88807d768b10 RDI: ffff88807d768000
RBP: ffffc900001f0b30 R08: 0000000000000000 R09: fffffbfff23e3801
R10: ffffffff91f1c00f R11: 0000000000000003 R12: ffff88807d768b10
R13: ffff88807d768b09 R14: 0000000000000008 R15: 1ffff9200003e144
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200000c0 CR3: 000000008703f000 CR4: 0000000000350ef0
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 mark_usage kernel/locking/lockdep.c:4599 [inline]
 __lock_acquire+0x998/0x3b20 kernel/locking/lockdep.c:5091
 lock_acquire kernel/locking/lockdep.c:5754 [inline]
 lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719
 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
 _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
 spin_lock include/linux/spinlock.h:351 [inline]
 advance_sched+0xd5/0xc60 net/sched/sch_taprio.c:935
 __run_hrtimer kernel/time/hrtimer.c:1688 [inline]
 __hrtimer_run_queues+0x203/0xc20 kernel/time/hrtimer.c:1752
 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1065 [inline]
 __sysvec_apic_timer_interrupt+0x105/0x400 arch/x86/kernel/apic/apic.c:1082
 sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1076
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:__sanitizer_cov_trace_switch+0x5f/0x90 kernel/kcov.c:342
Code: db 4d 85 f6 74 1e 48 8b 74 dd 10 4c 89 e2 4c 89 ef 48 83 c3 01 48 8b 4c 24 28 e8 2c fe ff ff 49 39 de 75 e2 5b 5d 41 5c 41 5d <41> 5e c3 48 83 f8 40 41 bd 07 00 00 00 74 c2 5b 5d 41 5c 41 5d 41
RSP: 0018:ffffc9000331f5d8 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff8a6ea532
RDX: ffff88807d768000 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffff888027a30c00 R08: 0000000000000005 R09: 0000000000000003
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001
R13: 0000000000000007 R14: 0000000000000003 R15: ffff88803145e600
 ma_pivots lib/maple_tree.c:649 [inline]
 mas_data_end lib/maple_tree.c:1472 [inline]
 mt_validate_nulls+0x542/0xb20 lib/maple_tree.c:7184
 mt_validate+0x4de/0x3da0 lib/maple_tree.c:7231
 validate_mm+0x9a/0x4b0 mm/mmap.c:288
 do_vmi_align_munmap+0x114b/0x1600 mm/mmap.c:2662
 do_vmi_munmap+0x20e/0x450 mm/mmap.c:2725
 mmap_region+0x18c/0x2830 mm/mmap.c:2776
 do_mmap+0x893/0xef0 mm/mmap.c:1379
 vm_mmap_pgoff+0x1a8/0x3c0 mm/util.c:556
 ksys_mmap_pgoff+0x422/0x5b0 mm/mmap.c:1425
 __do_sys_mmap arch/x86/kernel/sys_x86_64.c:93 [inline]
 __se_sys_mmap arch/x86/kernel/sys_x86_64.c:86 [inline]
 __x64_sys_mmap+0x125/0x190 arch/x86/kernel/sys_x86_64.c:86
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x63/0x6b
RIP: 0033:0x7fc8d4617b74
Code: 63 08 44 89 e8 5b 41 5c 41 5d c3 41 89 ca 41 f7 c1 ff 0f 00 00 74 0c c7 05 f5 46 01 00 16 00 00 00 eb 17 b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 0c f7 d8 89 05 dc 46 01 00 48 83 c8 ff c3 0f
RSP: 002b:00007ffeb50e7368 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007ffeb50e7418 RCX: 00007fc8d4617b74
RDX: 0000000000000003 RSI: 0000000000006000 RDI: 00007fc8d4524000
RBP: 00007ffeb50e7b00 R08: 0000000000000000 R09: 000000000019d000
R10: 0000000000000812 R11: 0000000000000246 R12: 00007fc8d45fa5c0
R13: 00007ffeb50e7b88 R14: 000000000019d264 R15: 0000000000000000
 </TASK>

Crashes (17):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/28 03:06 upstream f5837722ffec fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: rcu detected stall in do_vmi_munmap
2023/07/09 21:32 upstream c192ac735768 668cb1fa .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: rcu detected stall in do_vmi_munmap
2023/07/06 15:51 upstream c17414a273b8 1a2f6297 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root INFO: rcu detected stall in do_vmi_munmap
2023/07/01 08:22 upstream b25f62ccb490 af3053d2 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: rcu detected stall in do_vmi_munmap
2023/06/27 09:38 upstream 1ef6663a587b 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce INFO: rcu detected stall in do_vmi_munmap
2023/08/11 04:11 upstream 25aa0bebba72 da3c3ef8 .config console log report info ci-upstream-kasan-gce-386 INFO: rcu detected stall in do_vmi_munmap
2023/08/23 07:09 net de43975721b9 b81ca3f6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: rcu detected stall in do_vmi_munmap
2023/06/09 21:02 net 04c55383fa56 7086cdb9 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: rcu detected stall in do_vmi_munmap
2023/11/03 21:30 net-next ff269e2cd5ad 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: rcu detected stall in do_vmi_munmap
2023/06/27 00:55 net-next 771ca3de2502 4cd5bb25 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: rcu detected stall in do_vmi_munmap
2023/12/10 11:11 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 940704296f7e 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in do_vmi_munmap
2023/11/20 06:02 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing b85ea95d0864 cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in do_vmi_munmap
2023/11/11 00:30 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 6bc986ab839c d80eec66 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in do_vmi_munmap
2023/11/05 05:27 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 90b0c2b2edd1 500bfdc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in do_vmi_munmap
2023/09/26 01:44 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 6465e260f487 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in do_vmi_munmap
2023/09/11 20:31 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 0bb80ecc33a8 59da8366 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in do_vmi_munmap
2023/05/14 06:22 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing a4422ff22142 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-usb INFO: rcu detected stall in do_vmi_munmap
* Struck through repros no longer work on HEAD.