================================================================== kasan: CONFIG_KASAN_INLINE enabled BUG: KASAN: stack-out-of-bounds in remove_vma+0x18e/0x1b0 mm/mmap.c:184 kasan: GPF could be caused by NULL-ptr deref or user memory access Read of size 8 at addr ffff8801b39023d0 by task udevd/7174 general protection fault: 0000 [#1] SMP KASAN CPU: 1 PID: 912813368 Comm: syz-exec Not tainted 4.18.0-rc3+ #49 CPU: 0 PID: 7174 Comm: udevd Not tainted 4.18.0-rc3+ #49 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:task_css include/linux/cgroup.h:477 [inline] RIP: 0010:task_ca kernel/sched/cpuacct.c:43 [inline] RIP: 0010:cpuacct_account_field+0x13c/0x3b0 kernel/sched/cpuacct.c:365 Call Trace: Code: da 45 08 __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113 00 85 c0 74 0d 80 3d f1 print_address_description+0x6c/0x20b mm/kasan/report.c:256 1e 3c 08 kasan_report_error mm/kasan/report.c:354 [inline] kasan_report.cold.7+0x242/0x2fe mm/kasan/report.c:412 00 0f __asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:433 84 remove_vma+0x18e/0x1b0 mm/mmap.c:184 79 exit_mmap+0x365/0x5b0 mm/mmap.c:3116 01 00 __mmput kernel/fork.c:970 [inline] mmput+0x265/0x620 kernel/fork.c:991 00 48 b8 00 00 00 00 exec_mmap fs/exec.c:1044 [inline] flush_old_exec+0xbaf/0x2100 fs/exec.c:1276 00 fc ff df 49 8d 7d 10 48 89 fa 48 c1 ea load_elf_binary+0xa33/0x5610 fs/binfmt_elf.c:869 03 <80> 3c 02 00 search_binary_handler+0x17d/0x570 fs/exec.c:1653 0f exec_binprm fs/exec.c:1695 [inline] __do_execve_file.isra.36+0x171d/0x2730 fs/exec.c:1819 85 49 02 00 00 4d 8b 65 10 49 81 fc 80 a4 f7 88 0f RSP: 0018:ffff8801daf078e8 EFLAGS: 00010002 RAX: dffffc0000000000 RBX: dffffc0000000000 RCX: ffffffff815d8e26 RDX: 0000000000000052 RSI: 0000000000000008 RDI: 0000000000000292 RBP: ffff8801daf07978 R08: 0000000000000000 R09: 0000000000000000 R10: ffff8801daf07950 R11: ffffffff8190dcdf R12: ffff8801b3436500 do_execveat_common fs/exec.c:1866 [inline] do_execve fs/exec.c:1883 [inline] __do_sys_execve fs/exec.c:1964 [inline] __se_sys_execve fs/exec.c:1959 [inline] __x64_sys_execve+0x8f/0xc0 fs/exec.c:1959 R13: 0000000000000282 R14: 1ffff1003b5e0f1e R15: 00000000000f4240 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 FS: 0000000000ec9940(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001111fd0 CR3: 00000001d4b58000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fec39890207 Code: Bad RIP value. cgroup_account_cputime_field include/linux/cgroup.h:739 [inline] task_group_account_field kernel/sched/cputime.c:108 [inline] account_system_index_time+0x1dc/0x5c0 kernel/sched/cputime.c:171 RSP: 002b:00007ffc88c26aa8 EFLAGS: 00000202 ORIG_RAX: 000000000000003b RAX: ffffffffffffffda RBX: 00000000ffffffff RCX: 00007fec39890207 RDX: 0000000001103ab0 RSI: 00007ffc88c26ba0 RDI: 00007ffc88c27bb0 RBP: 0000000000625500 R08: 0000000000000aba R09: 0000000000000aba R10: 0000000000000000 R11: 0000000000000202 R12: 0000000001103ab0 account_system_time+0x7f/0xb0 kernel/sched/cputime.c:199 R13: 0000000000000007 R14: 0000000001102250 R15: 0000000000000005 account_process_tick+0x76/0x240 kernel/sched/cputime.c:498 update_process_times+0x21/0x70 kernel/time/timer.c:1634 Allocated by task 2746: tick_sched_handle+0x9f/0x180 kernel/time/tick-sched.c:164 save_stack+0x43/0xd0 mm/kasan/kasan.c:448 tick_sched_timer+0x45/0x130 kernel/time/tick-sched.c:1274 set_track mm/kasan/kasan.c:460 [inline] kasan_kmalloc+0xc4/0xe0 mm/kasan/kasan.c:553 __run_hrtimer kernel/time/hrtimer.c:1398 [inline] __hrtimer_run_queues+0x3eb/0x10c0 kernel/time/hrtimer.c:1460 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:490 kmem_cache_alloc+0x12e/0x760 mm/slab.c:3554 dup_mmap kernel/fork.c:458 [inline] dup_mm kernel/fork.c:1243 [inline] copy_mm kernel/fork.c:1297 [inline] copy_process.part.40+0x4581/0x7220 kernel/fork.c:1803 copy_process kernel/fork.c:1616 [inline] _do_fork+0x291/0x12a0 kernel/fork.c:2099 __do_sys_clone kernel/fork.c:2206 [inline] __se_sys_clone kernel/fork.c:2200 [inline] __x64_sys_clone+0xbf/0x150 kernel/fork.c:2200 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 3493993472: hrtimer_interrupt+0x2f3/0x750 kernel/time/hrtimer.c:1518 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1025 [inline] smp_apic_timer_interrupt+0x165/0x730 arch/x86/kernel/apic/apic.c:1050 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:863 Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) ---[ end trace d5a5181812fb1052 ]--- BUG: unable to handle kernel paging request at ffffffff8baa60f0 PGD 8e6d067 RIP: 0010:task_css include/linux/cgroup.h:477 [inline] RIP: 0010:task_ca kernel/sched/cpuacct.c:43 [inline] RIP: 0010:cpuacct_account_field+0x13c/0x3b0 kernel/sched/cpuacct.c:365 P4D 8e6d067 Code: da PUD 8e6e063 45 PMD 0 08 Oops: 0000 [#2] SMP KASAN 00 CPU: 0 PID: 7174 Comm: udevd Tainted: G D 4.18.0-rc3+ #49 85 c0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 74 RIP: 0010:depot_fetch_stack+0x10/0x30 lib/stackdepot.c:201 0d Code: 80 3d e8 f1 c5 1e 3c 2e 08 00 47 0f fe 84 79 e9 01 00 b3 00 fd 48 ff b8 00 ff 00 e8 00 bb 00 00 2e fc 47 ff df fe 49 8d e9 7d 10 55 48 89 fd fa 48 ff c1 ff ea 03 90 <80> 3c 90 02 90 00 90 0f 85 90 49 90 02 00 89 00 4d f8 8b 65 c1 10 ef 49 11 81 25 fc 80 ff a4 f7 ff 88 0f 1f 00 RSP: 0018:ffff8801daf078e8 EFLAGS: 00010002 81 e7 RAX: dffffc0000000000 RBX: dffffc0000000000 RCX: ffffffff815d8e26 f0 RDX: 0000000000000052 RSI: 0000000000000008 RDI: 0000000000000292 3f RBP: ffff8801daf07978 R08: 0000000000000000 R09: 0000000000000000 R10: ffff8801daf07950 R11: ffffffff8190dcdf R12: ffff8801b3436500 00 R13: 0000000000000282 R14: 1ffff1003b5e0f1e R15: 00000000000f4240 00 FS: 0000000000ec9940(0000) GS:ffff8801daf00000(0000) knlGS:0000000000000000 <48> CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000001111fd0 CR3: 00000001d4b58000 CR4: 00000000001406e0 03 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 3c DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 c5