[ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.37' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 37.997547] audit: type=1400 audit(1599791312.209:8): avc: denied { execmem } for pid=6450 comm="syz-executor444" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 38.011405] IPVS: ftp: loaded support on port[0] = 21 [ 38.051494] ================================================================== [ 38.058877] BUG: KASAN: use-after-free in __lock_acquire+0x2cb4/0x3ff0 [ 38.065520] Read of size 8 at addr ffff88809adb3520 by task syz-executor444/6451 [ 38.073027] [ 38.074636] CPU: 1 PID: 6451 Comm: syz-executor444 Not tainted 4.19.144-syzkaller #0 [ 38.082490] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 38.091864] Call Trace: [ 38.094435] dump_stack+0x1fc/0x2fe [ 38.098041] print_address_description.cold+0x54/0x219 [ 38.103343] kasan_report_error.cold+0x8a/0x1c7 [ 38.108008] ? __lock_acquire+0x2cb4/0x3ff0 [ 38.112309] __asan_report_load8_noabort+0x88/0x90 [ 38.117218] ? __lock_acquire+0x2cb4/0x3ff0 [ 38.121518] __lock_acquire+0x2cb4/0x3ff0 [ 38.125648] ? __read_once_size_nocheck.constprop.0+0x10/0x10 [ 38.131529] ? deref_stack_reg+0x1d0/0x1d0 [ 38.136015] ? mark_held_locks+0xf0/0xf0 [ 38.140075] ? check_usage+0x19a/0x670 [ 38.143942] ? bpf_prog_kallsyms_find.part.0+0x1ad/0x270 [ 38.149371] ? check_usage_backwards+0x300/0x300 [ 38.154284] ? __kernel_text_address+0x9/0x30 [ 38.158772] ? check_usage_forwards+0x310/0x310 [ 38.163418] ? __save_stack_trace+0xaf/0x190 [ 38.167825] lock_acquire+0x170/0x3c0 [ 38.171604] ? xt_find_match+0xa3/0x280 [ 38.175595] ? xt_find_match+0xa3/0x280 [ 38.179598] __mutex_lock+0xd7/0x1260 [ 38.183378] ? xt_find_match+0xa3/0x280 [ 38.187380] ? check_usage_forwards+0x310/0x310 [ 38.192032] ? xt_find_match+0xa3/0x280 [ 38.196034] ? __mutex_add_waiter+0x160/0x160 [ 38.200515] ? mark_held_locks+0xf0/0xf0 [ 38.204554] ? mark_held_locks+0xf0/0xf0 [ 38.208608] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 38.213689] ? __sanitizer_cov_trace_switch+0x4b/0x80 [ 38.218855] xt_find_match+0xa3/0x280 [ 38.222633] xt_request_find_match+0x88/0x110 [ 38.228168] em_ipt_change+0x1c7/0x46b [ 38.232044] ? check_match+0x1e0/0x1e0 [ 38.235960] ? lock_acquire+0x170/0x3c0 [ 38.239962] ? tcf_em_lookup+0x1c/0x150 [ 38.243918] ? do_raw_read_unlock+0x3b/0x70 [ 38.248235] ? _raw_read_unlock+0x29/0x40 [ 38.252361] ? check_match+0x1e0/0x1e0 [ 38.256228] tcf_em_tree_validate+0x8fa/0xe95 [ 38.260705] ? tcf_em_tree_destroy+0x50/0x50 [ 38.265113] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 38.270108] ? kmem_cache_alloc_trace+0x323/0x380 [ 38.274928] flow_change+0x2a4/0x1ca0 [ 38.278705] ? flow_init+0xf0/0xf0 [ 38.282227] ? kmem_cache_alloc_trace+0x323/0x380 [ 38.287045] ? flow_init+0xf0/0xf0 [ 38.290564] tc_new_tfilter+0xb52/0x16c0 [ 38.294622] ? tcf_chain_tp_remove+0x2c0/0x2c0 [ 38.299202] ? check_nnp_nosuid.isra.0+0x2a0/0x2a0 [ 38.304112] ? rtnetlink_rcv_msg+0x3fe/0xb80 [ 38.308497] ? __mutex_add_waiter+0x160/0x160 [ 38.313328] ? tcf_chain_tp_remove+0x2c0/0x2c0 [ 38.317887] rtnetlink_rcv_msg+0x453/0xb80 [ 38.322123] ? rtnl_calcit.isra.0+0x430/0x430 [ 38.326612] ? __netlink_lookup+0x3fc/0x730 [ 38.330935] ? lock_downgrade+0x720/0x720 [ 38.335063] ? check_preemption_disabled+0x41/0x280 [ 38.340059] netlink_rcv_skb+0x160/0x440 [ 38.344100] ? rtnl_calcit.isra.0+0x430/0x430 [ 38.348591] ? netlink_ack+0xae0/0xae0 [ 38.352545] netlink_unicast+0x4d5/0x690 [ 38.356598] ? netlink_sendskb+0x110/0x110 [ 38.360824] netlink_sendmsg+0x6bb/0xc40 [ 38.364861] ? nlmsg_notify+0x1a0/0x1a0 [ 38.368809] ? kernel_recvmsg+0x220/0x220 [ 38.372963] ? nlmsg_notify+0x1a0/0x1a0 [ 38.376913] sock_sendmsg+0xc3/0x120 [ 38.380603] ___sys_sendmsg+0x3b3/0x8e0 [ 38.384558] ? copy_msghdr_from_user+0x440/0x440 [ 38.389292] ? mark_held_locks+0xf0/0xf0 [ 38.393345] ? mark_held_locks+0xf0/0xf0 [ 38.397384] ? mark_held_locks+0xf0/0xf0 [ 38.401423] ? fs_reclaim_release+0xd0/0x110 [ 38.405808] ? __might_fault+0x11f/0x1d0 [ 38.409861] ? lock_downgrade+0x720/0x720 [ 38.414003] ? lock_acquire+0x170/0x3c0 [ 38.417955] __sys_sendmmsg+0x195/0x470 [ 38.421905] ? __ia32_sys_sendmsg+0x220/0x220 [ 38.426377] ? alloc_file+0x326/0x4d0 [ 38.430245] ? check_preemption_disabled+0x41/0x280 [ 38.435239] ? __fd_install+0x1eb/0x610 [ 38.439189] ? __sys_socket+0x16d/0x200 [ 38.443155] ? move_addr_to_kernel+0x70/0x70 [ 38.447549] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 38.452283] __x64_sys_sendmmsg+0x99/0x100 [ 38.456511] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 38.461071] do_syscall_64+0xf9/0x620 [ 38.464848] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 38.470014] RIP: 0033:0x440d09 [ 38.473188] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 0f 83 fb 0f fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 38.492080] RSP: 002b:00007ffe0791ee58 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 [ 38.499885] RAX: ffffffffffffffda RBX: 00000000004a2570 RCX: 0000000000440d09 [ 38.507138] RDX: 010efe10675dec16 RSI: 0000000020000200 RDI: 0000000000000004 [ 38.514430] RBP: 00007ffe0791ee60 R08: 0000000120080522 R09: 0000000120080522 [ 38.521679] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004a2570 [ 38.528926] R13: 0000000000402220 R14: 0000000000000000 R15: 0000000000000000 [ 38.536176] [ 38.537780] Allocated by task 1: [ 38.541131] kmem_cache_alloc+0x122/0x370 [ 38.545270] getname_flags+0xce/0x590 [ 38.549079] do_sys_open+0x26c/0x520 [ 38.552772] do_syscall_64+0xf9/0x620 [ 38.556566] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 38.561742] [ 38.563347] Freed by task 1: [ 38.566341] kmem_cache_free+0x7f/0x260 [ 38.570290] putname+0xe1/0x120 [ 38.573555] do_sys_open+0x2ba/0x520 [ 38.577248] do_syscall_64+0xf9/0x620 [ 38.581032] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 38.586193] [ 38.587797] The buggy address belongs to the object at ffff88809adb2900 [ 38.587797] which belongs to the cache names_cache of size 4096 [ 38.600570] The buggy address is located 3104 bytes inside of [ 38.600570] 4096-byte region [ffff88809adb2900, ffff88809adb3900) [ 38.612591] The buggy address belongs to the page: [ 38.617504] page:ffffea00026b6c80 count:1 mapcount:0 mapping:ffff8880aa00ab40 index:0x0 compound_mapcount: 0 [ 38.627456] flags: 0xfffe0000008100(slab|head) [ 38.632066] raw: 00fffe0000008100 ffffea00026aad88 ffffea0002691488 ffff8880aa00ab40 [ 38.639927] raw: 0000000000000000 ffff88809adb2900 0000000100000001 0000000000000000 [ 38.647782] page dumped because: kasan: bad access detected [ 38.653466] [ 38.655069] Memory state around the buggy address: [ 38.660025] ffff88809adb3400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 38.667379] ffff88809adb3480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 38.674715] >ffff88809adb3500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 38.682104] ^ [ 38.686511] ffff88809adb3580: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 38.693847] ffff88809adb3600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 38.701178] ================================================================== [ 38.708509] Disabling lock debugging due to kernel taint [ 38.713933] Kernel panic - not syncing: panic_on_warn set ... [ 38.713933] [ 38.721274] CPU: 1 PID: 6451 Comm: syz-executor444 Tainted: G B 4.19.144-syzkaller #0 [ 38.730516] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 38.739861] Call Trace: [ 38.742430] dump_stack+0x1fc/0x2fe [ 38.746072] panic+0x26a/0x50e [ 38.749259] ? __warn_printk+0xf3/0xf3 [ 38.753184] ? lock_downgrade+0x720/0x720 [ 38.757341] ? print_shadow_for_address+0xb8/0x114 [ 38.762253] ? trace_hardirqs_off+0x64/0x200 [ 38.766649] kasan_end_report+0x43/0x49 [ 38.770603] kasan_report_error.cold+0xa7/0x1c7 [ 38.775268] ? __lock_acquire+0x2cb4/0x3ff0 [ 38.779585] __asan_report_load8_noabort+0x88/0x90 [ 38.784495] ? __lock_acquire+0x2cb4/0x3ff0 [ 38.788794] __lock_acquire+0x2cb4/0x3ff0 [ 38.792921] ? __read_once_size_nocheck.constprop.0+0x10/0x10 [ 38.798782] ? deref_stack_reg+0x1d0/0x1d0 [ 38.802999] ? mark_held_locks+0xf0/0xf0 [ 38.807040] ? check_usage+0x19a/0x670 [ 38.810924] ? bpf_prog_kallsyms_find.part.0+0x1ad/0x270 [ 38.816354] ? check_usage_backwards+0x300/0x300 [ 38.821098] ? __kernel_text_address+0x9/0x30 [ 38.825587] ? check_usage_forwards+0x310/0x310 [ 38.830254] ? __save_stack_trace+0xaf/0x190 [ 38.834658] lock_acquire+0x170/0x3c0 [ 38.838697] ? xt_find_match+0xa3/0x280 [ 38.842664] ? xt_find_match+0xa3/0x280 [ 38.846617] __mutex_lock+0xd7/0x1260 [ 38.850409] ? xt_find_match+0xa3/0x280 [ 38.854375] ? check_usage_forwards+0x310/0x310 [ 38.859020] ? xt_find_match+0xa3/0x280 [ 38.862973] ? __mutex_add_waiter+0x160/0x160 [ 38.867446] ? mark_held_locks+0xf0/0xf0 [ 38.871486] ? mark_held_locks+0xf0/0xf0 [ 38.875545] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 38.880625] ? __sanitizer_cov_trace_switch+0x4b/0x80 [ 38.885791] xt_find_match+0xa3/0x280 [ 38.889569] xt_request_find_match+0x88/0x110 [ 38.894060] em_ipt_change+0x1c7/0x46b [ 38.897944] ? check_match+0x1e0/0x1e0 [ 38.901808] ? lock_acquire+0x170/0x3c0 [ 38.905774] ? tcf_em_lookup+0x1c/0x150 [ 38.909725] ? do_raw_read_unlock+0x3b/0x70 [ 38.914039] ? _raw_read_unlock+0x29/0x40 [ 38.918170] ? check_match+0x1e0/0x1e0 [ 38.922124] tcf_em_tree_validate+0x8fa/0xe95 [ 38.926600] ? tcf_em_tree_destroy+0x50/0x50 [ 38.930986] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 38.935982] ? kmem_cache_alloc_trace+0x323/0x380 [ 38.940803] flow_change+0x2a4/0x1ca0 [ 38.944580] ? flow_init+0xf0/0xf0 [ 38.948101] ? kmem_cache_alloc_trace+0x323/0x380 [ 38.952922] ? flow_init+0xf0/0xf0 [ 38.956455] tc_new_tfilter+0xb52/0x16c0 [ 38.960496] ? tcf_chain_tp_remove+0x2c0/0x2c0 [ 38.965074] ? check_nnp_nosuid.isra.0+0x2a0/0x2a0 [ 38.969988] ? rtnetlink_rcv_msg+0x3fe/0xb80 [ 38.974376] ? __mutex_add_waiter+0x160/0x160 [ 38.978869] ? tcf_chain_tp_remove+0x2c0/0x2c0 [ 38.983448] rtnetlink_rcv_msg+0x453/0xb80 [ 38.987662] ? rtnl_calcit.isra.0+0x430/0x430 [ 38.992134] ? __netlink_lookup+0x3fc/0x730 [ 38.996456] ? lock_downgrade+0x720/0x720 [ 39.000582] ? check_preemption_disabled+0x41/0x280 [ 39.005592] netlink_rcv_skb+0x160/0x440 [ 39.009630] ? rtnl_calcit.isra.0+0x430/0x430 [ 39.014103] ? netlink_ack+0xae0/0xae0 [ 39.017972] netlink_unicast+0x4d5/0x690 [ 39.022026] ? netlink_sendskb+0x110/0x110 [ 39.026238] netlink_sendmsg+0x6bb/0xc40 [ 39.030292] ? nlmsg_notify+0x1a0/0x1a0 [ 39.034244] ? kernel_recvmsg+0x220/0x220 [ 39.038384] ? nlmsg_notify+0x1a0/0x1a0 [ 39.042335] sock_sendmsg+0xc3/0x120 [ 39.046030] ___sys_sendmsg+0x3b3/0x8e0 [ 39.049996] ? copy_msghdr_from_user+0x440/0x440 [ 39.054731] ? mark_held_locks+0xf0/0xf0 [ 39.058773] ? mark_held_locks+0xf0/0xf0 [ 39.062830] ? mark_held_locks+0xf0/0xf0 [ 39.066868] ? fs_reclaim_release+0xd0/0x110 [ 39.071256] ? __might_fault+0x11f/0x1d0 [ 39.075317] ? lock_downgrade+0x720/0x720 [ 39.079442] ? lock_acquire+0x170/0x3c0 [ 39.083395] __sys_sendmmsg+0x195/0x470 [ 39.087347] ? __ia32_sys_sendmsg+0x220/0x220 [ 39.091820] ? alloc_file+0x326/0x4d0 [ 39.095616] ? check_preemption_disabled+0x41/0x280 [ 39.100621] ? __fd_install+0x1eb/0x610 [ 39.104572] ? __sys_socket+0x16d/0x200 [ 39.108523] ? move_addr_to_kernel+0x70/0x70 [ 39.112924] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 39.118462] __x64_sys_sendmmsg+0x99/0x100 [ 39.122676] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 39.127234] do_syscall_64+0xf9/0x620 [ 39.131038] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 39.136203] RIP: 0033:0x440d09 [ 39.139374] Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 0f 83 fb 0f fc ff c3 66 2e 0f 1f 84 00 00 00 00 [ 39.158255] RSP: 002b:00007ffe0791ee58 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 [ 39.165939] RAX: ffffffffffffffda RBX: 00000000004a2570 RCX: 0000000000440d09 [ 39.173184] RDX: 010efe10675dec16 RSI: 0000000020000200 RDI: 0000000000000004 [ 39.180430] RBP: 00007ffe0791ee60 R08: 0000000120080522 R09: 0000000120080522 [ 39.187675] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004a2570 [ 39.194919] R13: 0000000000402220 R14: 0000000000000000 R15: 0000000000000000 [ 39.203615] Kernel Offset: disabled [ 39.207230] Rebooting in 86400 seconds..