DUID 00:04:19:c0:d1:0e:d7:c0:27:6c:e7:df:2b:fb:70:54:6d:6b forked to background, child pid 3213 [ 35.804065][ T3214] 8021q: adding VLAN 0 to HW filter on device bond0 [ 35.819693][ T3214] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.238' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 64.550035][ T3547] loop0: detected capacity change from 0 to 2048 [ 64.561267][ T3547] UDF-fs: error (device loop0): udf_process_sequence: Primary Volume Descriptor not found! [ 64.574430][ T3547] UDF-fs: INFO Mounting volume 'LinuxUDF', timestamp 2022/11/22 14:59 (1000) [ 64.587119][ T3547] ================================================================== [ 64.595245][ T3547] BUG: KASAN: slab-out-of-bounds in udf_write_aext+0x6a7/0x7a0 [ 64.602852][ T3547] Write of size 4 at addr ffff888013b2d3f8 by task syz-executor683/3547 [ 64.611208][ T3547] [ 64.613556][ T3547] CPU: 1 PID: 3547 Comm: syz-executor683 Not tainted 6.1.27-syzkaller #0 [ 64.621988][ T3547] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 64.632061][ T3547] Call Trace: [ 64.635342][ T3547] [ 64.638270][ T3547] dump_stack_lvl+0x1e3/0x2cb [ 64.642961][ T3547] ? irq_work_queue+0xcd/0x150 [ 64.647764][ T3547] ? nf_tcp_handle_invalid+0x642/0x642 [ 64.653237][ T3547] ? panic+0x75d/0x75d [ 64.657318][ T3547] ? _printk+0xd1/0x111 [ 64.661480][ T3547] ? _raw_spin_lock_irqsave+0xac/0x120 [ 64.666952][ T3547] print_report+0x15f/0x4f0 [ 64.671475][ T3547] ? __virt_addr_valid+0x22b/0x2e0 [ 64.676600][ T3547] ? __phys_addr+0xb6/0x170 [ 64.681113][ T3547] ? udf_write_aext+0x6a7/0x7a0 [ 64.685972][ T3547] kasan_report+0x136/0x160 [ 64.690489][ T3547] ? udf_write_aext+0x6a7/0x7a0 [ 64.695351][ T3547] udf_write_aext+0x6a7/0x7a0 [ 64.700034][ T3547] udf_add_entry+0x17b7/0x3350 [ 64.704816][ T3547] ? rcu_is_watching+0x11/0xb0 [ 64.709614][ T3547] ? udf_add_nondir+0x5d0/0x5d0 [ 64.714468][ T3547] ? udf_new_inode+0xaf9/0xf10 [ 64.719248][ T3547] ? aa_get_newest_label+0xf9/0x6c0 [ 64.724473][ T3547] ? lockdep_softirqs_off+0x420/0x420 [ 64.729850][ T3547] udf_mkdir+0x1a8/0xaa0 [ 64.734107][ T3547] ? make_kgid+0x6f0/0x6f0 [ 64.738526][ T3547] ? apparmor_capable+0x12e/0x190 [ 64.743565][ T3547] ? bpf_lsm_capable+0x5/0x10 [ 64.748255][ T3547] ? udf_symlink+0x1690/0x1690 [ 64.753034][ T3547] ? privileged_wrt_inode_uidgid+0x210/0x260 [ 64.759027][ T3547] ? inode_permission+0xf7/0x450 [ 64.763971][ T3547] ? bpf_lsm_inode_mkdir+0x5/0x10 [ 64.769010][ T3547] ? security_inode_mkdir+0xb4/0x100 [ 64.774306][ T3547] vfs_mkdir+0x3b6/0x590 [ 64.778557][ T3547] do_mkdirat+0x260/0x520 [ 64.782892][ T3547] ? vfs_mkdir+0x590/0x590 [ 64.787318][ T3547] ? getname_flags+0x1ec/0x4e0 [ 64.792101][ T3547] ? lockdep_hardirqs_on+0x94/0x130 [ 64.797309][ T3547] __x64_sys_mkdir+0x6a/0x80 [ 64.801905][ T3547] do_syscall_64+0x3d/0xb0 [ 64.806325][ T3547] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 64.812233][ T3547] RIP: 0033:0x7fbaffaddbd9 [ 64.816653][ T3547] 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 [ 64.836263][ T3547] RSP: 002b:00007ffc4e3d0968 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 [ 64.844686][ T3547] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbaffaddbd9 [ 64.852657][ T3547] RDX: 00007fbaffa9bfc3 RSI: 0000000000000000 RDI: 0000000020000200 [ 64.860631][ T3547] RBP: 00007fbaffa9d1e0 R08: 0000000000000c07 R09: 0000000000000000 [ 64.868616][ T3547] R10: 00007ffc4e3d0830 R11: 0000000000000246 R12: 00007fbaffa9d270 [ 64.876590][ T3547] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 64.884568][ T3547] [ 64.887588][ T3547] [ 64.889925][ T3547] Allocated by task 3220: [ 64.894250][ T3547] kasan_set_track+0x4b/0x70 [ 64.898867][ T3547] __kasan_kmalloc+0x97/0xb0 [ 64.903481][ T3547] tomoyo_find_next_domain+0x118/0x1cd0 [ 64.909046][ T3547] tomoyo_bprm_check_security+0xdb/0x120 [ 64.914689][ T3547] security_bprm_check+0x5f/0xa0 [ 64.919625][ T3547] bprm_execve+0x850/0x1820 [ 64.924126][ T3547] do_execveat_common+0x580/0x720 [ 64.929150][ T3547] __x64_sys_execve+0x8e/0xa0 [ 64.933825][ T3547] do_syscall_64+0x3d/0xb0 [ 64.938251][ T3547] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 64.944173][ T3547] [ 64.946493][ T3547] The buggy address belongs to the object at ffff888013b2d000 [ 64.946493][ T3547] which belongs to the cache kmalloc-512 of size 512 [ 64.960642][ T3547] The buggy address is located 504 bytes to the right of [ 64.960642][ T3547] 512-byte region [ffff888013b2d000, ffff888013b2d200) [ 64.974452][ T3547] [ 64.976777][ T3547] The buggy address belongs to the physical page: [ 64.983183][ T3547] page:ffffea00004ecb00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x13b2c [ 64.993330][ T3547] head:ffffea00004ecb00 order:2 compound_mapcount:0 compound_pincount:0 [ 65.001654][ T3547] flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) [ 65.009640][ T3547] raw: 00fff00000010200 dead000000000100 dead000000000122 ffff888012441c80 [ 65.018230][ T3547] raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 [ 65.026812][ T3547] page dumped because: kasan: bad access detected [ 65.033217][ T3547] page_owner tracks the page as allocated [ 65.038923][ T3547] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 3600789227, free_ts 0 [ 65.058547][ T3547] post_alloc_hook+0x18d/0x1b0 [ 65.063325][ T3547] get_page_from_freelist+0x32ed/0x3480 [ 65.068868][ T3547] __alloc_pages+0x28d/0x770 [ 65.073451][ T3547] alloc_page_interleave+0x22/0x1c0 [ 65.078654][ T3547] alloc_slab_page+0x6a/0x150 [ 65.083378][ T3547] new_slab+0x84/0x2d0 [ 65.087451][ T3547] ___slab_alloc+0xa71/0x1080 [ 65.092131][ T3547] __kmem_cache_alloc_node+0x19f/0x260 [ 65.097603][ T3547] kmalloc_trace+0x26/0xe0 [ 65.102018][ T3547] crypto_larval_alloc+0x53/0x1c0 [ 65.107049][ T3547] __crypto_register_alg+0x28c/0x660 [ 65.112348][ T3547] crypto_register_alg+0x230/0x3c0 [ 65.117462][ T3547] simd_skcipher_create_compat+0x45e/0x6e0 [ 65.123271][ T3547] simd_register_skciphers_compat+0x114/0x260 [ 65.129341][ T3547] sm4_init+0x19b/0x231 [ 65.133513][ T3547] do_one_initcall+0x265/0x8f0 [ 65.138284][ T3547] page_owner free stack trace missing [ 65.143657][ T3547] [ 65.145992][ T3547] Memory state around the buggy address: [ 65.151615][ T3547] ffff888013b2d280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 65.159671][ T3547] ffff888013b2d300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 65.167739][ T3547] >ffff888013b2d380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 65.175797][ T3547] ^ [ 65.183768][ T3547] ffff888013b2d400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 65.191827][ T3547] ffff888013b2d480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 65.199882][ T3547] ================================================================== [ 65.208089][ T3547] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 65.215316][ T3547] CPU: 0 PID: 3547 Comm: syz-executor683 Not tainted 6.1.27-syzkaller #0 [ 65.223747][ T3547] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 65.233820][ T3547] Call Trace: [ 65.237102][ T3547] [ 65.240066][ T3547] dump_stack_lvl+0x1e3/0x2cb [ 65.244755][ T3547] ? nf_tcp_handle_invalid+0x642/0x642 [ 65.250217][ T3547] ? panic+0x75d/0x75d [ 65.254285][ T3547] ? preempt_schedule_common+0xa6/0xd0 [ 65.259757][ T3547] ? vscnprintf+0x59/0x80 [ 65.264090][ T3547] panic+0x318/0x75d [ 65.268004][ T3547] ? check_panic_on_warn+0x1d/0xa0 [ 65.273120][ T3547] ? memcpy_page_flushcache+0xfc/0xfc [ 65.278498][ T3547] ? _raw_spin_unlock_irqrestore+0x128/0x130 [ 65.284485][ T3547] ? _raw_spin_unlock+0x40/0x40 [ 65.289340][ T3547] ? print_report+0x4a3/0x4f0 [ 65.294043][ T3547] check_panic_on_warn+0x7e/0xa0 [ 65.298996][ T3547] ? udf_write_aext+0x6a7/0x7a0 [ 65.303859][ T3547] end_report+0x66/0x110 [ 65.308118][ T3547] kasan_report+0x143/0x160 [ 65.312644][ T3547] ? udf_write_aext+0x6a7/0x7a0 [ 65.317508][ T3547] udf_write_aext+0x6a7/0x7a0 [ 65.322211][ T3547] udf_add_entry+0x17b7/0x3350 [ 65.326991][ T3547] ? rcu_is_watching+0x11/0xb0 [ 65.331760][ T3547] ? udf_add_nondir+0x5d0/0x5d0 [ 65.336625][ T3547] ? udf_new_inode+0xaf9/0xf10 [ 65.341401][ T3547] ? aa_get_newest_label+0xf9/0x6c0 [ 65.346610][ T3547] ? lockdep_softirqs_off+0x420/0x420 [ 65.351989][ T3547] udf_mkdir+0x1a8/0xaa0 [ 65.356245][ T3547] ? make_kgid+0x6f0/0x6f0 [ 65.360665][ T3547] ? apparmor_capable+0x12e/0x190 [ 65.365697][ T3547] ? bpf_lsm_capable+0x5/0x10 [ 65.370477][ T3547] ? udf_symlink+0x1690/0x1690 [ 65.375258][ T3547] ? privileged_wrt_inode_uidgid+0x210/0x260 [ 65.381251][ T3547] ? inode_permission+0xf7/0x450 [ 65.386190][ T3547] ? bpf_lsm_inode_mkdir+0x5/0x10 [ 65.391222][ T3547] ? security_inode_mkdir+0xb4/0x100 [ 65.396510][ T3547] vfs_mkdir+0x3b6/0x590 [ 65.400781][ T3547] do_mkdirat+0x260/0x520 [ 65.405136][ T3547] ? vfs_mkdir+0x590/0x590 [ 65.409667][ T3547] ? getname_flags+0x1ec/0x4e0 [ 65.414437][ T3547] ? lockdep_hardirqs_on+0x94/0x130 [ 65.419641][ T3547] __x64_sys_mkdir+0x6a/0x80 [ 65.424265][ T3547] do_syscall_64+0x3d/0xb0 [ 65.428707][ T3547] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 65.434621][ T3547] RIP: 0033:0x7fbaffaddbd9 [ 65.439058][ T3547] 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 [ 65.458670][ T3547] RSP: 002b:00007ffc4e3d0968 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 [ 65.467088][ T3547] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbaffaddbd9 [ 65.475074][ T3547] RDX: 00007fbaffa9bfc3 RSI: 0000000000000000 RDI: 0000000020000200 [ 65.483044][ T3547] RBP: 00007fbaffa9d1e0 R08: 0000000000000c07 R09: 0000000000000000 [ 65.491017][ T3547] R10: 00007ffc4e3d0830 R11: 0000000000000246 R12: 00007fbaffa9d270 [ 65.499006][ T3547] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 65.507005][ T3547] [ 65.510303][ T3547] Kernel Offset: disabled [ 65.514639][ T3547] Rebooting in 86400 seconds..