DUID 00:04:c2:14:a9:3f:3d:94:29:63:70:45:79:7c:3d:d2:41:a3 forked to background, child pid 3182 [ 30.458035][ T3183] 8021q: adding VLAN 0 to HW filter on device bond0 [ 30.476493][ T3183] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.68' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 50.947959][ T3604] ================================================================== [ 50.956127][ T3604] BUG: KASAN: slab-out-of-bounds in decrypt_internal+0x1471/0x1d90 [ 50.964029][ T3604] Read of size 16 at addr ffff88801d9d45a0 by task syz-executor266/3604 [ 50.972356][ T3604] [ 50.974671][ T3604] CPU: 0 PID: 3604 Comm: syz-executor266 Not tainted 5.16.0-rc8-syzkaller #0 [ 50.983417][ T3604] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 50.993458][ T3604] Call Trace: [ 50.996725][ T3604] [ 50.999642][ T3604] dump_stack_lvl+0xcd/0x134 [ 51.004224][ T3604] print_address_description.constprop.0.cold+0x8d/0x320 [ 51.011246][ T3604] ? decrypt_internal+0x1471/0x1d90 [ 51.016443][ T3604] ? decrypt_internal+0x1471/0x1d90 [ 51.021623][ T3604] kasan_report.cold+0x83/0xdf [ 51.026383][ T3604] ? decrypt_internal+0x1471/0x1d90 [ 51.031568][ T3604] kasan_check_range+0x13d/0x180 [ 51.036499][ T3604] memcpy+0x20/0x60 [ 51.040291][ T3604] decrypt_internal+0x1471/0x1d90 [ 51.045312][ T3604] ? tls_get_rec+0x5a0/0x5a0 [ 51.049888][ T3604] ? padding_length.part.0+0x270/0x270 [ 51.055338][ T3604] decrypt_skb_update+0x141/0xbc0 [ 51.060365][ T3604] tls_sw_recvmsg+0x5f2/0x1570 [ 51.065138][ T3604] ? decrypt_skb+0xc0/0xc0 [ 51.069553][ T3604] ? aa_sk_perm+0x30f/0xaa0 [ 51.074058][ T3604] inet6_recvmsg+0x11b/0x5e0 [ 51.078635][ T3604] ? lock_downgrade+0x6e0/0x6e0 [ 51.083474][ T3604] ? inet6_sk_rebuild_header+0xd00/0xd00 [ 51.089097][ T3604] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 51.095330][ T3604] ? security_socket_recvmsg+0x8f/0xc0 [ 51.100777][ T3604] ? inet6_sk_rebuild_header+0xd00/0xd00 [ 51.106399][ T3604] ____sys_recvmsg+0x2c4/0x600 [ 51.111157][ T3604] ? kernel_recvmsg+0x160/0x160 [ 51.115995][ T3604] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 51.122222][ T3604] ? __import_iovec+0x293/0x590 [ 51.127068][ T3604] ? import_iovec+0x10c/0x150 [ 51.131733][ T3604] ___sys_recvmsg+0x127/0x200 [ 51.136399][ T3604] ? __copy_msghdr_from_user+0x4b0/0x4b0 [ 51.142016][ T3604] ? mark_lock+0xef/0x17b0 [ 51.146417][ T3604] ? slab_free_freelist_hook+0x8b/0x1c0 [ 51.151950][ T3604] ? lock_chain_count+0x20/0x20 [ 51.156789][ T3604] ? tcp_sendmsg+0x36/0x40 [ 51.161210][ T3604] ? ___sys_sendmsg+0x105/0x170 [ 51.166048][ T3604] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 51.172287][ T3604] ? __fget_light+0x215/0x280 [ 51.176959][ T3604] ? __sanitizer_cov_trace_const_cmp8+0x1d/0x70 [ 51.183191][ T3604] do_recvmmsg+0x24d/0x6d0 [ 51.187598][ T3604] ? ___sys_recvmsg+0x200/0x200 [ 51.192434][ T3604] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 51.198402][ T3604] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 51.204368][ T3604] ? kfree+0x1e1/0x560 [ 51.208429][ T3604] ? __context_tracking_exit+0xb8/0xe0 [ 51.213873][ T3604] ? lock_downgrade+0x6e0/0x6e0 [ 51.218706][ T3604] ? lock_downgrade+0x6e0/0x6e0 [ 51.223544][ T3604] __x64_sys_recvmmsg+0x20b/0x260 [ 51.228574][ T3604] ? __do_sys_socketcall+0x590/0x590 [ 51.233853][ T3604] ? syscall_enter_from_user_mode+0x21/0x70 [ 51.239735][ T3604] do_syscall_64+0x35/0xb0 [ 51.244138][ T3604] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 51.250018][ T3604] RIP: 0033:0x7f748b4473f9 [ 51.254424][ T3604] Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 00 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 [ 51.274153][ T3604] RSP: 002b:00007ffdb02af988 EFLAGS: 00000246 ORIG_RAX: 000000000000012b [ 51.282558][ T3604] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f748b4473f9 [ 51.290515][ T3604] RDX: 0000000000000001 RSI: 0000000020002900 RDI: 0000000000000003 [ 51.298472][ T3604] RBP: 00007f748b40b3e0 R08: 0000000000000000 R09: 0000000000000000 [ 51.306428][ T3604] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f748b40b470 [ 51.314390][ T3604] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 51.322371][ T3604] [ 51.325372][ T3604] [ 51.327682][ T3604] Allocated by task 3604: [ 51.331999][ T3604] kasan_save_stack+0x1e/0x50 [ 51.336676][ T3604] __kasan_kmalloc+0xa9/0xd0 [ 51.341262][ T3604] tls_set_sw_offload+0x800/0x1430 [ 51.346367][ T3604] tls_setsockopt+0xb39/0xe70 [ 51.351031][ T3604] __sys_setsockopt+0x2db/0x610 [ 51.355866][ T3604] __x64_sys_setsockopt+0xba/0x150 [ 51.360961][ T3604] do_syscall_64+0x35/0xb0 [ 51.365363][ T3604] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 51.371240][ T3604] [ 51.373550][ T3604] The buggy address belongs to the object at ffff88801d9d45a0 [ 51.373550][ T3604] which belongs to the cache kmalloc-16 of size 16 [ 51.387408][ T3604] The buggy address is located 0 bytes inside of [ 51.387408][ T3604] 16-byte region [ffff88801d9d45a0, ffff88801d9d45b0) [ 51.400402][ T3604] The buggy address belongs to the page: [ 51.406013][ T3604] page:ffffea0000767500 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1d9d4 [ 51.416142][ T3604] flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) [ 51.423674][ T3604] raw: 00fff00000000200 ffffea00007701c0 dead000000000002 ffff888010c413c0 [ 51.432270][ T3604] raw: 0000000000000000 0000000080800080 00000001ffffffff 0000000000000000 [ 51.440848][ T3604] page dumped because: kasan: bad access detected [ 51.447244][ T3604] page_owner tracks the page as allocated [ 51.452934][ T3604] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 1, ts 9239710460, free_ts 8977250833 [ 51.468539][ T3604] get_page_from_freelist+0xa72/0x2f50 [ 51.473989][ T3604] __alloc_pages+0x1b2/0x500 [ 51.478562][ T3604] alloc_page_interleave+0x1e/0x200 [ 51.483746][ T3604] alloc_pages+0x29f/0x300 [ 51.488144][ T3604] new_slab+0x32d/0x4a0 [ 51.492284][ T3604] ___slab_alloc+0x918/0xfe0 [ 51.496874][ T3604] __slab_alloc.constprop.0+0x4d/0xa0 [ 51.502228][ T3604] __kmalloc_track_caller+0x2e7/0x320 [ 51.507629][ T3604] kvasprintf+0xb5/0x150 [ 51.511856][ T3604] kvasprintf_const+0x60/0x190 [ 51.516604][ T3604] kobject_set_name_vargs+0x56/0x150 [ 51.521873][ T3604] device_create_groups_vargs+0x1c0/0x280 [ 51.527576][ T3604] device_create+0xdf/0x120 [ 51.532064][ T3604] mon_bin_add+0xb7/0x160 [ 51.536377][ T3604] mon_bus_init+0x18e/0x320 [ 51.540871][ T3604] mon_notify+0x32c/0x490 [ 51.545183][ T3604] page last free stack trace: [ 51.549831][ T3604] free_pcp_prepare+0x374/0x870 [ 51.554668][ T3604] free_unref_page_list+0x1a9/0xfa0 [ 51.559845][ T3604] release_pages+0x3f4/0x1480 [ 51.564505][ T3604] tlb_finish_mmu+0x165/0x8c0 [ 51.569164][ T3604] exit_mmap+0x1ea/0x630 [ 51.573390][ T3604] __mmput+0x122/0x4b0 [ 51.577442][ T3604] mmput+0x56/0x60 [ 51.581152][ T3604] free_bprm+0x65/0x2e0 [ 51.585287][ T3604] kernel_execve+0x380/0x460 [ 51.589858][ T3604] call_usermodehelper_exec_async+0x2e3/0x580 [ 51.595918][ T3604] ret_from_fork+0x1f/0x30 [ 51.600321][ T3604] [ 51.602627][ T3604] Memory state around the buggy address: [ 51.608239][ T3604] ffff88801d9d4480: 00 00 fc fc 00 00 fc fc fa fb fc fc fa fb fc fc [ 51.616283][ T3604] ffff88801d9d4500: fa fb fc fc 00 05 fc fc fa fb fc fc fa fb fc fc [ 51.624324][ T3604] >ffff88801d9d4580: fa fb fc fc 00 04 fc fc fa fb fc fc fb fb fc fc [ 51.632361][ T3604] ^ [ 51.637708][ T3604] ffff88801d9d4600: 00 03 fc fc fb fb fc fc fb fb fc fc fb fb fc fc [ 51.645747][ T3604] ffff88801d9d4680: fb fb fc fc fb fb fc fc fb fb fc fc fb fb fc fc [ 51.653790][ T3604] ================================================================== [ 51.661823][ T3604] Disabling lock debugging due to kernel taint [ 51.668298][ T3604] Kernel panic - not syncing: panic_on_warn set ... [ 51.674889][ T3604] CPU: 1 PID: 3604 Comm: syz-executor266 Tainted: G B 5.16.0-rc8-syzkaller #0 [ 51.685050][ T3604] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 51.695085][ T3604] Call Trace: [ 51.698347][ T3604] [ 51.701261][ T3604] dump_stack_lvl+0xcd/0x134 [ 51.705837][ T3604] panic+0x2b0/0x6dd [ 51.709716][ T3604] ? __warn_printk+0xf3/0xf3 [ 51.714288][ T3604] ? preempt_schedule_common+0x59/0xc0 [ 51.719734][ T3604] ? decrypt_internal+0x1471/0x1d90 [ 51.724913][ T3604] ? preempt_schedule_thunk+0x16/0x18 [ 51.730274][ T3604] ? trace_hardirqs_on+0x38/0x1c0 [ 51.735282][ T3604] ? trace_hardirqs_on+0x51/0x1c0 [ 51.740289][ T3604] ? decrypt_internal+0x1471/0x1d90 [ 51.745467][ T3604] ? decrypt_internal+0x1471/0x1d90 [ 51.750648][ T3604] end_report.cold+0x63/0x6f [ 51.755224][ T3604] kasan_report.cold+0x71/0xdf [ 51.759968][ T3604] ? decrypt_internal+0x1471/0x1d90 [ 51.765148][ T3604] kasan_check_range+0x13d/0x180 [ 51.770071][ T3604] memcpy+0x20/0x60 [ 51.773857][ T3604] decrypt_internal+0x1471/0x1d90 [ 51.778874][ T3604] ? tls_get_rec+0x5a0/0x5a0 [ 51.783443][ T3604] ? padding_length.part.0+0x270/0x270 [ 51.788882][ T3604] decrypt_skb_update+0x141/0xbc0 [ 51.793890][ T3604] tls_sw_recvmsg+0x5f2/0x1570 [ 51.798638][ T3604] ? decrypt_skb+0xc0/0xc0 [ 51.803036][ T3604] ? aa_sk_perm+0x30f/0xaa0 [ 51.807524][ T3604] inet6_recvmsg+0x11b/0x5e0 [ 51.812096][ T3604] ? lock_downgrade+0x6e0/0x6e0 [ 51.816929][ T3604] ? inet6_sk_rebuild_header+0xd00/0xd00 [ 51.822546][ T3604] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 51.828770][ T3604] ? security_socket_recvmsg+0x8f/0xc0 [ 51.834213][ T3604] ? inet6_sk_rebuild_header+0xd00/0xd00 [ 51.839826][ T3604] ____sys_recvmsg+0x2c4/0x600 [ 51.844576][ T3604] ? kernel_recvmsg+0x160/0x160 [ 51.849417][ T3604] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 51.855639][ T3604] ? __import_iovec+0x293/0x590 [ 51.860474][ T3604] ? import_iovec+0x10c/0x150 [ 51.865135][ T3604] ___sys_recvmsg+0x127/0x200 [ 51.869795][ T3604] ? __copy_msghdr_from_user+0x4b0/0x4b0 [ 51.875408][ T3604] ? mark_lock+0xef/0x17b0 [ 51.879806][ T3604] ? slab_free_freelist_hook+0x8b/0x1c0 [ 51.885423][ T3604] ? lock_chain_count+0x20/0x20 [ 51.890261][ T3604] ? tcp_sendmsg+0x36/0x40 [ 51.894662][ T3604] ? ___sys_sendmsg+0x105/0x170 [ 51.899495][ T3604] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 51.905715][ T3604] ? __fget_light+0x215/0x280 [ 51.910370][ T3604] ? __sanitizer_cov_trace_const_cmp8+0x1d/0x70 [ 51.916595][ T3604] do_recvmmsg+0x24d/0x6d0 [ 51.920998][ T3604] ? ___sys_recvmsg+0x200/0x200 [ 51.925836][ T3604] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 51.931797][ T3604] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 51.937756][ T3604] ? kfree+0x1e1/0x560 [ 51.941810][ T3604] ? __context_tracking_exit+0xb8/0xe0 [ 51.947250][ T3604] ? lock_downgrade+0x6e0/0x6e0 [ 51.952084][ T3604] ? lock_downgrade+0x6e0/0x6e0 [ 51.956929][ T3604] __x64_sys_recvmmsg+0x20b/0x260 [ 51.961940][ T3604] ? __do_sys_socketcall+0x590/0x590 [ 51.967207][ T3604] ? syscall_enter_from_user_mode+0x21/0x70 [ 51.973089][ T3604] do_syscall_64+0x35/0xb0 [ 51.977486][ T3604] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 51.983365][ T3604] RIP: 0033:0x7f748b4473f9 [ 51.987764][ T3604] Code: 28 c3 e8 2a 14 00 00 66 2e 0f 1f 84 00 00 00 00 00 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 [ 52.007357][ T3604] RSP: 002b:00007ffdb02af988 EFLAGS: 00000246 ORIG_RAX: 000000000000012b [ 52.015747][ T3604] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f748b4473f9 [ 52.023697][ T3604] RDX: 0000000000000001 RSI: 0000000020002900 RDI: 0000000000000003 [ 52.031646][ T3604] RBP: 00007f748b40b3e0 R08: 0000000000000000 R09: 0000000000000000 [ 52.039598][ T3604] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f748b40b470 [ 52.047550][ T3604] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 52.055510][ T3604] [ 52.058775][ T3604] Kernel Offset: disabled [ 52.063095][ T3604] Rebooting in 86400 seconds..