syzbot


general protection fault in khugepaged

Status: auto-closed as invalid on 2022/03/15 05:26
Reported-by: syzbot+854797ef8d84739a1da3@syzkaller.appspotmail.com
First crash: 828d, last: 828d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in khugepaged mm C done 3 1310d 1322d 15/26 fixed on 2020/09/16 22:51
upstream general protection fault in khugepaged (2) mm 1 85d 81d 0/26 auto-obsoleted due to no activity on 2024/01/27 04:37
upstream general protection fault in khugepaged (3) mm 1 19d 14d 0/26 moderation: reported on 2024/02/07 00:07

Sample crash report:
wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 1578 Comm: khugepaged Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:317 [inline]
RIP: 0010:PageCompound include/linux/page-flags.h:156 [inline]
RIP: 0010:PageTransCompound include/linux/page-flags.h:564 [inline]
RIP: 0010:khugepaged_scan_shmem mm/khugepaged.c:1636 [inline]
RIP: 0010:khugepaged_scan_mm_slot mm/khugepaged.c:1769 [inline]
RIP: 0010:khugepaged_do_scan mm/khugepaged.c:1854 [inline]
RIP: 0010:khugepaged+0x2664/0x4930 mm/khugepaged.c:1899
Code: 0f 84 80 0b 00 00 e8 5b 71 c5 ff 31 ff 48 89 de e8 e1 72 c5 ff 48 85 db 0f 85 d8 0b 00 00 e8 43 71 c5 ff 4c 89 e8 48 c1 e8 03 <42> 80 3c 30 00 0f 85 31 21 00 00 49 8b 5d 00 31 ff 48 c1 eb 0f 83
RSP: 0018:ffff8880b2fdfcd0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff819d141f
RDX: 0000000000000000 RSI: ffffffff819d142d RDI: 0000000000000007
RBP: ffff8880498c4750 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000007 R11: 0000000000000000 R12: ffff888098c81988
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000004
FS:  0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002001d004 CR3: 0000000009e6d000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Modules linked in:
---[ end trace 2b5414cc3edae8a9 ]---
RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:317 [inline]
RIP: 0010:PageCompound include/linux/page-flags.h:156 [inline]
RIP: 0010:PageTransCompound include/linux/page-flags.h:564 [inline]
RIP: 0010:khugepaged_scan_shmem mm/khugepaged.c:1636 [inline]
RIP: 0010:khugepaged_scan_mm_slot mm/khugepaged.c:1769 [inline]
RIP: 0010:khugepaged_do_scan mm/khugepaged.c:1854 [inline]
RIP: 0010:khugepaged+0x2664/0x4930 mm/khugepaged.c:1899
Code: 0f 84 80 0b 00 00 e8 5b 71 c5 ff 31 ff 48 89 de e8 e1 72 c5 ff 48 85 db 0f 85 d8 0b 00 00 e8 43 71 c5 ff 4c 89 e8 48 c1 e8 03 <42> 80 3c 30 00 0f 85 31 21 00 00 49 8b 5d 00 31 ff 48 c1 eb 0f 83
RSP: 0018:ffff8880b2fdfcd0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff819d141f
RDX: 0000000000000000 RSI: ffffffff819d142d RDI: 0000000000000007
RBP: ffff8880498c4750 R08: 0000000000000000 R09: 0000000000000000
NILFS (loop2): broken superblock, retrying with spare superblock (blocksize = 1024)
R10: 0000000000000007 R11: 0000000000000000 R12: ffff888098c81988
NILFS (loop2): unrecognized mount option "?^·B́T-gW?ߏ@ 0F~%k>."!͹v}F8M$	egs29sQ%hI̝#ELc( lC?E?UJYW:5JoVyhf:Dkh2T9fn6
5"
R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000004
FS:  0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0eb8f17000 CR3: 000000009c8b1000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	0f 84 80 0b 00 00    	je     0xb86
   6:	e8 5b 71 c5 ff       	callq  0xffc57166
   b:	31 ff                	xor    %edi,%edi
   d:	48 89 de             	mov    %rbx,%rsi
  10:	e8 e1 72 c5 ff       	callq  0xffc572f6
  15:	48 85 db             	test   %rbx,%rbx
  18:	0f 85 d8 0b 00 00    	jne    0xbf6
  1e:	e8 43 71 c5 ff       	callq  0xffc57166
  23:	4c 89 e8             	mov    %r13,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 30 00       	cmpb   $0x0,(%rax,%r14,1) <-- trapping instruction
  2f:	0f 85 31 21 00 00    	jne    0x2166
  35:	49 8b 5d 00          	mov    0x0(%r13),%rbx
  39:	31 ff                	xor    %edi,%edi
  3b:	48 c1 eb 0f          	shr    $0xf,%rbx
  3f:	83                   	.byte 0x83

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/11/15 05:25 linux-4.19.y 3f8a27f9e27b 75b04091 .config console log report info ci2-linux-4-19 general protection fault in khugepaged
* Struck through repros no longer work on HEAD.