divide error: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 19625 Comm: syz-executor.5 Not tainted 5.4.147-syzkaller-00011-g0bbc71d87f4d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:get_scan_count+0x42d/0x1490 mm/vmscan.c:2515 Code: 49 be 00 00 00 00 00 fc ff df 4c 89 e7 48 89 de e8 a8 ae e0 ff 49 39 dc 4c 0f 46 e3 48 8b 4c 24 20 48 0f af d9 48 89 d8 31 d2 <49> f7 f4 49 89 cc 49 29 c4 bf 20 00 00 00 4c 89 e6 e8 ad b0 e0 ff RSP: 0000:ffff8881ae29edc0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff8881ae29eed0 R08: ffffffff818022b8 R09: ffffed103d5d2824 R10: ffffed103d5d2824 R11: 0000000000000000 R12: 0000000000000000 R13: ffff8881ae29f160 R14: dffffc0000000000 R15: 000000000000000f FS: 00007f43c25c8700(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe437e5a063 CR3: 0000000110443000 CR4: 00000000003406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: shrink_node_memcg+0x158/0x1000 mm/vmscan.c:2588 shrink_node+0x37a/0x12c0 mm/vmscan.c:2831 shrink_zones+0x406/0x8b0 mm/vmscan.c:3048 do_try_to_free_pages+0x20b/0x980 mm/vmscan.c:3106 try_to_free_pages+0x548/0xce0 mm/vmscan.c:3320 __perform_reclaim mm/page_alloc.c:4223 [inline] __alloc_pages_direct_reclaim mm/page_alloc.c:4244 [inline] __alloc_pages_slowpath+0xfec/0x1b70 mm/page_alloc.c:4661 __alloc_pages_nodemask+0x42a/0x740 mm/page_alloc.c:4875 alloc_slab_page+0x39/0x3e0 mm/slub.c:343 allocate_slab mm/slub.c:1684 [inline] new_slab+0x418/0x460 mm/slub.c:1742 new_slab_objects mm/slub.c:2499 [inline] ___slab_alloc+0x330/0x4c0 mm/slub.c:2660 __slab_alloc mm/slub.c:2700 [inline] slab_alloc_node mm/slub.c:2785 [inline] slab_alloc mm/slub.c:2830 [inline] __kmalloc+0x1ee/0x2f0 mm/slub.c:3902 kmalloc_array include/linux/slab.h:618 [inline] kcalloc+0x2b/0x40 include/linux/slab.h:629 ext4_ext_remove_space+0xbde/0x2630 fs/ext4/extents.c:3066 ext4_truncate+0xa6d/0x1150 fs/ext4/inode.c:4600 ext4_evict_inode+0x1252/0x19f0 fs/ext4/inode.c:306 evict+0x29b/0x6a0 fs/inode.c:576 __dentry_kill+0x3b2/0x5a0 fs/dcache.c:579 dentry_kill fs/dcache.c:673 [inline] dput+0x2e1/0x5d0 fs/dcache.c:859 path_put+0x35/0x60 fs/namei.c:485 free_fs_struct fs/fs_struct.c:91 [inline] exit_fs+0xda/0x130 fs/fs_struct.c:108 do_exit+0xbdc/0x2aa0 kernel/exit.c:808 do_group_exit+0x15c/0x2c0 kernel/exit.c:910 get_signal+0x150f/0x1e00 kernel/signal.c:2745 do_signal+0x3b/0x580 arch/x86/kernel/signal.c:809 exit_to_usermode_loop arch/x86/entry/common.c:159 [inline] prepare_exit_to_usermode+0x207/0x310 arch/x86/entry/common.c:194 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f43c4893ae9 Code: Bad RIP value. RSP: 002b:00007f43c25c8218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f43c49a70e8 RCX: 00007f43c4893ae9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f43c49a70e8 RBP: 00007f43c49a70e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f43c49a70ec R13: 00007ffd6746e1df R14: 00007f43c25c8300 R15: 0000000000022000 Modules linked in: ---[ end trace 56b2435ab39e9745 ]--- ---------------- Code disassembly (best guess): 0: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14 7: fc ff df a: 4c 89 e7 mov %r12,%rdi d: 48 89 de mov %rbx,%rsi 10: e8 a8 ae e0 ff callq 0xffe0aebd 15: 49 39 dc cmp %rbx,%r12 18: 4c 0f 46 e3 cmovbe %rbx,%r12 1c: 48 8b 4c 24 20 mov 0x20(%rsp),%rcx 21: 48 0f af d9 imul %rcx,%rbx 25: 48 89 d8 mov %rbx,%rax 28: 31 d2 xor %edx,%edx * 2a: 49 f7 f4 div %r12 <-- trapping instruction 2d: 49 89 cc mov %rcx,%r12 30: 49 29 c4 sub %rax,%r12 33: bf 20 00 00 00 mov $0x20,%edi 38: 4c 89 e6 mov %r12,%rsi 3b: e8 ad b0 e0 ff callq 0xffe0b0ed