syzbot


general protection fault in __kmalloc_track_caller (2)

Status: closed as invalid on 2018/09/05 12:51
Subsystems: net nfs
[Documentation on labels]
First crash: 2382d, last: 2382d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in __kmalloc_track_caller mm 3 2458d 2469d 0/28 closed as invalid on 2018/06/27 15:18

Sample crash report:
libceph: bad option at './file0'
general protection fault: 0000 [#1] SMP PTI
CPU: 0 PID: 20221 Comm: syz-executor7 Not tainted 4.18.0-rc5+ #29
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:freelist_dereference mm/slub.c:264 [inline]
RIP: 0010:get_freepointer mm/slub.c:270 [inline]
RIP: 0010:get_freepointer_safe mm/slub.c:285 [inline]
RIP: 0010:slab_alloc_node mm/slub.c:2689 [inline]
RIP: 0010:slab_alloc mm/slub.c:2728 [inline]
RIP: 0010:__kmalloc_track_caller+0x69f/0xce0 mm/slub.c:4323
Code: ff ff 44 8b 27 e8 b1 1d 02 00 8b 00 48 8b 75 a8 49 01 f4 4c 89 f9 48 09 c1 4c 8b b5 60 ff ff ff 0f 85 6d fe ff ff 4c 89 7d 90 <49> 8b 1c 24 4c 89 e7 e8 c5 1d 02 00 4c 8b 38 8b 02 89 45 84 4d 85 
RSP: 0018:ffff8800bb79f790 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 685f676172667069 RCX: 0000000000000000
RDX: ffff88021f009220 RSI: 685f676172667069 RDI: ffffea000cba01e0
RBP: ffff8800bb79f880 R08: 0000000000480020 R09: 0000000000000002
R10: 0000000000000000 R11: 0000000000000000 R12: 685f676172667069
R13: 0000000000000000 R14: ffff88021f005200 R15: 0000000000000000
FS:  00007f4b615c9700(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9096699198 CR3: 00000000b551a000 CR4: 00000000001406f0
DR0: 00000000200001c0 DR1: 0000000020000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 kmemdup+0x95/0x140 mm/util.c:118
 cache_create_net+0x76/0x460 net/sunrpc/cache.c:1682
 unix_gid_cache_create+0xc7/0x280 net/sunrpc/svcauth_unix.c:593
 sunrpc_init_net+0x1c3/0x430 net/sunrpc/sunrpc_syms.c:43
 ops_init+0x5b6/0x770 net/core/net_namespace.c:128
 setup_net+0x273/0xfd0 net/core/net_namespace.c:313
 copy_net_ns+0x634/0x8e0 net/core/net_namespace.c:436
 create_new_namespaces+0x817/0xeb0 kernel/nsproxy.c:107
 unshare_nsproxy_namespaces+0x23b/0x320 kernel/nsproxy.c:206
 ksys_unshare+0x8b5/0x1170 kernel/fork.c:2420
 __do_sys_unshare kernel/fork.c:2488 [inline]
 __se_sys_unshare kernel/fork.c:2486 [inline]
 __x64_sys_unshare+0x59/0x80 kernel/fork.c:2486
 do_syscall_64+0x15b/0x230 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x63/0xe7
RIP: 0033:0x455ab9
Code: 1d ba fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 eb b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 
RSP: 002b:00007f4b615c8c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007f4b615c96d4 RCX: 0000000000455ab9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000004a000400
RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000004c2704 R14: 00000000004d4380 R15: 0000000000000000
Modules linked in:
Dumping ftrace buffer:
   (ftrace buffer empty)
---[ end trace fdd36a277df7d3e0 ]---
RIP: 0010:freelist_dereference mm/slub.c:264 [inline]
RIP: 0010:get_freepointer mm/slub.c:270 [inline]
RIP: 0010:get_freepointer_safe mm/slub.c:285 [inline]
RIP: 0010:slab_alloc_node mm/slub.c:2689 [inline]
RIP: 0010:slab_alloc mm/slub.c:2728 [inline]
RIP: 0010:__kmalloc_track_caller+0x69f/0xce0 mm/slub.c:4323
Code: ff ff 44 8b 27 e8 b1 1d 02 00 8b 00 48 8b 75 a8 49 01 f4 4c 89 f9 48 09 c1 4c 8b b5 60 ff ff ff 0f 85 6d fe ff ff 4c 89 7d 90 <49> 8b 1c 24 4c 89 e7 e8 c5 1d 02 00 4c 8b 38 8b 02 89 45 84 4d 85 
RSP: 0018:ffff8800bb79f790 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 685f676172667069 RCX: 0000000000000000
RDX: ffff88021f009220 RSI: 685f676172667069 RDI: ffffea000cba01e0
RBP: ffff8800bb79f880 R08: 0000000000480020 R09: 0000000000000002
R10: 0000000000000000 R11: 0000000000000000 R12: 685f676172667069
R13: 0000000000000000 R14: ffff88021f005200 R15: 0000000000000000
FS:  00007f4b615c9700(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9096699198 CR3: 00000000b551a000 CR4: 00000000001406f0
DR0: 00000000200001c0 DR1: 0000000020000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600

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