syzbot


general protection fault in try_charge

Status: closed as invalid on 2020/10/30 09:53
Subsystems: cgroups mm
[Documentation on labels]
Fix commit: memcg: schedule high reclaim for remote memcgs on high_work
First crash: 1907d, last: 1905d

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 18736 Comm: syz-executor5 Not tainted 5.0.0-rc1-next-20190109 #8
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:mm_match_cgroup include/linux/memcontrol.h:474 [inline]
RIP: 0010:try_charge+0x12a8/0x1d00 mm/memcontrol.c:2332
Code: c0 e8 dc bf fe ff 4c 89 f2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 c6 04 02 00 49 8d bc 24 40 05 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 20 0a 00 00 4c 89 f2 4d 8b a4 24 40 05 00 00 48
RSP: 0018:ffff88805d6c6f78 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff888088db2e80 RCX: 1ffff1100bad8ddd
RDX: 00000000000000a8 RSI: 0000000000000000 RDI: 0000000000000540
RBP: ffff88805d6c7180 R08: 1ffff11015cc5b8f R09: ffffed1015cc5b90
R10: ffffed1015cc5b8f R11: ffff8880ae62dc7b R12: 0000000000000000
R13: ffff88805d6c7158 R14: ffff88805d6c7118 R15: 0000000000000000
FS:  0000000001f98940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000200000c0 CR3: 0000000053adb000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 mem_cgroup_charge_skmem+0x12f/0x280 mm/memcontrol.c:6296
 sk_forced_mem_schedule+0x146/0x170 net/ipv4/tcp_output.c:3073
 tcp_send_fin+0x3b8/0xf30 net/ipv4/tcp_output.c:3116
 tcp_close+0xed1/0x1200 net/ipv4/tcp.c:2405
 inet_release+0x105/0x1f0 net/ipv4/af_inet.c:428
 __sock_release+0xd3/0x250 net/socket.c:579
 sock_close+0x1b/0x30 net/socket.c:1141
 __fput+0x3c5/0xb10 fs/file_table.c:278
 ____fput+0x16/0x20 fs/file_table.c:309
 task_work_run+0x1f4/0x2b0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0xad9/0x2af0 kernel/exit.c:874
 do_group_exit+0x177/0x430 kernel/exit.c:977
 get_signal+0x8b4/0x19b0 kernel/signal.c:2519
 do_signal+0x91/0x1ea0 arch/x86/kernel/signal.c:816
 exit_to_usermode_loop+0x2f7/0x3b0 arch/x86/entry/common.c:162
 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:268 [inline]
 do_syscall_64+0x696/0x800 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457ec9
Code: 6d b7 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 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007ffcff7b5728 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000001 RBX: 0000000000000007 RCX: 0000000000457ec9
RDX: 0000000000000000 RSI: 0000000000000081 RDI: 000000000073bf08
RBP: 000000000073bf00 R08: 00000000007409c0 R09: 0000000000000000
R10: 00007ffcff7b57e0 R11: 0000000000000246 R12: 0000000000000003
R13: 00000000000009d2 R14: 000000000073bf0c R15: 000000000073bf0c
Modules linked in:
---[ end trace be0942bdff911156 ]---
RIP: 0010:__read_once_size include/linux/compiler.h:197 [inline]
RIP: 0010:mm_match_cgroup include/linux/memcontrol.h:474 [inline]
RIP: 0010:try_charge+0x12a8/0x1d00 mm/memcontrol.c:2332
Code: c0 e8 dc bf fe ff 4c 89 f2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 c6 04 02 00 49 8d bc 24 40 05 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 20 0a 00 00 4c 89 f2 4d 8b a4 24 40 05 00 00 48
RSP: 0018:ffff88805d6c6f78 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff888088db2e80 RCX: 1ffff1100bad8ddd
RDX: 00000000000000a8 RSI: 0000000000000000 RDI: 0000000000000540
RBP: ffff88805d6c7180 R08: 1ffff11015cc5b8f R09: ffffed1015cc5b90
R10: ffffed1015cc5b8f R11: ffff8880ae62dc7b R12: 0000000000000000
R13: ffff88805d6c7158 R14: ffff88805d6c7118 R15: 0000000000000000
FS:  0000000001f98940(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000da0978 CR3: 0000000092ae5000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (87):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/01/10 02:03 linux-next d6e77253170d 45c0c1b1 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/09 21:49 linux-next d6e77253170d 45c0c1b1 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/09 21:33 linux-next d6e77253170d 45c0c1b1 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/09 19:51 linux-next d6e77253170d 45c0c1b1 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/09 18:36 linux-next d6e77253170d 45c0c1b1 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/09 17:13 linux-next d6e77253170d 45c0c1b1 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/09 11:34 linux-next d6e77253170d 45c0c1b1 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/09 08:33 linux-next d6e77253170d 45c0c1b1 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/09 07:27 linux-next d6e77253170d 45c0c1b1 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/09 05:13 linux-next d6e77253170d 010ed08b .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/09 04:11 linux-next d6e77253170d 010ed08b .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/09 03:09 linux-next 139287cc2cc0 010ed08b .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/09 01:59 linux-next 139287cc2cc0 010ed08b .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/09 00:07 linux-next 139287cc2cc0 010ed08b .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 22:44 linux-next 139287cc2cc0 010ed08b .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 20:17 linux-next 139287cc2cc0 010ed08b .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 20:13 linux-next 139287cc2cc0 010ed08b .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 20:06 linux-next 139287cc2cc0 010ed08b .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 19:57 linux-next 139287cc2cc0 010ed08b .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 19:44 linux-next 139287cc2cc0 010ed08b .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 19:34 linux-next 139287cc2cc0 010ed08b .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 19:32 linux-next 139287cc2cc0 010ed08b .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 19:31 linux-next 139287cc2cc0 010ed08b .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 19:18 linux-next 139287cc2cc0 010ed08b .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 18:24 linux-next 139287cc2cc0 37dd2683 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 18:20 linux-next 139287cc2cc0 37dd2683 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 17:49 linux-next 139287cc2cc0 37dd2683 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 17:33 linux-next 139287cc2cc0 37dd2683 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 10:29 linux-next 139287cc2cc0 37dd2683 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 10:21 linux-next 139287cc2cc0 37dd2683 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 09:52 linux-next 139287cc2cc0 37dd2683 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 08:43 linux-next 139287cc2cc0 37dd2683 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 08:17 linux-next 139287cc2cc0 37dd2683 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 08:16 linux-next 139287cc2cc0 37dd2683 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 08:04 linux-next 139287cc2cc0 37dd2683 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 07:53 linux-next 139287cc2cc0 37dd2683 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 07:44 linux-next 139287cc2cc0 37dd2683 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 07:42 linux-next 139287cc2cc0 37dd2683 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 07:35 linux-next 139287cc2cc0 37dd2683 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 07:35 linux-next 139287cc2cc0 37dd2683 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 07:12 linux-next 139287cc2cc0 37dd2683 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 07:07 linux-next 139287cc2cc0 37dd2683 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/01/08 04:56 linux-next 139287cc2cc0 69d69aa9 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.