EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue ext4 filesystem being mounted at /root/syzkaller-testdir2982365908/syzkaller.b0yJd2/12/bus supports timestamps until 2038 (0x7fffffff) ================================================================== BUG: KASAN: slab-out-of-bounds in crc16+0x1fc/0x280 lib/crc16.c:58 Read of size 1 at addr ffff8881debf70e0 by task syz-executor.0/3123 CPU: 1 PID: 3123 Comm: syz-executor.0 Not tainted 5.4.233-syzkaller-00032-g21086923c1e6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1d8/0x241 lib/dump_stack.c:118 print_address_description+0x8c/0x600 mm/kasan/report.c:384 __kasan_report+0xf3/0x120 mm/kasan/report.c:516 kasan_report+0x30/0x60 mm/kasan/common.c:653 crc16+0x1fc/0x280 lib/crc16.c:58 ext4_group_desc_csum+0x90b/0xc40 fs/ext4/super.c:2545 ext4_group_desc_csum_set+0x197/0x230 fs/ext4/super.c:2568 ext4_mb_mark_diskspace_used+0xa2d/0x1130 fs/ext4/mballoc.c:3035 ext4_mb_new_blocks+0x7d0/0x2d10 fs/ext4/mballoc.c:4594 ext4_ext_map_blocks+0x1e70/0x7450 fs/ext4/extents.c:4511 ext4_map_blocks+0xa83/0x1c40 fs/ext4/inode.c:661 _ext4_get_block+0x21b/0x610 fs/ext4/inode.c:812 ext4_block_write_begin+0x685/0x1180 fs/ext4/inode.c:1223 ext4_write_begin+0x5ba/0x1900 fs/ext4/inode.c:1361 ext4_da_write_begin+0x4a3/0xfe0 fs/ext4/inode.c:3120 generic_perform_write+0x2c7/0x560 mm/filemap.c:3311 __generic_file_write_iter+0x239/0x490 mm/filemap.c:3440 ext4_file_write_iter+0x499/0x10e0 fs/ext4/file.c:270 call_write_iter include/linux/fs.h:1981 [inline] new_sync_write fs/read_write.c:483 [inline] __vfs_write+0x5d3/0x750 fs/read_write.c:496 vfs_write+0x206/0x4e0 fs/read_write.c:558 ksys_write+0x199/0x2c0 fs/read_write.c:611 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 Allocated by task 314: save_stack mm/kasan/common.c:70 [inline] set_track mm/kasan/common.c:78 [inline] __kasan_kmalloc+0x130/0x1d0 mm/kasan/common.c:529 slab_post_alloc_hook mm/slab.h:584 [inline] slab_alloc_node mm/slub.c:2829 [inline] slab_alloc mm/slub.c:2837 [inline] kmem_cache_alloc+0xd0/0x220 mm/slub.c:2842 vm_area_alloc+0x20/0xe0 kernel/fork.c:350 __install_special_mapping+0x34/0x350 mm/mmap.c:3438 map_vdso+0x89/0x120 arch/x86/entry/vdso/vma.c:168 load_elf_binary+0x1e24/0x2750 fs/binfmt_elf.c:1094 search_binary_handler+0x16e/0x5a0 fs/exec.c:1699 exec_binprm+0x91/0x3a0 fs/exec.c:1742 __do_execve_file+0xbf7/0x10d0 fs/exec.c:1874 do_execveat_common fs/exec.c:1920 [inline] do_execve fs/exec.c:1937 [inline] __do_sys_execve fs/exec.c:2013 [inline] __se_sys_execve fs/exec.c:2008 [inline] __x64_sys_execve+0x90/0xa0 fs/exec.c:2008 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 Freed by task 294: save_stack mm/kasan/common.c:70 [inline] set_track mm/kasan/common.c:78 [inline] kasan_set_free_info mm/kasan/common.c:345 [inline] __kasan_slab_free+0x178/0x230 mm/kasan/common.c:487 slab_free_hook mm/slub.c:1455 [inline] slab_free_freelist_hook mm/slub.c:1494 [inline] slab_free mm/slub.c:3080 [inline] kmem_cache_free+0xd5/0x290 mm/slub.c:3096 remove_vma mm/mmap.c:181 [inline] exit_mmap+0x415/0x520 mm/mmap.c:3197 __mmput+0x34/0x250 kernel/fork.c:1090 exit_mm kernel/exit.c:536 [inline] do_exit+0xc08/0x2bc0 kernel/exit.c:846 do_group_exit+0x138/0x300 kernel/exit.c:982 __do_sys_exit_group kernel/exit.c:993 [inline] __se_sys_exit_group kernel/exit.c:991 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:991 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 The buggy address belongs to the object at ffff8881debf7000 which belongs to the cache vm_area_struct of size 224 The buggy address is located 0 bytes to the right of 224-byte region [ffff8881debf7000, ffff8881debf70e0) The buggy address belongs to the page: page:ffffea00077afdc0 refcount:1 mapcount:0 mapping:ffff8881f5ceef00 index:0x0 flags: 0x8000000000000200(slab) raw: 8000000000000200 ffffea00077afe80 0000000400000004 ffff8881f5ceef00 raw: 0000000000000000 00000000000e000e 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY) set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook mm/page_alloc.c:2165 [inline] prep_new_page+0x18f/0x370 mm/page_alloc.c:2171 get_page_from_freelist+0x2ce8/0x2d70 mm/page_alloc.c:3794 __alloc_pages_nodemask+0x393/0x840 mm/page_alloc.c:4891 alloc_slab_page+0x39/0x3c0 mm/slub.c:343 allocate_slab mm/slub.c:1683 [inline] new_slab+0x97/0x440 mm/slub.c:1749 new_slab_objects mm/slub.c:2505 [inline] ___slab_alloc+0x2fe/0x490 mm/slub.c:2667 __slab_alloc+0x5a/0x90 mm/slub.c:2707 slab_alloc_node mm/slub.c:2792 [inline] slab_alloc mm/slub.c:2837 [inline] kmem_cache_alloc+0x100/0x220 mm/slub.c:2842 vm_area_dup kernel/fork.c:358 [inline] dup_mmap kernel/fork.c:545 [inline] dup_mm+0x53e/0xed0 kernel/fork.c:1368 copy_mm+0xe7/0x180 kernel/fork.c:1424 copy_process+0x1291/0x3230 kernel/fork.c:2041 _do_fork+0x197/0x900 kernel/fork.c:2391 __do_sys_clone kernel/fork.c:2549 [inline] __se_sys_clone kernel/fork.c:2530 [inline] __x64_sys_clone+0x26b/0x2c0 kernel/fork.c:2530 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x5c/0xc1 page_owner free stack trace missing Memory state around the buggy address: ffff8881debf6f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8881debf7000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8881debf7080: 00 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc ^ ffff8881debf7100: fc fc fc fc 00 00 00 00 00 00 00 00 00 00 00 00 ffff8881debf7180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================