syzbot


WARNING in srcu_check_nmi_safety

Status: upstream: reported on 2024/05/04 10:09
Subsystems: kvm
[Documentation on labels]
Reported-by: syzbot+62be362ff074b84ca393@syzkaller.appspotmail.com
First crash: 42d, last: 4h51m
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] Monthly kvm report (Jun 2024) 0 (1) 2024/06/14 08:20
[syzbot] [bcachefs?] WARNING in srcu_check_nmi_safety 0 (1) 2024/05/04 10:09

Sample crash report:
------------[ cut here ]------------
CPU 1 old state 17 new state 1
WARNING: CPU: 1 PID: 14132 at kernel/rcu/srcutree.c:702 srcu_check_nmi_safety+0x10e/0x130 kernel/rcu/srcutree.c:702
Modules linked in:
CPU: 1 PID: 14132 Comm: syz-executor.2 Not tainted 6.10.0-rc3-syzkaller-00044-g2ccbdf43d5e7 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:srcu_check_nmi_safety+0x10e/0x130 kernel/rcu/srcutree.c:702
Code: c0 74 11 3c 03 7f 0d 89 54 24 04 e8 4c 57 77 00 8b 54 24 04 8b b3 c8 01 00 00 44 89 e1 48 c7 c7 60 43 2e 8b e8 b3 a5 dc ff 90 <0f> 0b 90 90 e9 7b ff ff ff e8 24 57 77 00 e9 65 ff ff ff e8 4a 57
RSP: 0018:ffffc90007c97470 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffffe8ffad166380 RCX: ffffc90026911000
RDX: 0000000000040000 RSI: ffffffff81511296 RDI: 0000000000000001
RBP: ffffc90007c1e8a8 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000004 R12: 0000000000000001
R13: ffffc90007c97790 R14: ffffc90007c1e8a8 R15: ffffc90007c1e828
FS:  0000000000000000(0000) GS:ffff88802c100000(0063) knlGS:00000000f5f15b40
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 000000002d126000 CR3: 0000000027020000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 srcu_read_lock include/linux/srcu.h:213 [inline]
 __kvm_handle_hva_range arch/x86/kvm/../../../virt/kvm/kvm_main.c:615 [inline]
 kvm_mmu_notifier_invalidate_range_start+0x293/0xb10 arch/x86/kvm/../../../virt/kvm/kvm_main.c:799
 mn_hlist_invalidate_range_start mm/mmu_notifier.c:476 [inline]
 __mmu_notifier_invalidate_range_start+0x3b9/0x8f0 mm/mmu_notifier.c:531
 mmu_notifier_invalidate_range_start include/linux/mmu_notifier.h:439 [inline]
 __split_huge_pmd+0x1486/0x2ef0 mm/huge_memory.c:2593
 split_huge_pmd_address mm/huge_memory.c:2627 [inline]
 split_huge_pmd_if_needed mm/huge_memory.c:2639 [inline]
 split_huge_pmd_if_needed mm/huge_memory.c:2630 [inline]
 vma_adjust_trans_huge+0x2da/0x560 mm/huge_memory.c:2651
 __split_vma+0xbc6/0x11a0 mm/mmap.c:2430
 do_vmi_align_munmap+0x362/0x19c0 mm/mmap.c:2605
 do_vmi_munmap+0x231/0x410 mm/mmap.c:2759
 mmap_region+0x17f/0x2760 mm/mmap.c:2810
 do_mmap+0xbc7/0xf60 mm/mmap.c:1397
 vm_mmap_pgoff+0x1ba/0x360 mm/util.c:573
 ksys_mmap_pgoff+0x332/0x5d0 mm/mmap.c:1443
 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline]
 __do_fast_syscall_32+0x73/0x120 arch/x86/entry/common.c:386
 do_fast_syscall_32+0x32/0x80 arch/x86/entry/common.c:411
 entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf7344579
Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00
RSP: 002b:00000000f5f155ac EFLAGS: 00000292 ORIG_RAX: 00000000000000c0
RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 0000000000b36000
RDX: 0000000001000009 RSI: 0000000000028011 RDI: 0000000000000008
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	10 06                	adc    %al,(%rsi)
   2:	03 74 b4 01          	add    0x1(%rsp,%rsi,4),%esi
   6:	10 07                	adc    %al,(%rdi)
   8:	03 74 b0 01          	add    0x1(%rax,%rsi,4),%esi
   c:	10 08                	adc    %cl,(%rax)
   e:	03 74 d8 01          	add    0x1(%rax,%rbx,8),%esi
  1e:	00 51 52             	add    %dl,0x52(%rcx)
  21:	55                   	push   %rbp
  22:	89 e5                	mov    %esp,%ebp
  24:	0f 34                	sysenter
  26:	cd 80                	int    $0x80
* 28:	5d                   	pop    %rbp <-- trapping instruction
  29:	5a                   	pop    %rdx
  2a:	59                   	pop    %rcx
  2b:	c3                   	ret
  2c:	90                   	nop
  2d:	90                   	nop
  2e:	90                   	nop
  2f:	90                   	nop
  30:	8d b4 26 00 00 00 00 	lea    0x0(%rsi,%riz,1),%esi
  37:	8d b4 26 00 00 00 00 	lea    0x0(%rsi,%riz,1),%esi

Crashes (202):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/14 23:18 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/14 21:27 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/14 15:46 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/14 12:07 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/14 06:57 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/14 04:09 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/14 02:15 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/13 10:32 upstream 2ccbdf43d5e7 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/12 20:55 upstream cea2a26553ac c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/12 19:43 upstream cea2a26553ac c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/12 05:24 upstream 2ef5971ff345 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/12 03:54 upstream 2ef5971ff345 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/12 00:59 upstream 2ef5971ff345 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/11 22:29 upstream 83a7eefedc9b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/11 21:29 upstream 83a7eefedc9b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/11 05:18 upstream 83a7eefedc9b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/11 02:39 upstream 83a7eefedc9b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/11 00:37 upstream 83a7eefedc9b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/10 23:37 upstream 83a7eefedc9b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/10 17:33 upstream 83a7eefedc9b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/10 16:32 upstream 83a7eefedc9b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/10 14:41 upstream 83a7eefedc9b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/10 05:06 upstream 83a7eefedc9b c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/10 01:11 upstream 771ed66105de c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/10 00:05 upstream 771ed66105de c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/09 16:27 upstream 771ed66105de c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/09 14:49 upstream 771ed66105de c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/09 12:31 upstream 061d1af7b030 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/09 09:18 upstream 061d1af7b030 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/09 04:21 upstream 061d1af7b030 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/09 01:15 upstream 061d1af7b030 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/08 23:36 upstream dc772f8237f9 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/08 20:06 upstream dc772f8237f9 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/08 18:13 upstream dc772f8237f9 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/08 08:05 upstream 96e09b8f8166 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/08 02:31 upstream 96e09b8f8166 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/07 18:27 upstream 8a92980606e3 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/07 05:59 upstream d30d0e49da71 c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/06 17:47 upstream 2df0193e62cf c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/06 15:12 upstream 2df0193e62cf c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/06 10:06 upstream 2df0193e62cf c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/06/06 08:38 upstream 2df0193e62cf c2e07261 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/05/03 21:34 upstream 3d25a941ea50 610f2a54 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/05/03 21:29 upstream 3d25a941ea50 610f2a54 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in srcu_check_nmi_safety
2024/05/24 10:49 linux-next 124cfbcd6d18 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in srcu_check_nmi_safety
2024/05/17 16:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fda5695d692c a12e99e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in srcu_check_nmi_safety
* Struck through repros no longer work on HEAD.