Warning: Permanently added '10.128.1.242' (ED25519) to the list of known hosts. 2024/07/28 21:41:01 ignoring optional flag "sandboxArg"="0" 2024/07/28 21:41:01 parsed 1 programs [ 58.496330][ T1801] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k 2024/07/28 21:41:07 executed programs: 0 [ 69.465649][ T2781] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=2781 'syz.0.15' [ 69.478845][ T2781] loop0: detected capacity change from 0 to 1024 [ 69.498378][ T2781] EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: none. [ 69.526038][ T2781] loop0: detected capacity change from 1024 to 1023 [ 69.537355][ T2327] EXT4-fs error (device loop0): ext4_readdir:260: inode #2: block 16: comm syz-executor: path /0/bus: bad entry in directory: rec_len is smaller than minimal - offset=980, inode=0, rec_len=0, size=1024 fake=0 [ 69.558366][ T2327] ================================================================== [ 69.566496][ T2327] BUG: KASAN: slab-out-of-bounds in ext4_read_inline_dir+0x423/0xc30 [ 69.574546][ T2327] Read of size 68 at addr ffff888116cf051a by task syz-executor/2327 [ 69.582687][ T2327] [ 69.584984][ T2327] CPU: 0 PID: 2327 Comm: syz-executor Not tainted 6.5.0-rc2-syzkaller #0 [ 69.593362][ T2327] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 [ 69.603498][ T2327] Call Trace: [ 69.606757][ T2327] [ 69.609671][ T2327] dump_stack_lvl+0xf8/0x260 [ 69.614328][ T2327] ? __pfx_dump_stack_lvl+0x10/0x10 [ 69.619582][ T2327] ? __pfx__printk+0x10/0x10 [ 69.624134][ T2327] ? vprintk_emit+0x119/0x1f0 [ 69.628785][ T2327] ? _printk+0xce/0x120 [ 69.633012][ T2327] print_report+0x167/0x540 [ 69.637480][ T2327] ? ext4_read_inline_dir+0x423/0xc30 [ 69.642819][ T2327] kasan_report+0x175/0x1b0 [ 69.647374][ T2327] ? ext4_read_inline_dir+0x423/0xc30 [ 69.652712][ T2327] kasan_check_range+0x282/0x290 [ 69.657626][ T2327] ? ext4_read_inline_dir+0x423/0xc30 [ 69.662962][ T2327] __asan_memcpy+0x29/0x70 [ 69.667349][ T2327] ext4_read_inline_dir+0x423/0xc30 [ 69.672517][ T2327] ? __lock_acquire+0x5cc/0xc10 [ 69.677757][ T2327] ? __pfx_ext4_read_inline_dir+0x10/0x10 [ 69.683464][ T2327] ext4_readdir+0x22a/0x2e30 [ 69.688217][ T2327] ? __pfx_lock_acquire+0x10/0x10 [ 69.693397][ T2327] ? handle_mm_fault+0x2062/0x29f0 [ 69.698479][ T2327] ? __lock_acquire+0x5cc/0xc10 [ 69.703297][ T2327] ? __pfx_ext4_readdir+0x10/0x10 [ 69.708288][ T2327] ? __pfx_down_read_killable+0x10/0x10 [ 69.713802][ T2327] ? reacquire_held_locks+0x3a3/0x5b0 [ 69.719178][ T2327] ? __pfx_rcu_lock_acquire+0x10/0x10 [ 69.724520][ T2327] ? fsnotify_perm+0x2d1/0x4a0 [ 69.729250][ T2327] ? __pfx_reacquire_held_locks+0x10/0x10 [ 69.735049][ T2327] iterate_dir+0x1f0/0x500 [ 69.739520][ T2327] ? __pfx_ext4_readdir+0x10/0x10 [ 69.744511][ T2327] __se_sys_getdents64+0x1b3/0x3e0 [ 69.749594][ T2327] ? __pfx___se_sys_getdents64+0x10/0x10 [ 69.755190][ T2327] ? __pfx_filldir64+0x10/0x10 [ 69.759945][ T2327] do_syscall_64+0x46/0xa0 [ 69.764331][ T2327] entry_SYSCALL_64_after_hwframe+0x6f/0xd9 [ 69.770202][ T2327] RIP: 0033:0x7f02c2e39333 [ 69.774589][ T2327] Code: c1 66 0f 1f 44 00 00 48 83 c4 08 48 89 ef 5b 5d e9 02 45 f8 ff 66 90 b8 ff ff ff 7f 48 39 c2 48 0f 47 d0 b8 d9 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 05 c3 0f 1f 40 00 48 c7 c2 a8 ff ff ff f7 d8 [ 69.794269][ T2327] RSP: 002b:00007ffdd2eead58 EFLAGS: 00000293 ORIG_RAX: 00000000000000d9 [ 69.802670][ T2327] RAX: ffffffffffffffda RBX: 0000555555ffb520 RCX: 00007f02c2e39333 [ 69.810614][ T2327] RDX: 0000000000008000 RSI: 0000555555ffb520 RDI: 0000000000000006 [ 69.818557][ T2327] RBP: 0000555555ffb4f4 R08: 0000000000000000 R09: 0000000000000000 [ 69.826501][ T2327] R10: 0000000000001000 R11: 0000000000000293 R12: ffffffffffffffa8 [ 69.834615][ T2327] R13: 0000000000000016 R14: 0000555555ffb4f0 R15: 00007ffdd2eee0f0 [ 69.843088][ T2327] [ 69.846082][ T2327] [ 69.848463][ T2327] Allocated by task 2671: [ 69.852839][ T2327] kasan_set_track+0x4f/0x80 [ 69.857404][ T2327] __kasan_slab_alloc+0x66/0x80 [ 69.862315][ T2327] slab_post_alloc_hook+0x67/0x3d0 [ 69.867391][ T2327] kmem_cache_alloc_bulk+0x30f/0x3b0 [ 69.872642][ T2327] mas_alloc_nodes+0x359/0x680 [ 69.877372][ T2327] mas_preallocate+0xf2/0x2a0 [ 69.882011][ T2327] mmap_region+0xe76/0x1b80 [ 69.886480][ T2327] do_mmap+0x6c2/0xb80 [ 69.890512][ T2327] vm_mmap_pgoff+0x218/0x3a0 [ 69.895064][ T2327] ksys_mmap_pgoff+0x2d9/0x3c0 [ 69.899790][ T2327] do_syscall_64+0x46/0xa0 [ 69.904173][ T2327] entry_SYSCALL_64_after_hwframe+0x6f/0xd9 [ 69.910029][ T2327] [ 69.912321][ T2327] Freed by task 2671: [ 69.916264][ T2327] kasan_set_track+0x4f/0x80 [ 69.920818][ T2327] kasan_save_free_info+0x28/0x40 [ 69.925805][ T2327] ____kasan_slab_free+0x122/0x1f0 [ 69.930883][ T2327] kmem_cache_free_bulk+0x56c/0x7a0 [ 69.936050][ T2327] mas_destroy+0x27d4/0x2ee0 [ 69.940605][ T2327] mas_store_prealloc+0x2b5/0x6c0 [ 69.945592][ T2327] mmap_region+0xf0a/0x1b80 [ 69.950064][ T2327] do_mmap+0x6c2/0xb80 [ 69.954101][ T2327] vm_mmap_pgoff+0x218/0x3a0 [ 69.958653][ T2327] ksys_mmap_pgoff+0x2d9/0x3c0 [ 69.963380][ T2327] do_syscall_64+0x46/0xa0 [ 69.967765][ T2327] entry_SYSCALL_64_after_hwframe+0x6f/0xd9 [ 69.973623][ T2327] [ 69.975921][ T2327] Last potentially related work creation: [ 69.981609][ T2327] kasan_save_stack+0x3f/0x60 [ 69.986273][ T2327] __kasan_record_aux_stack+0xad/0xc0 [ 69.991609][ T2327] call_rcu+0x159/0x8e0 [ 69.995737][ T2327] mas_wmb_replace+0xef0/0x1420 [ 70.000568][ T2327] mas_commit_b_node+0x2124/0x3d70 [ 70.005642][ T2327] mas_wr_modify+0xe73/0x21f0 [ 70.010294][ T2327] mas_store_gfp+0x260/0x3d0 [ 70.014847][ T2327] do_brk_flags+0x88f/0xd30 [ 70.019319][ T2327] __se_sys_brk+0x75c/0xb90 [ 70.023883][ T2327] do_syscall_64+0x46/0xa0 [ 70.028277][ T2327] entry_SYSCALL_64_after_hwframe+0x6f/0xd9 [ 70.034223][ T2327] [ 70.036519][ T2327] Second to last potentially related work creation: [ 70.043163][ T2327] kasan_save_stack+0x3f/0x60 [ 70.047989][ T2327] __kasan_record_aux_stack+0xad/0xc0 [ 70.053354][ T2327] call_rcu+0x159/0x8e0 [ 70.057479][ T2327] mas_wr_modify+0x1943/0x21f0 [ 70.062210][ T2327] mas_store_prealloc+0x255/0x6c0 [ 70.067286][ T2327] mmap_region+0xf0a/0x1b80 [ 70.071758][ T2327] do_mmap+0x6c2/0xb80 [ 70.075799][ T2327] vm_mmap_pgoff+0x218/0x3a0 [ 70.080449][ T2327] ksys_mmap_pgoff+0x2d9/0x3c0 [ 70.085176][ T2327] do_syscall_64+0x46/0xa0 [ 70.089570][ T2327] entry_SYSCALL_64_after_hwframe+0x6f/0xd9 [ 70.095513][ T2327] [ 70.097894][ T2327] The buggy address belongs to the object at ffff888116cf0400 [ 70.097894][ T2327] which belongs to the cache maple_node of size 256 [ 70.112040][ T2327] The buggy address is located 26 bytes to the right of [ 70.112040][ T2327] allocated 256-byte region [ffff888116cf0400, ffff888116cf0500) [ 70.126670][ T2327] [ 70.128968][ T2327] The buggy address belongs to the physical page: [ 70.135614][ T2327] page:ffffea00045b3c00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x116cf0 [ 70.145843][ T2327] head:ffffea00045b3c00 order:1 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 70.154943][ T2327] flags: 0x200000000010200(slab|head|node=0|zone=2) [ 70.161525][ T2327] page_type: 0xffffffff() [ 70.165820][ T2327] raw: 0200000000010200 ffff888100653000 ffffea000440e480 dead000000000002 [ 70.174462][ T2327] raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000 [ 70.183021][ T2327] page dumped because: kasan: bad access detected [ 70.189412][ T2327] page_owner tracks the page as allocated [ 70.195268][ T2327] page last allocated via order 1, migratetype Unmovable, gfp_mask 0x1d20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL), pid 871, tgid 871 (modprobe), ts 28889945520, free_ts 28847028123 [ 70.217634][ T2327] post_alloc_hook+0x10f/0x130 [ 70.222568][ T2327] get_page_from_freelist+0x332d/0x35a0 [ 70.228090][ T2327] __alloc_pages+0x255/0x650 [ 70.232649][ T2327] alloc_slab_page+0x6a/0x170 [ 70.237294][ T2327] new_slab+0x70/0x270 [ 70.241504][ T2327] ___slab_alloc+0x834/0xd60 [ 70.246092][ T2327] kmem_cache_alloc_bulk+0x15b/0x3b0 [ 70.251377][ T2327] mas_alloc_nodes+0x359/0x680 [ 70.256106][ T2327] mas_preallocate+0xf2/0x2a0 [ 70.261024][ T2327] mmap_region+0xe76/0x1b80 [ 70.265602][ T2327] do_mmap+0x6c2/0xb80 [ 70.269694][ T2327] vm_mmap_pgoff+0x218/0x3a0 [ 70.274270][ T2327] do_syscall_64+0x46/0xa0 [ 70.278757][ T2327] entry_SYSCALL_64_after_hwframe+0x6f/0xd9 [ 70.284812][ T2327] page last free stack trace: [ 70.289541][ T2327] free_unref_page_prepare+0x807/0x930 [ 70.294997][ T2327] free_unref_page+0x34/0x220 [ 70.299668][ T2327] __unfreeze_partials+0x1b1/0x200 [ 70.304784][ T2327] put_cpu_partial+0xdc/0x120 [ 70.309459][ T2327] __slab_free+0x26f/0x330 [ 70.313884][ T2327] qlist_free_all+0x22/0x70 [ 70.318536][ T2327] kasan_quarantine_reduce+0x15b/0x180 [ 70.324143][ T2327] __kasan_slab_alloc+0x23/0x80 [ 70.328962][ T2327] slab_post_alloc_hook+0x67/0x3d0 [ 70.334063][ T2327] kmem_cache_alloc+0x11f/0x2a0 [ 70.338900][ T2327] ptlock_alloc+0x1b/0x60 [ 70.343298][ T2327] pte_alloc_one+0xb7/0x2e0 [ 70.347861][ T2327] handle_mm_fault+0xc2b/0x29f0 [ 70.352701][ T2327] exc_page_fault+0x264/0x760 [ 70.357359][ T2327] asm_exc_page_fault+0x26/0x30 [ 70.362197][ T2327] [ 70.364509][ T2327] Memory state around the buggy address: [ 70.370132][ T2327] ffff888116cf0400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 70.378205][ T2327] ffff888116cf0480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 70.386242][ T2327] >ffff888116cf0500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 70.394374][ T2327] ^ [ 70.399202][ T2327] ffff888116cf0580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 70.407297][ T2327] ffff888116cf0600: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 70.415328][ T2327] ================================================================== [ 70.423667][ T2327] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 70.431365][ T2327] Kernel Offset: disabled [ 70.435705][ T2327] Rebooting in 86400 seconds..