syzbot


BUG: unable to handle kernel NULL pointer dereference in __mem_cgroup_free

Status: closed as invalid on 2018/06/27 15:18
Subsystems: cgroups mm
[Documentation on labels]
First crash: 2472d, last: 2456d

Sample crash report:
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440d89
RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000020000100
RBP: 00007ffee51ddeb0 R08: 0000000000000002 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e
R13: ffffffffffffffff R14: 000000000000000a R15: 2f30656c69662f2e
BUG: unable to handle kernel NULL pointer dereference at 0000000000000088
IP: free_mem_cgroup_per_node_info mm/memcontrol.c:4111 [inline]
IP: __mem_cgroup_free+0x100/0x230 mm/memcontrol.c:4120
PGD 80000001c6a0e067 P4D 80000001c6a0e067 PUD 1b3621067 PMD 0 
Oops: 0000 [#1] SMP PTI
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 4507 Comm: syzkaller247148 Not tainted 4.16.0+ #86
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:free_mem_cgroup_per_node_info mm/memcontrol.c:4111 [inline]
RIP: 0010:__mem_cgroup_free+0x100/0x230 mm/memcontrol.c:4120
RSP: 0018:ffff8801b8c8f840 EFLAGS: 00010246
RAX: ffff88019af91f38 RBX: 0000000000000000 RCX: ffff880000000000
RDX: ffff88019af99f38 RSI: aaaaaaaaaaaab000 RDI: 0000000000000088
RBP: ffff8801b8c8f890 R08: 0000000001080020 R09: 0000000000000002
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8801d6790918 R14: 0000000000000000 R15: 0000000000000000
FS:  00000000017be880(0000) GS:ffff88021fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000088 CR3: 00000001b08f6000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 mem_cgroup_css_alloc+0x1011/0x2160 mm/memcontrol.c:4181
 css_create kernel/cgroup/cgroup.c:4729 [inline]
 cgroup_apply_control_enable+0x599/0x2390 kernel/cgroup/cgroup.c:2916
 cgroup_mkdir+0x215a/0x3120 kernel/cgroup/cgroup.c:4938
 kernfs_iop_mkdir+0x333/0x4c0 fs/kernfs/dir.c:1099
 vfs_mkdir+0x69f/0x950 fs/namei.c:3800
 SYSC_mkdirat+0x3dd/0x6a0 fs/namei.c:3823
 SyS_mkdirat+0x54/0x80 fs/namei.c:3807
 SYSC_mkdir+0x74/0x90 fs/namei.c:3834
 SyS_mkdir+0x45/0x70 fs/namei.c:3832
 do_syscall_64+0x309/0x430 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x3d/0xa2
RIP: 0033:0x440d89
RSP: 002b:00007ffee51dde98 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000440d89
RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000020000100
RBP: 00007ffee51ddeb0 R08: 0000000000000002 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0030656c69662f2e
R13: ffffffffffffffff R14: 000000000000000a R15: 2f30656c69662f2e
Code: 07 00 00 48 89 4d b8 48 89 c8 4c 09 e0 75 9d 4c 8b 3b 48 89 df e8 51 37 f9 ff 4c 8b 20 8b 1a 49 8d bf 88 00 00 00 4d 85 e4 75 93 <4d> 8b b7 88 00 00 00 e8 34 37 f9 ff 48 8b 00 8b 0a 49 89 45 00 
RIP: free_mem_cgroup_per_node_info mm/memcontrol.c:4111 [inline] RSP: ffff8801b8c8f840
RIP: __mem_cgroup_free+0x100/0x230 mm/memcontrol.c:4120 RSP: ffff8801b8c8f840
CR2: 0000000000000088
---[ end trace bf9a66480fd2d771 ]---

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/23 02:17 https://github.com/google/kmsan.git master d2d741e5d189 d23fcf6c .config console log report syz C ci-upstream-kmsan-gce
2018/05/08 18:28 https://github.com/google/kmsan.git master d2d741e5d189 b88872ba .config console log report ci-upstream-kmsan-gce
2018/05/06 04:27 https://github.com/google/kmsan.git master d2d741e5d189 78b251cb .config console log report ci-upstream-kmsan-gce
2018/05/05 03:05 https://github.com/google/kmsan.git master d2d741e5d189 9ce14f4b .config console log report ci-upstream-kmsan-gce
2018/04/22 22:15 https://github.com/google/kmsan.git master d2d741e5d189 d23fcf6c .config console log report ci-upstream-kmsan-gce
* Struck through repros no longer work on HEAD.