syzbot


general protection fault in do_swap_page

Status: auto-obsoleted due to no activity on 2023/08/22 15:21
Reported-by: syzbot+a17529ab49d702b46472@syzkaller.appspotmail.com
First crash: 964d, last: 527d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in do_swap_page (2) mm 5 1298d 1298d 0/28 auto-closed as invalid on 2021/07/01 16:55
upstream general protection fault in do_swap_page mm 2 1544d 1598d 0/28 auto-closed as invalid on 2020/11/28 14:45

Sample crash report:
get_swap_device: Bad swap file entry 4003ffffff7fffff
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 PID: 14951 Comm: syz-executor.2 Not tainted 5.10.178-syzkaller-00127-g43c801dc3325 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
RIP: 0010:do_swap_page+0x3ca/0x1f70 mm/memory.c:3634
Code: c6 e8 5a 42 cd ff 45 31 f6 85 db 41 0f 95 c6 eb 56 4c 89 f7 e8 27 0e 08 00 48 89 c3 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 f8 4b 0a 00 4c 8b 33 bb 00 10 00 00
RSP: 0000:ffffc90000f0f980 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000010 RDI: 0000000000000000
RBP: ffffc90000f0fb10 R08: ffffffff81a542d3 R09: ffffed103ee0a600
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88810a71ccb8
R13: 1ffff920001e1f48 R14: 4003ffffff7fffff R15: ffffc90000f0fda8
FS:  0000555555c69400(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2a15401000 CR3: 0000000159201000 CR4: 00000000003526b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 handle_pte_fault+0x6d9/0x3e00 mm/memory.c:4742
 __handle_mm_fault mm/memory.c:4891 [inline]
 handle_mm_fault+0x11d6/0x1a10 mm/memory.c:5285
 do_user_addr_fault arch/x86/mm/fault.c:1396 [inline]
 handle_page_fault arch/x86/mm/fault.c:1462 [inline]
 exc_page_fault+0x2a6/0x5b0 arch/x86/mm/fault.c:1518
 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:571
RIP: 0033:0x7f2a1584f42d
Code: e8 38 08 ff ff 40 08 c5 0f 85 ff 01 00 00 41 83 c5 01 45 39 6f 04 0f 86 c4 00 00 00 48 8b 0c 24 44 89 ee 4c 89 f0 4d 8b 77 28 <4c> 03 34 f1 44 89 f3 81 e3 00 f0 ff ff 80 3d 77 ec 16 00 00 75 3f
RSP: 002b:00007ffdb3e980d0 EFLAGS: 00010206
RAX: ffffffff822b608d RBX: 00000000822b647c RCX: 00007f2a15216008
RDX: 00000000822b647c RSI: 000000000003d5ff RDI: 000000000000047c
RBP: 0000000000000001 R08: 0000001b2d720000 R09: 00000000822b6480
R10: 00000000000251be R11: 0000000000000302 R12: 00007f2a159b6000
R13: 000000000003d5ff R14: 0000000000000000 R15: 00007f2a159c2018
Modules linked in:
---[ end trace 98514e027c74032a ]---
RIP: 0010:do_swap_page+0x3ca/0x1f70 mm/memory.c:3634
Code: c6 e8 5a 42 cd ff 45 31 f6 85 db 41 0f 95 c6 eb 56 4c 89 f7 e8 27 0e 08 00 48 89 c3 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 f8 4b 0a 00 4c 8b 33 bb 00 10 00 00
RSP: 0000:ffffc90000f0f980 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: 0000000000000010 RDI: 0000000000000000
RBP: ffffc90000f0fb10 R08: ffffffff81a542d3 R09: ffffed103ee0a600
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88810a71ccb8
R13: 1ffff920001e1f48 R14: 4003ffffff7fffff R15: ffffc90000f0fda8
FS:  0000555555c69400(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2a15401000 CR3: 0000000159201000 CR4: 00000000003526b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 1 bytes skipped:
   0:	e8 5a 42 cd ff       	callq  0xffcd425f
   5:	45 31 f6             	xor    %r14d,%r14d
   8:	85 db                	test   %ebx,%ebx
   a:	41 0f 95 c6          	setne  %r14b
   e:	eb 56                	jmp    0x66
  10:	4c 89 f7             	mov    %r14,%rdi
  13:	e8 27 0e 08 00       	callq  0x80e3f
  18:	48 89 c3             	mov    %rax,%rbx
  1b:	48 c1 e8 03          	shr    $0x3,%rax
  1f:	48 b9 00 00 00 00 00 	movabs $0xdffffc0000000000,%rcx
  26:	fc ff df
* 29:	80 3c 08 00          	cmpb   $0x0,(%rax,%rcx,1) <-- trapping instruction
  2d:	74 08                	je     0x37
  2f:	48 89 df             	mov    %rbx,%rdi
  32:	e8 f8 4b 0a 00       	callq  0xa4c2f
  37:	4c 8b 33             	mov    (%rbx),%r14
  3a:	bb 00 10 00 00       	mov    $0x1000,%ebx

Crashes (246):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/06/13 06:47 android13-5.10-lts 43c801dc3325 749afb64 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_swap_page
2023/04/29 12:02 android12-5.10-lts 416c4356f372 62df2017 .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/04/28 23:19 android12-5.10-lts 416c4356f372 62df2017 .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/04/28 00:04 android12-5.10-lts 416c4356f372 6f3d6fa7 .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/04/26 10:20 android12-5.10-lts 416c4356f372 8d843721 .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/04/24 16:55 android12-5.10-lts 416c4356f372 fdc18293 .config console log report info ci2-android-5-10-perf general protection fault in do_swap_page
2023/04/15 03:58 android12-5.10-lts 416c4356f372 ec410564 .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/03/30 13:24 android12-5.10-lts 416c4356f372 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_swap_page
2023/03/18 14:31 android12-5.10-lts 416c4356f372 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_swap_page
2023/03/10 05:36 android12-5.10-lts 416c4356f372 f08b59ac .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/02/21 23:50 android12-5.10-lts 416c4356f372 42a4d508 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_swap_page
2023/01/31 01:15 android12-5.10-lts 416c4356f372 b68fb8d6 .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/30 18:34 android12-5.10-lts 416c4356f372 b68fb8d6 .config console log report info ci2-android-5-10-perf general protection fault in do_swap_page
2023/01/29 12:32 android12-5.10-lts 416c4356f372 9dfcf09c .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/29 01:17 android12-5.10-lts 416c4356f372 9dfcf09c .config console log report ci2-android-5-10 general protection fault in do_swap_page
2023/01/28 19:43 android12-5.10-lts 416c4356f372 9dfcf09c .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/27 20:28 android12-5.10-lts 416c4356f372 9dfcf09c .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/25 19:33 android12-5.10-lts 416c4356f372 9dfcf09c .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/25 10:00 android12-5.10-lts 416c4356f372 9dfcf09c .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/25 08:03 android12-5.10-lts 416c4356f372 9dfcf09c .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/25 03:34 android12-5.10-lts 416c4356f372 9dfcf09c .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/25 00:22 android12-5.10-lts 416c4356f372 9dfcf09c .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/24 18:03 android12-5.10-lts 416c4356f372 9dfcf09c .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/24 16:48 android12-5.10-lts 416c4356f372 9dfcf09c .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/24 11:49 android12-5.10-lts 416c4356f372 9dfcf09c .config console log report info ci2-android-5-10-perf general protection fault in do_swap_page
2023/01/24 10:17 android12-5.10-lts 416c4356f372 9dfcf09c .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/24 09:12 android12-5.10-lts 416c4356f372 9dfcf09c .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/24 02:09 android12-5.10-lts 416c4356f372 9dfcf09c .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/23 23:43 android12-5.10-lts 416c4356f372 9dfcf09c .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/23 19:31 android12-5.10-lts 416c4356f372 9dfcf09c .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/23 18:02 android12-5.10-lts 416c4356f372 9dfcf09c .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/23 14:00 android12-5.10-lts 416c4356f372 9dfcf09c .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/23 07:59 android12-5.10-lts 416c4356f372 44388686 .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/23 02:34 android12-5.10-lts 416c4356f372 cc0f9968 .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/23 01:34 android12-5.10-lts 416c4356f372 cc0f9968 .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/22 21:51 android12-5.10-lts 416c4356f372 cc0f9968 .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/22 06:16 android12-5.10-lts 416c4356f372 cc0f9968 .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/22 02:03 android12-5.10-lts 416c4356f372 cc0f9968 .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/21 20:49 android12-5.10-lts 416c4356f372 cc0f9968 .config console log report info ci2-android-5-10-perf general protection fault in do_swap_page
2023/01/21 16:51 android12-5.10-lts 416c4356f372 cc0f9968 .config console log report info ci2-android-5-10-perf general protection fault in do_swap_page
2023/01/21 13:16 android12-5.10-lts 416c4356f372 cc0f9968 .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/21 10:07 android12-5.10-lts 416c4356f372 cc0f9968 .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/21 05:40 android12-5.10-lts 416c4356f372 cc0f9968 .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/21 03:02 android12-5.10-lts 416c4356f372 cc0f9968 .config console log report ci2-android-5-10 general protection fault in do_swap_page
2023/01/20 18:38 android12-5.10-lts 416c4356f372 dd15ff29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_swap_page
2023/01/20 09:06 android12-5.10-lts 416c4356f372 dd15ff29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in do_swap_page
2023/01/20 04:05 android12-5.10-lts 416c4356f372 71197f3a .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/19 23:53 android12-5.10-lts 416c4356f372 71197f3a .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2023/01/19 09:48 android12-5.10-lts 416c4356f372 66fca3ae .config console log report info ci2-android-5-10 general protection fault in do_swap_page
2022/04/02 04:41 android12-5.10-lts 414e6c8e941c 79a2a8fc .config console log report info ci2-android-5-10 general protection fault in do_swap_page
* Struck through repros no longer work on HEAD.