syzbot


BUG: unable to handle kernel NULL pointer dereference in radix_tree_lookup_slot

Status: closed as invalid on 2018/09/05 12:51
Subsystems: mm
[Documentation on labels]
First crash: 2588d, last: 2588d

Sample crash report:
BUG: unable to handle kernel NULL pointer dereference at 0000000000000fd0
PGD 800000019e52c067 P4D 800000019e52c067 PUD 1bcf8a067 PMD 0 
Oops: 0000 [#1] SMP PTI
CPU: 0 PID: 4999 Comm: syz-executor651 Not tainted 4.18.0-rc5+ #29
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__read_once_size include/linux/compiler.h:197 [inline]
RIP: 0010:radix_tree_load_root lib/radix-tree.c:603 [inline]
RIP: 0010:__radix_tree_lookup lib/radix-tree.c:1040 [inline]
RIP: 0010:radix_tree_lookup_slot+0x76/0x500 lib/radix-tree.c:1079
Code: 08 4c 89 75 88 48 89 5d 90 48 85 c9 74 1c e9 7b 03 00 00 90 e8 ab 8c 38 f7 4c 8b 75 88 48 8b 4d 90 48 85 c9 0f 85 64 03 00 00 <4d> 8b 26 4c 89 f7 e8 2f 37 94 f7 48 8b 08 8b 02 89 45 d4 48 89 4d 
RSP: 0000:ffff8801a4b4f840 EFLAGS: 00010246
RAX: ffffffff8a2f9836 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000063f14 RDI: 0000000000000fc8
RBP: ffff8801a4b4f8e0 R08: 0000000000480020 R09: 0000000000000002
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8801c4820900 R14: 0000000000000fd0 R15: 0000000000000fc8
FS:  000000000177d880(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000fd0 CR3: 00000001bb3d0000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 find_get_entry+0xe7/0x840 mm/filemap.c:1431
 pagecache_get_page+0x1a5/0x13f0 mm/filemap.c:1541
 find_get_page include/linux/pagemap.h:272 [inline]
 lookup_swap_cache+0x127/0x6e0 mm/swap_state.c:338
 do_swap_page+0x32a/0x3060 mm/memory.c:2932
 handle_pte_fault mm/memory.c:3978 [inline]
 __handle_mm_fault mm/memory.c:4098 [inline]
 handle_mm_fault+0x3401/0x85e0 mm/memory.c:4135
 __do_page_fault+0xa76/0x1810 arch/x86/mm/fault.c:1397
 do_page_fault+0x98/0xd0 arch/x86/mm/fault.c:1474
 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1169
RIP: 0033:0x400cbb
Code: Bad RIP value.
RSP: 002b:00007ffd5bf252f0 EFLAGS: 00010203
RAX: 0000000000000003 RBX: 0000000000000000 RCX: 0000000000440859
RDX: 000000000000002c RSI: 00000000204f9fe4 RDI: 0000000000000000
RBP: 0000000000000000 R08: 000000000177d880 R09: 00000000004002c8
R10: 0000000000000000 R11: 0000000000000207 R12: 0000000000011826
R13: 0000000000401db0 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
Dumping ftrace buffer:
   (ftrace buffer empty)
CR2: 0000000000000fd0
---[ end trace fde397c40d4d2329 ]---
RIP: 0010:__read_once_size include/linux/compiler.h:197 [inline]
RIP: 0010:radix_tree_load_root lib/radix-tree.c:603 [inline]
RIP: 0010:__radix_tree_lookup lib/radix-tree.c:1040 [inline]
RIP: 0010:radix_tree_lookup_slot+0x76/0x500 lib/radix-tree.c:1079
Code: 08 4c 89 75 88 48 89 5d 90 48 85 c9 74 1c e9 7b 03 00 00 90 e8 ab 8c 38 f7 4c 8b 75 88 48 8b 4d 90 48 85 c9 0f 85 64 03 00 00 <4d> 8b 26 4c 89 f7 e8 2f 37 94 f7 48 8b 08 8b 02 89 45 d4 48 89 4d 
RSP: 0000:ffff8801a4b4f840 EFLAGS: 00010246
RAX: ffffffff8a2f9836 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000063f14 RDI: 0000000000000fc8
RBP: ffff8801a4b4f8e0 R08: 0000000000480020 R09: 0000000000000002
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8801c4820900 R14: 0000000000000fd0 R15: 0000000000000fc8
FS:  000000000177d880(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000400c91 CR3: 00000001bb3d0000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/23 03:45 https://github.com/google/kmsan.git master d1c2a46a46f6 8cc079c3 .config console log report syz C ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.