EXT4-fs (loop4): mounted filesystem without journal. Opts: ,errors=continue ext4 filesystem being mounted at /root/syzkaller-testdir2450791237/syzkaller.DSqNDv/944/bus supports timestamps until 2038 (0x7fffffff) ================================================================== BUG: KASAN: slab-out-of-bounds in crc16+0x235/0x2d0 lib/crc16.c:58 Read of size 1 at addr ffff88815b265088 by task syz-executor.4/19241 CPU: 1 PID: 19241 Comm: syz-executor.4 Not tainted 5.10.161-syzkaller-00019-g416c4356f372 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack_lvl+0x1e2/0x24b lib/dump_stack.c:118 print_address_description+0x81/0x3c0 mm/kasan/report.c:233 __kasan_report mm/kasan/report.c:419 [inline] kasan_report+0x1a4/0x1f0 mm/kasan/report.c:436 __asan_report_load1_noabort+0x14/0x20 mm/kasan/report_generic.c:306 crc16+0x235/0x2d0 lib/crc16.c:58 ext4_group_desc_csum+0x851/0xb50 fs/ext4/super.c:2850 ext4_group_desc_csum_set+0x1d6/0x270 fs/ext4/super.c:2873 ext4_free_blocks+0x1b9e/0x2ad0 fs/ext4/mballoc.c:5527 ext4_remove_blocks+0xaf1/0x1180 fs/ext4/extents.c:2520 ext4_ext_rm_leaf+0xaa8/0x18c0 fs/ext4/extents.c:2704 ext4_ext_remove_space+0xf25/0x22a0 fs/ext4/extents.c:2952 ext4_ext_truncate+0x18a/0x210 fs/ext4/extents.c:4413 ext4_truncate+0xba0/0x1270 fs/ext4/inode.c:4356 ext4_evict_inode+0xf1e/0x1730 fs/ext4/inode.c:288 evict+0x2a3/0x6c0 fs/inode.c:577 iput_final fs/inode.c:1655 [inline] iput+0x61f/0x7d0 fs/inode.c:1681 do_unlinkat+0x51a/0x920 fs/namei.c:3982 __do_sys_unlink fs/namei.c:4022 [inline] __se_sys_unlink fs/namei.c:4020 [inline] __x64_sys_unlink+0x49/0x50 fs/namei.c:4020 do_syscall_64+0x34/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 RIP: 0033:0x7f9e01d9b0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9e00b0e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 RAX: ffffffffffffffda RBX: 00007f9e01ebaf80 RCX: 00007f9e01d9b0f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000200 RBP: 00007f9e01df6ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe919da3af R14: 00007f9e00b0e300 R15: 0000000000022000 Allocated by task 19099: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:428 [inline] __kasan_slab_alloc+0xb2/0xe0 mm/kasan/common.c:461 kasan_slab_alloc include/linux/kasan.h:259 [inline] slab_post_alloc_hook include/../mm/slab.h:583 [inline] slab_alloc_node mm/slub.c:2956 [inline] slab_alloc mm/slub.c:2964 [inline] kmem_cache_alloc+0x16c/0x300 mm/slub.c:2969 kmem_cache_zalloc include/linux/slab.h:654 [inline] __kernfs_new_node+0xdb/0x6e0 fs/kernfs/dir.c:635 kernfs_new_node+0x97/0x170 fs/kernfs/dir.c:697 __kernfs_create_file+0x4a/0x270 fs/kernfs/file.c:985 sysfs_add_file_mode_ns+0x273/0x320 fs/sysfs/file.c:306 create_files fs/sysfs/group.c:64 [inline] internal_create_group+0x55e/0xf50 fs/sysfs/group.c:149 internal_create_groups fs/sysfs/group.c:189 [inline] sysfs_create_groups+0x5d/0x130 fs/sysfs/group.c:215 create_dir lib/kobject.c:100 [inline] kobject_add_internal+0x8de/0xda0 lib/kobject.c:255 kobject_add_varg lib/kobject.c:390 [inline] kobject_init_and_add+0x123/0x190 lib/kobject.c:473 netdev_queue_add_kobject net/core/net-sysfs.c:1649 [inline] netdev_queue_update_kobjects+0x170/0x3b0 net/core/net-sysfs.c:1694 register_queue_kobjects net/core/net-sysfs.c:1755 [inline] netdev_register_kobject+0x270/0x320 net/core/net-sysfs.c:2001 register_netdevice+0x1246/0x1790 net/core/dev.c:10019 br_dev_newlink+0x2a/0x120 net/bridge/br_netlink.c:1370 __rtnl_newlink net/core/rtnetlink.c:3446 [inline] rtnl_newlink+0x158c/0x1ff0 net/core/rtnetlink.c:3494 rtnetlink_rcv_msg+0x95a/0xc60 net/core/rtnetlink.c:5571 netlink_rcv_skb+0x1f0/0x460 net/netlink/af_netlink.c:2515 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:5589 netlink_unicast_kernel net/netlink/af_netlink.c:1313 [inline] netlink_unicast+0x91a/0xb10 net/netlink/af_netlink.c:1339 netlink_sendmsg+0xa40/0xd00 net/netlink/af_netlink.c:1934 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg net/socket.c:672 [inline] ____sys_sendmsg+0x597/0x8e0 net/socket.c:2343 ___sys_sendmsg net/socket.c:2397 [inline] __sys_sendmsg+0x37b/0x460 net/socket.c:2430 __do_sys_sendmsg net/socket.c:2439 [inline] __se_sys_sendmsg net/socket.c:2437 [inline] __x64_sys_sendmsg+0x7f/0x90 net/socket.c:2437 do_syscall_64+0x34/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xc6 The buggy address belongs to the object at ffff88815b265000 which belongs to the cache kernfs_node_cache of size 136 The buggy address is located 0 bytes to the right of 136-byte region [ffff88815b265000, ffff88815b265088) The buggy address belongs to the page: page:ffffea00056c9940 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x15b265 flags: 0x8000000000000200(slab) raw: 8000000000000200 0000000000000000 0000000e00000001 ffff88810017c480 raw: 0000000000000000 0000000000140014 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 0x112cc0(GFP_USER|__GFP_NOWARN|__GFP_NORETRY), pid 13616, ts 1377293667265, free_ts 1377292272296 set_page_owner include/linux/page_owner.h:35 [inline] post_alloc_hook mm/page_alloc.c:2386 [inline] prep_new_page mm/page_alloc.c:2392 [inline] get_page_from_freelist+0x755/0x810 mm/page_alloc.c:4073 __alloc_pages_nodemask+0x3b6/0x890 mm/page_alloc.c:5160 alloc_slab_page mm/slub.c:1815 [inline] allocate_slab+0x78/0x540 mm/slub.c:1817 new_slab mm/slub.c:1878 [inline] new_slab_objects mm/slub.c:2636 [inline] ___slab_alloc+0x131/0x2e0 mm/slub.c:2800 __slab_alloc+0x63/0xa0 mm/slub.c:2840 slab_alloc_node mm/slub.c:2922 [inline] slab_alloc mm/slub.c:2964 [inline] kmem_cache_alloc+0x1ef/0x300 mm/slub.c:2969 kmem_cache_zalloc include/linux/slab.h:654 [inline] __kernfs_new_node+0xdb/0x6e0 fs/kernfs/dir.c:635 kernfs_new_node fs/kernfs/dir.c:697 [inline] kernfs_create_dir_ns+0x9b/0x230 fs/kernfs/dir.c:1033 sysfs_create_dir_ns+0x181/0x390 fs/sysfs/dir.c:59 create_dir lib/kobject.c:89 [inline] kobject_add_internal+0x766/0xda0 lib/kobject.c:255 kobject_add_varg lib/kobject.c:390 [inline] kobject_add+0x14c/0x210 lib/kobject.c:442 kobject_create_and_add+0x180/0x260 lib/kobject.c:814 br_sysfs_addbr+0x65/0x140 net/bridge/br_sysfs_br.c:972 br_device_event+0x123/0x810 net/bridge/br.c:46 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0x9e/0x110 kernel/notifier.c:410 call_netdevice_notifiers_info net/core/dev.c:2054 [inline] call_netdevice_notifiers_extack net/core/dev.c:2066 [inline] call_netdevice_notifiers+0x14e/0x1d0 net/core/dev.c:2080 page last free stack trace: reset_page_owner include/linux/page_owner.h:28 [inline] free_pages_prepare mm/page_alloc.c:1332 [inline] free_pcp_prepare+0x18c/0x1c0 mm/page_alloc.c:1406 free_unref_page_prepare mm/page_alloc.c:3293 [inline] free_unref_page mm/page_alloc.c:3347 [inline] free_the_page mm/page_alloc.c:5219 [inline] __free_pages+0x390/0x570 mm/page_alloc.c:5228 __free_slab+0xd3/0x190 mm/slub.c:1903 free_slab mm/slub.c:1918 [inline] discard_slab mm/slub.c:1924 [inline] unfreeze_partials+0x17d/0x1b0 mm/slub.c:2419 put_cpu_partial+0xc8/0x190 mm/slub.c:2455 __slab_free+0x2d8/0x3a0 mm/slub.c:3104 do_slab_free mm/slub.c:3200 [inline] ___cache_free+0x11f/0x140 mm/slub.c:3219 qlink_free+0x38/0x40 mm/kasan/quarantine.c:146 qlist_free_all+0x4c/0xc0 mm/kasan/quarantine.c:165 kasan_quarantine_reduce+0x15a/0x170 mm/kasan/quarantine.c:272 __kasan_slab_alloc+0x2f/0xe0 mm/kasan/common.c:438 kasan_slab_alloc include/linux/kasan.h:259 [inline] slab_post_alloc_hook include/../mm/slab.h:583 [inline] slab_alloc_node mm/slub.c:2956 [inline] slab_alloc mm/slub.c:2964 [inline] kmem_cache_alloc_trace+0x172/0x330 mm/slub.c:2981 kmalloc include/linux/slab.h:552 [inline] kzalloc include/linux/slab.h:664 [inline] kset_create lib/kobject.c:969 [inline] kset_create_and_add+0x5c/0x2b0 lib/kobject.c:1012 register_queue_kobjects net/core/net-sysfs.c:1742 [inline] netdev_register_kobject+0x1a8/0x320 net/core/net-sysfs.c:2001 register_netdevice+0x1246/0x1790 net/core/dev.c:10019 br_dev_newlink+0x2a/0x120 net/bridge/br_netlink.c:1370 Memory state around the buggy address: ffff88815b264f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88815b265000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88815b265080: 00 fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 ^ ffff88815b265100: 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc fc ffff88815b265180: fc fc 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== EXT4-fs error (device loop4): ext4_free_blocks:5349: comm syz-executor.4: Freeing blocks not in datazone - block = 96, count = 1