EXT4-fs: Warning: mounting with data=journal disables delayed allocation, dioread_nolock, O_DIRECT and fast_commit support! EXT4-fs (loop2): encrypted files will use data=ordered instead of data journaling mode EXT4-fs (loop2): 1 truncate cleaned up EXT4-fs (loop2): mounted filesystem without journal. Opts: max_batch_time=0x0000000000000004,max_batch_time=0x0000000000000002,resuid=0x0000000000000000,block_validity,errors=remount-ro,nombcache, ================================================================== BUG: KASAN: slab-out-of-bounds in ext4_read_inline_data fs/ext4/inline.c:209 [inline] BUG: KASAN: slab-out-of-bounds in ext4_convert_inline_data_nolock+0x313/0xcc0 fs/ext4/inline.c:1242 Read of size 68 at addr ffff888110ba7c80 by task syz.2.17/392 CPU: 0 PID: 392 Comm: syz.2.17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:77 dump_stack_lvl+0x1a7/0x208 lib/dump_stack.c:118 print_address_description+0x7f/0x2c0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:435 [inline] kasan_report+0x100/0x140 mm/kasan/report.c:452 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x249/0x2a0 mm/kasan/generic.c:189 memcpy+0x2d/0x70 mm/kasan/shadow.c:65 ext4_read_inline_data fs/ext4/inline.c:209 [inline] ext4_convert_inline_data_nolock+0x313/0xcc0 fs/ext4/inline.c:1242 ext4_try_add_inline_entry+0x73d/0xa70 fs/ext4/inline.c:1367 ext4_add_entry+0x674/0xf90 fs/ext4/namei.c:2414 ext4_mkdir+0x509/0xc60 fs/ext4/namei.c:3019 vfs_mkdir+0x42c/0x600 fs/namei.c:3798 do_mkdirat+0x14c/0x340 fs/namei.c:3820 __do_sys_mkdirat fs/namei.c:3831 [inline] __se_sys_mkdirat fs/namei.c:3829 [inline] __x64_sys_mkdirat+0x7b/0x90 fs/namei.c:3829 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f8c7afcccc7 Code: 00 66 90 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 db f7 ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 b8 02 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffe9b7e0a88 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007ffe9b7e0b10 RCX: 00007f8c7afcccc7 RDX: 00000000000001ff RSI: 0000200000000080 RDI: 00000000ffffff9c RBP: 0000200000000140 R08: 0000200000000080 R09: 0000000000000000 R10: 0000200000000140 R11: 0000000000000246 R12: 0000200000000080 R13: 00007ffe9b7e0ad0 R14: 0000000000000000 R15: 0000000000000000 Allocated by task 366: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:430 [inline] ____kasan_kmalloc mm/kasan/common.c:509 [inline] __kasan_kmalloc+0xd4/0x100 mm/kasan/common.c:518 kasan_kmalloc include/linux/kasan.h:254 [inline] __kmalloc+0x19f/0x330 mm/slub.c:4038 __kmalloc_node include/linux/slab.h:421 [inline] kmalloc_node include/linux/slab.h:578 [inline] kvmalloc_node+0x88/0x130 mm/util.c:612 kvmalloc include/linux/mm.h:833 [inline] kvmalloc_array include/linux/mm.h:851 [inline] __ptr_ring_init_queue_alloc include/linux/ptr_ring.h:471 [inline] ptr_ring_init include/linux/ptr_ring.h:489 [inline] skb_array_init include/linux/skb_array.h:182 [inline] pfifo_fast_init+0x257/0x7a0 net/sched/sch_generic.c:782 qdisc_create_dflt+0x136/0x390 net/sched/sch_generic.c:934 mq_init+0x2c3/0x650 net/sched/sch_mq.c:90 qdisc_create_dflt+0x136/0x390 net/sched/sch_generic.c:934 attach_default_qdiscs net/sched/sch_generic.c:1113 [inline] dev_activate+0x118/0x11c0 net/sched/sch_generic.c:1167 __dev_open+0x3e9/0x500 net/core/dev.c:1551 __dev_change_flags+0x1e4/0x6a0 net/core/dev.c:8547 dev_change_flags+0x80/0x1a0 net/core/dev.c:8618 do_setlink+0xb19/0x29a0 net/core/rtnetlink.c:2736 __rtnl_newlink net/core/rtnetlink.c:3414 [inline] rtnl_newlink+0x13e6/0x1830 net/core/rtnetlink.c:3534 rtnetlink_rcv_msg+0x9e9/0xca0 net/core/rtnetlink.c:5614 netlink_rcv_skb+0x1e9/0x430 net/netlink/af_netlink.c:2503 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:5632 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline] netlink_unicast+0x86c/0xa30 net/netlink/af_netlink.c:1340 netlink_sendmsg+0x949/0xb70 net/netlink/af_netlink.c:1914 sock_sendmsg_nosec net/socket.c:652 [inline] __sock_sendmsg net/socket.c:664 [inline] __sys_sendto+0x467/0x620 net/socket.c:2006 __do_sys_sendto net/socket.c:2018 [inline] __se_sys_sendto net/socket.c:2014 [inline] __x64_sys_sendto+0xe5/0x100 net/socket.c:2014 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb The buggy address belongs to the object at ffff888110ba4000 which belongs to the cache kmalloc-8k of size 8192 The buggy address is located 7296 bytes to the right of 8192-byte region [ffff888110ba4000, ffff888110ba6000) The buggy address belongs to the page: page:ffffea000442e800 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x110ba0 head:ffffea000442e800 order:3 compound_mapcount:0 compound_pincount:0 flags: 0x4000000000010200(slab|head) raw: 4000000000010200 dead000000000100 dead000000000122 ffff888100042a80 raw: 0000000000000000 0000000000020002 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0x1d20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 366, ts 29055917833, free_ts 29049212453 set_page_owner include/linux/page_owner.h:35 [inline] post_alloc_hook mm/page_alloc.c:2456 [inline] prep_new_page+0x176/0x190 mm/page_alloc.c:2462 get_page_from_freelist+0x225f/0x23f0 mm/page_alloc.c:4254 __alloc_pages_nodemask+0x29a/0x640 mm/page_alloc.c:5384 alloc_slab_page mm/slub.c:-1 [inline] allocate_slab mm/slub.c:1813 [inline] new_slab+0x84/0x3f0 mm/slub.c:1874 new_slab_objects mm/slub.c:2632 [inline] ___slab_alloc+0x2f8/0x4c0 mm/slub.c:2796 __slab_alloc+0x63/0xa0 mm/slub.c:2836 slab_alloc_node mm/slub.c:2918 [inline] slab_alloc mm/slub.c:2960 [inline] __kmalloc+0x1f9/0x330 mm/slub.c:4034 __kmalloc_node include/linux/slab.h:421 [inline] kmalloc_node include/linux/slab.h:578 [inline] kvmalloc_node+0x88/0x130 mm/util.c:612 kvmalloc include/linux/mm.h:833 [inline] kvmalloc_array include/linux/mm.h:851 [inline] __ptr_ring_init_queue_alloc include/linux/ptr_ring.h:471 [inline] ptr_ring_init include/linux/ptr_ring.h:489 [inline] skb_array_init include/linux/skb_array.h:182 [inline] pfifo_fast_init+0x10f/0x7a0 net/sched/sch_generic.c:782 qdisc_create_dflt+0x136/0x390 net/sched/sch_generic.c:934 mq_init+0x2c3/0x650 net/sched/sch_mq.c:90 qdisc_create_dflt+0x136/0x390 net/sched/sch_generic.c:934 attach_default_qdiscs net/sched/sch_generic.c:1113 [inline] dev_activate+0x118/0x11c0 net/sched/sch_generic.c:1167 __dev_open+0x3e9/0x500 net/core/dev.c:1551 __dev_change_flags+0x1e4/0x6a0 net/core/dev.c:8547 dev_change_flags+0x80/0x1a0 net/core/dev.c:8618 page last free stack trace: reset_page_owner include/linux/page_owner.h:28 [inline] free_pages_prepare mm/page_alloc.c:1349 [inline] __free_pages_ok+0x80b/0x830 mm/page_alloc.c:1629 free_the_page mm/page_alloc.c:5445 [inline] __free_pages+0xd8/0x390 mm/page_alloc.c:5454 __free_slab+0xcf/0x190 mm/slub.c:1899 free_slab mm/slub.c:1914 [inline] discard_slab mm/slub.c:1920 [inline] unfreeze_partials+0x150/0x180 mm/slub.c:2415 put_cpu_partial+0xc1/0x180 mm/slub.c:2451 __slab_free+0x2c9/0x3a0 mm/slub.c:3100 do_slab_free mm/slub.c:3196 [inline] ___cache_free+0x10e/0x130 mm/slub.c:3215 qlink_free+0x50/0x90 mm/kasan/quarantine.c:157 qlist_free_all+0x5f/0xb0 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x14a/0x160 mm/kasan/quarantine.c:283 __kasan_slab_alloc+0x2f/0xe0 mm/kasan/common.c:440 kasan_slab_alloc include/linux/kasan.h:244 [inline] slab_post_alloc_hook+0x5d/0x2f0 mm/slab.h:580 slab_alloc_node mm/slub.c:2952 [inline] slab_alloc mm/slub.c:2960 [inline] kmem_cache_alloc+0x15a/0x2d0 mm/slub.c:2965 kmem_cache_alloc_node include/linux/slab.h:426 [inline] __alloc_skb+0x9e/0x520 net/core/skbuff.c:200 alloc_skb include/linux/skbuff.h:1126 [inline] netlink_alloc_large_skb net/netlink/af_netlink.c:1178 [inline] netlink_sendmsg+0x693/0xb70 net/netlink/af_netlink.c:1889 sock_sendmsg_nosec net/socket.c:652 [inline] __sock_sendmsg net/socket.c:664 [inline] __sys_sendto+0x467/0x620 net/socket.c:2006 Memory state around the buggy address: ffff888110ba7b80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888110ba7c00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff888110ba7c80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888110ba7d00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888110ba7d80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== EXT4-fs error (device loop2): ext4_check_all_de:659: inode #12: block 7: comm syz.2.17: bad entry in directory: directory entry overrun - offset=0, inode=901261600, rec_len=7976, size=124 fake=0 EXT4-fs (loop2): Remounting filesystem read-only