syzbot


general protection fault in do_swap_page

Status: auto-closed as invalid on 2020/11/28 14:45
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+85c3d44e276759c29481@syzkaller.appspotmail.com
First crash: 1401d, last: 1342d
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 1097d 1097d 0/26 auto-closed as invalid on 2021/07/01 16:55
android-5-10 general protection fault in do_swap_page 246 325d 762d 0/2 auto-obsoleted due to no activity on 2023/08/22 15:21

Sample crash report:
get_swap_device: Bad swap file entry 4003ffffffffffff
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: 30246 Comm: syz-executor.4 Not tainted 5.9.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:do_swap_page+0xdba/0x1fe0 mm/memory.c:3131
Code: 10 00 04 00 00 e9 5c f7 ff ff e8 71 b8 cf ff 48 8b 7c 24 08 e8 07 5a 0a 00 48 ba 00 00 00 00 00 fc ff df 48 89 c1 48 c1 e9 03 <80> 3c 11 00 0f 85 6d 0f 00 00 48 8b 18 31 ff 81 e3 00 10 00 00 48
RSP: 0018:ffffc900270d7ce0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88800017aa90 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: ffffffff81aee178 RDI: 0000000000000004
RBP: ffffc900270d7de0 R08: 0000000000000035 R09: ffff8880ae6318e7
R10: 0000000000000000 R11: 00000000000c6418 R12: 8000000000000000
R13: 0000000000000000 R14: 0000000000000040 R15: 0000000000000000
FS:  0000000002e82940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000016a8660 CR3: 000000002a7a8000 CR4: 00000000001526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 handle_pte_fault mm/memory.c:4228 [inline]
 __handle_mm_fault mm/memory.c:4359 [inline]
 handle_mm_fault+0x249e/0x4590 mm/memory.c:4457
 do_user_addr_fault+0x598/0xbf0 arch/x86/mm/fault.c:1294
 handle_page_fault arch/x86/mm/fault.c:1351 [inline]
 exc_page_fault+0xa8/0x160 arch/x86/mm/fault.c:1404
 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:538
RIP: 0033:0x4121fd
Code: 41 39 c1 75 e0 48 89 f8 25 ff 1f 00 00 89 3c 85 00 00 76 00 83 c5 01 e8 21 16 ff ff 41 83 c7 01 45 39 7c 24 04 76 3e 44 89 f8 <49> 8b 34 c6 4a 8d 04 2e 48 3d ff ff ff 7e 0f 86 77 ff ff ff bf b8
RSP: 002b:000000000169fb20 EFLAGS: 00010216
RAX: 00000000000005ff RBX: 00000000f1220471 RCX: 0000001b32c20000
RDX: 00000000f8b0486e RSI: 000000000000086e RDI: fffffffff8b0486e
RBP: 0000000000000014 R08: 00000000f8b0486e R09: 00000000f8b04872
R10: 000000000169fcd0 R11: 0000000000000000 R12: 000000000118cfc8
R13: 0000000080000000 R14: 00007fc2ecc82008 R15: 00000000000005ff
Modules linked in:
---[ end trace b06b4f2270d42422 ]---
RIP: 0010:do_swap_page+0xdba/0x1fe0 mm/memory.c:3131
Code: 10 00 04 00 00 e9 5c f7 ff ff e8 71 b8 cf ff 48 8b 7c 24 08 e8 07 5a 0a 00 48 ba 00 00 00 00 00 fc ff df 48 89 c1 48 c1 e9 03 <80> 3c 11 00 0f 85 6d 0f 00 00 48 8b 18 31 ff 81 e3 00 10 00 00 48
RSP: 0018:ffffc900270d7ce0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88800017aa90 RCX: 0000000000000000
RDX: dffffc0000000000 RSI: ffffffff81aee178 RDI: 0000000000000004
RBP: ffffc900270d7de0 R08: 0000000000000035 R09: ffff8880ae6318e7
R10: 0000000000000000 R11: 00000000000c6418 R12: 8000000000000000
R13: 0000000000000000 R14: 0000000000000040 R15: 0000000000000000
FS:  0000000002e82940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f631c649000 CR3: 000000002a7a8000 CR4: 00000000001526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/08/30 14:44 upstream 1127b219ce94 d5a3ae1f .config console log report ci-upstream-kasan-gce
2020/07/03 00:36 upstream cd77006e01b3 bed10395 .config console log report ci-upstream-kasan-gce
* Struck through repros no longer work on HEAD.