loop0: detected capacity change from 0 to 2048 EXT4-fs (loop0): mounted filesystem without journal. Opts: ,errors=continue. Quota mode: none. ================================================================== 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+0x315/0xca0 fs/ext4/inline.c:1231 Read of size 20 at addr ffff88801eedc1a3 by task syz-executor.0/4570 CPU: 0 PID: 4570 Comm: syz-executor.0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 print_address_description+0x60/0x2d0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xdf/0x130 mm/kasan/report.c:451 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x27b/0x290 mm/kasan/generic.c:189 memcpy+0x25/0x60 mm/kasan/shadow.c:65 ext4_read_inline_data fs/ext4/inline.c:209 [inline] ext4_convert_inline_data_nolock+0x315/0xca0 fs/ext4/inline.c:1231 ext4_convert_inline_data+0x49e/0x5d0 fs/ext4/inline.c:2088 ext4_fallocate+0xf4/0x1ee0 fs/ext4/extents.c:4759 vfs_fallocate+0x587/0x6f0 fs/open.c:308 ksys_fallocate fs/open.c:331 [inline] __do_sys_fallocate fs/open.c:339 [inline] __se_sys_fallocate fs/open.c:337 [inline] __x64_sys_fallocate+0xbd/0x100 fs/open.c:337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fddd7c32959 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fddd6fb40c8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007fddd7d51f80 RCX: 00007fddd7c32959 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007fddd7c8ec88 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000008000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fddd7d51f80 R15: 00007ffcea857528 Allocated by task 1: 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:434 [inline] __kasan_slab_alloc+0x9c/0xd0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3225 [inline] slab_alloc mm/slub.c:3233 [inline] kmem_cache_alloc+0x100/0x290 mm/slub.c:3238 kmem_cache_zalloc include/linux/slab.h:728 [inline] __kernfs_new_node+0xd6/0x680 fs/kernfs/dir.c:593 kernfs_new_node+0x148/0x250 fs/kernfs/dir.c:669 kernfs_create_dir_ns+0x40/0x120 fs/kernfs/dir.c:1005 sysfs_create_dir_ns+0x120/0x280 fs/sysfs/dir.c:59 create_dir lib/kobject.c:89 [inline] kobject_add_internal+0x662/0xd00 lib/kobject.c:263 kobject_add_varg lib/kobject.c:398 [inline] kobject_add+0x152/0x210 lib/kobject.c:450 device_add+0x483/0xfb0 drivers/base/core.c:3347 tty_register_device_attr+0x40a/0x920 drivers/tty/tty_io.c:3290 tty_register_device drivers/tty/tty_io.c:3224 [inline] tty_register_driver+0x596/0xb10 drivers/tty/tty_io.c:3482 legacy_pty_init+0x3a6/0x600 drivers/tty/pty.c:579 pty_init+0xa/0x20 drivers/tty/pty.c:943 do_one_initcall+0x1ee/0x680 init/main.c:1316 do_initcall_level+0x137/0x1f0 init/main.c:1389 do_initcalls+0x4b/0x90 init/main.c:1405 kernel_init_freeable+0x3ce/0x560 init/main.c:1629 kernel_init+0x19/0x1b0 init/main.c:1520 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 The buggy address belongs to the object at ffff88801eedc0e8 which belongs to the cache kernfs_node_cache of size 168 The buggy address is located 19 bytes to the right of 168-byte region [ffff88801eedc0e8, ffff88801eedc190) The buggy address belongs to the page: page:ffffea00007bb700 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1eedc flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000200 0000000000000000 dead000000000122 ffff8880169e9b40 raw: 0000000000000000 0000000000110011 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), pid 1, ts 5407614389, free_ts 5406014408 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x1b77/0x1c60 mm/page_alloc.c:4192 __alloc_pages+0x1e1/0x470 mm/page_alloc.c:5487 alloc_page_interleave+0x24/0x1e0 mm/mempolicy.c:2031 alloc_slab_page mm/slub.c:1780 [inline] allocate_slab mm/slub.c:1917 [inline] new_slab+0xc0/0x4b0 mm/slub.c:1980 ___slab_alloc+0x81e/0xdf0 mm/slub.c:3013 __slab_alloc mm/slub.c:3100 [inline] slab_alloc_node mm/slub.c:3191 [inline] slab_alloc mm/slub.c:3233 [inline] kmem_cache_alloc+0x195/0x290 mm/slub.c:3238 kmem_cache_zalloc include/linux/slab.h:728 [inline] __kernfs_new_node+0xd6/0x680 fs/kernfs/dir.c:593 kernfs_new_node+0x148/0x250 fs/kernfs/dir.c:669 kernfs_create_link+0xa3/0x200 fs/kernfs/symlink.c:39 sysfs_do_create_link_sd+0x83/0x110 fs/sysfs/symlink.c:44 device_create_sys_dev_entry+0x113/0x170 drivers/base/core.c:3237 device_add+0x986/0xfb0 drivers/base/core.c:3379 tty_register_device_attr+0x40a/0x920 drivers/tty/tty_io.c:3290 tty_register_device drivers/tty/tty_io.c:3224 [inline] tty_register_driver+0x596/0xb10 drivers/tty/tty_io.c:3482 legacy_pty_init+0x3a6/0x600 drivers/tty/pty.c:579 pty_init+0xa/0x20 drivers/tty/pty.c:943 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317 free_unref_page+0x94/0x280 mm/page_alloc.c:3396 __vunmap+0x8ab/0xa40 mm/vmalloc.c:2628 free_work+0x56/0x80 mm/vmalloc.c:95 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Memory state around the buggy address: ffff88801eedc080: 00 00 00 00 00 fc fc fc fc fc fc fc fc 00 00 00 ffff88801eedc100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88801eedc180: 00 00 fc fc fc fc fc fc fc fc 00 00 00 00 00 00 ^ ffff88801eedc200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fc ffff88801eedc280: fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 00 ==================================================================