DUID 00:04:e3:38:52:80:67:3f:e9:c9:a2:47:22:a3:59:23:7d:1e forked to background, child pid 4644 [ 30.779842][ T4645] 8021q: adding VLAN 0 to HW filter on device bond0 [ 30.789350][ T4645] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.15.206' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 49.859205][ T5060] loop0: detected capacity change from 0 to 8192 [ 49.869055][ T5060] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found [ 49.876604][ T5060] UDF-fs: Scanning with blocksize 512 failed [ 49.883529][ T5060] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found [ 49.890974][ T5060] UDF-fs: Scanning with blocksize 1024 failed [ 49.897586][ T5060] UDF-fs: warning (device loop0): udf_load_vrs: No VRS found [ 49.905069][ T5060] UDF-fs: Scanning with blocksize 2048 failed [ 49.915278][ T5060] UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) [ 49.935451][ T5060] ================================================================== [ 49.943552][ T5060] BUG: KASAN: use-after-free in udf_write_aext+0x62d/0x7e0 [ 49.950787][ T5060] Write of size 4 at addr ffff888029f77ff0 by task syz-executor398/5060 [ 49.959118][ T5060] [ 49.961439][ T5060] CPU: 0 PID: 5060 Comm: syz-executor398 Not tainted 6.2.0-rc1-syzkaller-00084-gc8451c141e07 #0 [ 49.971829][ T5060] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 49.981862][ T5060] Call Trace: [ 49.985122][ T5060] [ 49.988034][ T5060] dump_stack_lvl+0x1b1/0x290 [ 49.992699][ T5060] ? nf_tcp_handle_invalid+0x630/0x630 [ 49.998150][ T5060] ? __wake_up_klogd+0xcd/0x100 [ 50.003022][ T5060] ? panic+0x710/0x710 [ 50.007084][ T5060] ? _printk+0xc0/0x100 [ 50.011234][ T5060] print_address_description+0x74/0x340 [ 50.016778][ T5060] print_report+0x107/0x1f0 [ 50.021274][ T5060] ? _raw_spin_lock+0x40/0x40 [ 50.025946][ T5060] ? udf_current_aext+0x5d0/0xa80 [ 50.030962][ T5060] ? __virt_addr_valid+0x21b/0x2d0 [ 50.036077][ T5060] ? __phys_addr+0xb5/0x160 [ 50.040572][ T5060] ? udf_write_aext+0x62d/0x7e0 [ 50.045416][ T5060] kasan_report+0xcd/0x100 [ 50.049832][ T5060] ? udf_write_aext+0x62d/0x7e0 [ 50.054679][ T5060] udf_write_aext+0x62d/0x7e0 [ 50.059353][ T5060] udf_add_entry+0x1712/0x3300 [ 50.064112][ T5060] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 50.070091][ T5060] ? __mark_inode_dirty+0x593/0x600 [ 50.075287][ T5060] ? udf_add_nondir+0x580/0x580 [ 50.080128][ T5060] ? udf_new_inode+0xb04/0xf30 [ 50.084887][ T5060] ? d_alloc+0x193/0x1d0 [ 50.089126][ T5060] udf_mkdir+0x13c/0x980 [ 50.093367][ T5060] ? udf_symlink+0x1680/0x1680 [ 50.098128][ T5060] ? from_kgid+0x193/0x6b0 [ 50.102543][ T5060] ? make_kgid+0x710/0x710 [ 50.106953][ T5060] ? __lookup_hash+0x123/0x240 [ 50.111712][ T5060] ? apparmor_path_mkdir+0x461/0x520 [ 50.116989][ T5060] ? generic_permission+0x229/0x500 [ 50.122187][ T5060] ? inode_permission+0xf5/0x450 [ 50.127117][ T5060] ? bpf_lsm_inode_mkdir+0x5/0x10 [ 50.132138][ T5060] ? security_inode_mkdir+0xdd/0x120 [ 50.137419][ T5060] vfs_mkdir+0x3b3/0x590 [ 50.141664][ T5060] do_mkdirat+0x25b/0x530 [ 50.145987][ T5060] ? __check_object_size+0x15a/0x210 [ 50.151273][ T5060] ? vfs_mkdir+0x590/0x590 [ 50.155728][ T5060] ? getname_flags+0x1ea/0x4e0 [ 50.160487][ T5060] __x64_sys_mkdirat+0x85/0x90 [ 50.165250][ T5060] do_syscall_64+0x3d/0xb0 [ 50.169661][ T5060] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 50.175633][ T5060] RIP: 0033:0x7ffa1c1efae9 [ 50.180040][ T5060] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 [ 50.199635][ T5060] RSP: 002b:00007ffd8a408de8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 [ 50.208041][ T5060] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ffa1c1efae9 [ 50.216005][ T5060] RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000004 [ 50.223961][ T5060] RBP: 00007ffa1c1af0f0 R08: 0000000000000000 R09: 0000000000000000 [ 50.231922][ T5060] R10: 000000000000189e R11: 0000000000000246 R12: 00007ffa1c1af180 [ 50.239884][ T5060] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 50.247855][ T5060] [ 50.250864][ T5060] [ 50.253175][ T5060] The buggy address belongs to the physical page: [ 50.259570][ T5060] page:ffffea0000a7ddc0 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x29f77 [ 50.269706][ T5060] flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) [ 50.276809][ T5060] raw: 00fff00000000000 0000000000000000 ffffea0000a7ddc8 0000000000000000 [ 50.285378][ T5060] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 50.293944][ T5060] page dumped because: kasan: bad access detected [ 50.300338][ T5060] page_owner tracks the page as freed [ 50.305686][ T5060] page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 4435, tgid 4435 (udevd), ts 27767344460, free_ts 32345340369 [ 50.326421][ T5060] get_page_from_freelist+0x742/0x7c0 [ 50.331792][ T5060] __alloc_pages+0x259/0x560 [ 50.336378][ T5060] alloc_slab_page+0xbd/0x190 [ 50.341044][ T5060] allocate_slab+0x5e/0x3c0 [ 50.345536][ T5060] ___slab_alloc+0x782/0xe20 [ 50.350116][ T5060] __kmem_cache_alloc_node+0x25b/0x340 [ 50.355565][ T5060] kmalloc_trace+0x26/0x60 [ 50.359976][ T5060] uevent_show+0x163/0x310 [ 50.364379][ T5060] dev_attr_show+0x50/0xc0 [ 50.368787][ T5060] sysfs_kf_seq_show+0x324/0x4a0 [ 50.373713][ T5060] seq_read_iter+0x43a/0xd30 [ 50.378294][ T5060] vfs_read+0x7ac/0xbf0 [ 50.382439][ T5060] ksys_read+0x177/0x2a0 [ 50.386669][ T5060] do_syscall_64+0x3d/0xb0 [ 50.391076][ T5060] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 50.396958][ T5060] page last free stack trace: [ 50.401617][ T5060] free_pcp_prepare+0x751/0x780 [ 50.406462][ T5060] free_unref_page+0x19/0x4c0 [ 50.411133][ T5060] __unfreeze_partials+0x1a5/0x1e0 [ 50.416235][ T5060] put_cpu_partial+0x106/0x170 [ 50.420994][ T5060] qlist_free_all+0x2b/0x70 [ 50.425485][ T5060] kasan_quarantine_reduce+0x156/0x170 [ 50.430934][ T5060] __kasan_slab_alloc+0x1f/0x70 [ 50.435781][ T5060] kmem_cache_alloc+0x1b3/0x350 [ 50.440628][ T5060] vm_area_dup+0x23/0x1b0 [ 50.444944][ T5060] __split_vma+0xcc/0x530 [ 50.449267][ T5060] do_mas_align_munmap+0x876/0x14e0 [ 50.454452][ T5060] do_mas_munmap+0x245/0x2b0 [ 50.459029][ T5060] mmap_region+0x7b0/0x1e20 [ 50.463521][ T5060] do_mmap+0x8d9/0xf30 [ 50.467596][ T5060] vm_mmap_pgoff+0x19e/0x2b0 [ 50.472208][ T5060] ksys_mmap_pgoff+0x48c/0x6d0 [ 50.476977][ T5060] [ 50.479287][ T5060] Memory state around the buggy address: [ 50.484902][ T5060] ffff888029f77e80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 50.492972][ T5060] ffff888029f77f00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 50.501029][ T5060] >ffff888029f77f80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 50.509079][ T5060] ^ [ 50.516778][ T5060] ffff888029f78000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 50.524826][ T5060] ffff888029f78080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 50.532869][ T5060] ================================================================== [ 50.550999][ T5060] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 50.558216][ T5060] CPU: 0 PID: 5060 Comm: syz-executor398 Not tainted 6.2.0-rc1-syzkaller-00084-gc8451c141e07 #0 [ 50.568610][ T5060] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 50.578653][ T5060] Call Trace: [ 50.581915][ T5060] [ 50.584828][ T5060] dump_stack_lvl+0x1b1/0x290 [ 50.589497][ T5060] ? nf_tcp_handle_invalid+0x630/0x630 [ 50.594937][ T5060] ? panic+0x710/0x710 [ 50.599003][ T5060] ? lock_release+0x81/0x820 [ 50.603604][ T5060] ? vscnprintf+0x59/0x80 [ 50.607936][ T5060] panic+0x2d6/0x710 [ 50.611820][ T5060] ? check_panic_on_warn+0x1d/0xa0 [ 50.616914][ T5060] ? memcpy_page_flushcache+0x100/0x100 [ 50.622445][ T5060] ? _raw_spin_unlock_irqrestore+0x110/0x120 [ 50.628412][ T5060] ? _raw_spin_unlock+0x40/0x40 [ 50.633245][ T5060] ? print_report+0x1b4/0x1f0 [ 50.637946][ T5060] check_panic_on_warn+0x80/0xa0 [ 50.642888][ T5060] ? udf_write_aext+0x62d/0x7e0 [ 50.647719][ T5060] end_report+0x47/0x90 [ 50.651863][ T5060] kasan_report+0xda/0x100 [ 50.656291][ T5060] ? udf_write_aext+0x62d/0x7e0 [ 50.661140][ T5060] udf_write_aext+0x62d/0x7e0 [ 50.665801][ T5060] udf_add_entry+0x1712/0x3300 [ 50.670550][ T5060] ? __bpf_trace_rcu_stall_warning+0x10/0x10 [ 50.676516][ T5060] ? __mark_inode_dirty+0x593/0x600 [ 50.681697][ T5060] ? udf_add_nondir+0x580/0x580 [ 50.686624][ T5060] ? udf_new_inode+0xb04/0xf30 [ 50.691371][ T5060] ? d_alloc+0x193/0x1d0 [ 50.695606][ T5060] udf_mkdir+0x13c/0x980 [ 50.699833][ T5060] ? udf_symlink+0x1680/0x1680 [ 50.704581][ T5060] ? from_kgid+0x193/0x6b0 [ 50.708980][ T5060] ? make_kgid+0x710/0x710 [ 50.713380][ T5060] ? __lookup_hash+0x123/0x240 [ 50.718129][ T5060] ? apparmor_path_mkdir+0x461/0x520 [ 50.723393][ T5060] ? generic_permission+0x229/0x500 [ 50.728575][ T5060] ? inode_permission+0xf5/0x450 [ 50.733492][ T5060] ? bpf_lsm_inode_mkdir+0x5/0x10 [ 50.738498][ T5060] ? security_inode_mkdir+0xdd/0x120 [ 50.743774][ T5060] vfs_mkdir+0x3b3/0x590 [ 50.748012][ T5060] do_mkdirat+0x25b/0x530 [ 50.752587][ T5060] ? __check_object_size+0x15a/0x210 [ 50.757859][ T5060] ? vfs_mkdir+0x590/0x590 [ 50.762259][ T5060] ? getname_flags+0x1ea/0x4e0 [ 50.767014][ T5060] __x64_sys_mkdirat+0x85/0x90 [ 50.771761][ T5060] do_syscall_64+0x3d/0xb0 [ 50.776161][ T5060] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 50.782039][ T5060] RIP: 0033:0x7ffa1c1efae9 [ 50.786436][ T5060] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 [ 50.806037][ T5060] RSP: 002b:00007ffd8a408de8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 [ 50.814456][ T5060] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007ffa1c1efae9 [ 50.822425][ T5060] RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000004 [ 50.830386][ T5060] RBP: 00007ffa1c1af0f0 R08: 0000000000000000 R09: 0000000000000000 [ 50.838341][ T5060] R10: 000000000000189e R11: 0000000000000246 R12: 00007ffa1c1af180 [ 50.846311][ T5060] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 50.854358][ T5060] [ 50.857428][ T5060] Kernel Offset: disabled [ 50.861746][ T5060] Rebooting in 86400 seconds..