[....] Starting enhanced syslogd: rsyslogd[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting periodic command scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. [ 26.349556] kauditd_printk_skb: 7 callbacks suppressed [ 26.349568] audit: type=1800 audit(1540132922.930:29): pid=5208 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rc.local" dev="sda1" ino=2432 res=0 [ 26.377446] audit: type=1800 audit(1540132922.930:30): pid=5208 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="startpar" name="rmnologin" dev="sda1" ino=2423 res=0 Debian GNU/Linux 7 syzkaller ttyS0 Warning: Permanently added '10.128.0.7' (ECDSA) to the list of known hosts. 2018/10/21 14:42:13 parsed 1 programs 2018/10/21 14:42:15 executed programs: 0 syzkaller login: [ 39.237600] IPVS: ftp: loaded support on port[0] = 21 [ 39.237619] IPVS: ftp: loaded support on port[0] = 21 [ 39.256874] IPVS: ftp: loaded support on port[0] = 21 [ 39.266548] IPVS: ftp: loaded support on port[0] = 21 [ 39.270917] IPVS: ftp: loaded support on port[0] = 21 [ 39.281224] IPVS: ftp: loaded support on port[0] = 21 [ 40.585353] bridge0: port 1(bridge_slave_0) entered blocking state [ 40.592792] bridge0: port 1(bridge_slave_0) entered disabled state [ 40.603078] device bridge_slave_0 entered promiscuous mode [ 40.667649] bridge0: port 2(bridge_slave_1) entered blocking state [ 40.681308] bridge0: port 2(bridge_slave_1) entered disabled state [ 40.696305] device bridge_slave_1 entered promiscuous mode [ 40.713299] bridge0: port 1(bridge_slave_0) entered blocking state [ 40.724504] bridge0: port 1(bridge_slave_0) entered disabled state [ 40.732046] device bridge_slave_0 entered promiscuous mode [ 40.766701] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 40.779607] bridge0: port 2(bridge_slave_1) entered blocking state [ 40.790716] bridge0: port 2(bridge_slave_1) entered disabled state [ 40.799429] device bridge_slave_1 entered promiscuous mode [ 40.817292] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready [ 40.826465] bridge0: port 1(bridge_slave_0) entered blocking state [ 40.832838] bridge0: port 1(bridge_slave_0) entered disabled state [ 40.853780] device bridge_slave_0 entered promiscuous mode [ 40.863823] bridge0: port 1(bridge_slave_0) entered blocking state [ 40.870647] bridge0: port 1(bridge_slave_0) entered disabled state [ 40.884657] device bridge_slave_0 entered promiscuous mode [ 40.891721] bridge0: port 1(bridge_slave_0) entered blocking state [ 40.899145] bridge0: port 1(bridge_slave_0) entered disabled state [ 40.906908] device bridge_slave_0 entered promiscuous mode [ 40.926967] bridge0: port 2(bridge_slave_1) entered blocking state [ 40.933592] bridge0: port 2(bridge_slave_1) entered disabled state [ 40.942790] device bridge_slave_1 entered promiscuous mode [ 40.951804] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 40.970180] bridge0: port 1(bridge_slave_0) entered blocking state [ 40.980922] bridge0: port 1(bridge_slave_0) entered disabled state [ 40.988875] device bridge_slave_0 entered promiscuous mode [ 40.999231] bridge0: port 2(bridge_slave_1) entered blocking state [ 41.007646] bridge0: port 2(bridge_slave_1) entered disabled state [ 41.015453] device bridge_slave_1 entered promiscuous mode [ 41.035875] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 41.047974] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready [ 41.061500] bridge0: port 2(bridge_slave_1) entered blocking state [ 41.072319] bridge0: port 2(bridge_slave_1) entered disabled state [ 41.086907] device bridge_slave_1 entered promiscuous mode [ 41.093481] bridge0: port 2(bridge_slave_1) entered blocking state [ 41.099877] bridge0: port 2(bridge_slave_1) entered disabled state [ 41.113118] device bridge_slave_1 entered promiscuous mode [ 41.121164] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 41.134883] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready [ 41.144194] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 41.153626] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 41.179891] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bridge: link is not ready [ 41.230610] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready [ 41.240504] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready [ 41.255167] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 41.271473] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bridge: link is not ready [ 41.337207] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bond: link is not ready [ 41.349624] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 41.370394] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bond: link becomes ready [ 41.400794] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 41.433886] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 41.470434] IPv6: ADDRCONF(NETDEV_UP): veth1_to_bond: link is not ready [ 41.484009] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bond: link becomes ready [ 41.505106] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 41.515884] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 41.526035] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 41.559694] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 41.575818] IPv6: ADDRCONF(NETDEV_UP): veth0_to_bond: link is not ready [ 41.584819] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bond: link becomes ready [ 41.610496] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 41.622673] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 41.660618] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 41.685440] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 41.694730] team0: Port device team_slave_0 added [ 41.746194] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 41.755037] team0: Port device team_slave_1 added [ 41.828879] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 41.933086] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 41.961649] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 41.975116] team0: Port device team_slave_0 added [ 41.983830] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 41.995000] team0: Port device team_slave_0 added [ 42.022183] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 42.037304] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 42.054814] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 42.068814] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 42.082180] team0: Port device team_slave_1 added [ 42.087950] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 42.098358] team0: Port device team_slave_1 added [ 42.106643] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 42.117779] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 42.129102] team0: Port device team_slave_0 added [ 42.137113] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 42.154265] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready [ 42.164212] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 42.171353] team0: Port device team_slave_0 added [ 42.177466] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 42.186956] team0: Port device team_slave_0 added [ 42.199707] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 42.214253] team0: Port device team_slave_1 added [ 42.221092] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 42.239734] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 42.266775] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 42.274690] team0: Port device team_slave_1 added [ 42.285522] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 42.294405] team0: Port device team_slave_1 added [ 42.303716] IPv6: ADDRCONF(NETDEV_UP): veth1_to_team: link is not ready [ 42.310872] IPv6: ADDRCONF(NETDEV_UP): veth1_to_team: link is not ready [ 42.321990] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_team: link becomes ready [ 42.338285] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 42.351768] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_team: link becomes ready [ 42.360674] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 42.372725] IPv6: ADDRCONF(NETDEV_UP): veth0_to_team: link is not ready [ 42.384632] IPv6: ADDRCONF(NETDEV_UP): veth0_to_team: link is not ready [ 42.394330] IPv6: ADDRCONF(NETDEV_UP): veth0_to_team: link is not ready [ 42.402582] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 42.410346] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_team: link becomes ready [ 42.424568] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 42.443870] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_team: link becomes ready [ 42.451975] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 42.459986] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_team: link becomes ready [ 42.467961] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 42.475635] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 42.483437] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 42.493747] IPv6: ADDRCONF(NETDEV_UP): veth1_to_team: link is not ready [ 42.502698] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 42.517877] IPv6: ADDRCONF(NETDEV_UP): veth1_to_team: link is not ready [ 42.528717] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_team: link becomes ready [ 42.544209] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 42.551912] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 42.561691] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 42.569702] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_team: link becomes ready [ 42.577529] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 42.586259] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 42.593873] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 42.601842] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready [ 42.610906] IPv6: ADDRCONF(NETDEV_UP): veth1_to_team: link is not ready [ 42.622869] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 42.646065] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 42.654974] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_team: link becomes ready [ 42.663102] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 42.684486] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 42.693776] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready [ 42.701741] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 42.710126] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 42.723874] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 42.731862] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 42.742773] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 42.762109] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 42.796668] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 42.804830] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 42.812607] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_bridge: link becomes ready [ 42.820710] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 42.828704] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready [ 42.849711] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 42.861495] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 42.875301] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 42.890047] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready [ 42.905189] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 42.914763] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_bridge: link becomes ready [ 43.350284] bridge0: port 2(bridge_slave_1) entered blocking state [ 43.356828] bridge0: port 2(bridge_slave_1) entered forwarding state [ 43.363837] bridge0: port 1(bridge_slave_0) entered blocking state [ 43.370218] bridge0: port 1(bridge_slave_0) entered forwarding state [ 43.385708] IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready [ 43.543101] bridge0: port 2(bridge_slave_1) entered blocking state [ 43.549572] bridge0: port 2(bridge_slave_1) entered forwarding state [ 43.556307] bridge0: port 1(bridge_slave_0) entered blocking state [ 43.562693] bridge0: port 1(bridge_slave_0) entered forwarding state [ 43.571489] IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready [ 43.583758] bridge0: port 2(bridge_slave_1) entered blocking state [ 43.590155] bridge0: port 2(bridge_slave_1) entered forwarding state [ 43.596917] bridge0: port 1(bridge_slave_0) entered blocking state [ 43.603302] bridge0: port 1(bridge_slave_0) entered forwarding state [ 43.613775] IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready [ 43.719315] bridge0: port 2(bridge_slave_1) entered blocking state [ 43.725763] bridge0: port 2(bridge_slave_1) entered forwarding state [ 43.732447] bridge0: port 1(bridge_slave_0) entered blocking state [ 43.738864] bridge0: port 1(bridge_slave_0) entered forwarding state [ 43.748410] IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready [ 43.762978] bridge0: port 2(bridge_slave_1) entered blocking state [ 43.769405] bridge0: port 2(bridge_slave_1) entered forwarding state [ 43.776141] bridge0: port 1(bridge_slave_0) entered blocking state [ 43.782502] bridge0: port 1(bridge_slave_0) entered forwarding state [ 43.797383] IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready [ 43.879359] bridge0: port 2(bridge_slave_1) entered blocking state [ 43.885781] bridge0: port 2(bridge_slave_1) entered forwarding state [ 43.892438] bridge0: port 1(bridge_slave_0) entered blocking state [ 43.898853] bridge0: port 1(bridge_slave_0) entered forwarding state [ 43.908398] IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready [ 44.294217] IPv6: ADDRCONF(NETDEV_CHANGE): bridge0: link becomes ready [ 44.312761] IPv6: ADDRCONF(NETDEV_CHANGE): bridge0: link becomes ready [ 44.337427] IPv6: ADDRCONF(NETDEV_CHANGE): bridge0: link becomes ready [ 44.348199] IPv6: ADDRCONF(NETDEV_CHANGE): bridge0: link becomes ready [ 44.355495] IPv6: ADDRCONF(NETDEV_CHANGE): bridge0: link becomes ready [ 44.362513] IPv6: ADDRCONF(NETDEV_CHANGE): bridge0: link becomes ready [ 46.384937] 8021q: adding VLAN 0 to HW filter on device bond0 [ 46.516603] 8021q: adding VLAN 0 to HW filter on device bond0 [ 46.585288] 8021q: adding VLAN 0 to HW filter on device bond0 [ 46.659966] 8021q: adding VLAN 0 to HW filter on device bond0 [ 46.671275] 8021q: adding VLAN 0 to HW filter on device bond0 [ 46.683011] 8021q: adding VLAN 0 to HW filter on device bond0 [ 46.693229] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 46.804628] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 46.906477] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 46.923263] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 46.944435] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 46.954934] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 46.984736] IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready [ 46.990875] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 47.001603] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 47.074683] IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready [ 47.092143] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 47.103251] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 47.193016] IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready [ 47.207289] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 47.216288] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 47.227323] IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready [ 47.242805] 8021q: adding VLAN 0 to HW filter on device team0 [ 47.259426] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 47.274138] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 47.290379] IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready [ 47.309986] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 47.320415] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 47.334370] IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready [ 47.351930] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 47.364096] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 47.379937] 8021q: adding VLAN 0 to HW filter on device team0 [ 47.521251] 8021q: adding VLAN 0 to HW filter on device team0 [ 47.563125] 8021q: adding VLAN 0 to HW filter on device team0 [ 47.592748] 8021q: adding VLAN 0 to HW filter on device team0 [ 47.604433] 8021q: adding VLAN 0 to HW filter on device team0 2018/10/21 14:42:25 executed programs: 6 [ 50.092532] [ 50.094213] ===================================== [ 50.099060] WARNING: bad unlock balance detected! [ 50.103901] 4.19.0-rc8+ #295 Not tainted [ 50.107955] ------------------------------------- [ 50.112778] syz-executor2/7201 is trying to release lock (&file->mut) at: [ 50.119699] [] ucma_destroy_id+0x2cb/0x550 [ 50.125479] but there are no more locks to release! [ 50.130471] [ 50.130471] other info that might help us debug this: [ 50.137119] 1 lock held by syz-executor2/7201: [ 50.141679] #0: 0000000045a84399 (&file->mut){+.+.}, at: ucma_destroy_id+0x26b/0x550 [ 50.149642] [ 50.149642] stack backtrace: [ 50.154120] CPU: 0 PID: 7201 Comm: syz-executor2 Not tainted 4.19.0-rc8+ #295 [ 50.161369] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 50.170701] Call Trace: [ 50.173282] dump_stack+0x1c4/0x2b6 [ 50.176904] ? dump_stack_print_info.cold.1+0x20/0x20 [ 50.182075] ? vprintk_func+0x85/0x181 [ 50.185950] ? ucma_destroy_id+0x2cb/0x550 [ 50.190171] print_unlock_imbalance_bug.cold.48+0xcc/0xd8 [ 50.195692] lock_release+0x785/0x970 [ 50.199495] ? ucma_destroy_id+0x2cb/0x550 [ 50.203726] ? lock_downgrade+0x900/0x900 [ 50.207857] ? radix_tree_descend+0x2e0/0x2e0 [ 50.212337] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 50.217863] ? node_tag_set+0xc6/0x170 [ 50.221763] __mutex_unlock_slowpath+0x102/0x8c0 [ 50.226506] ? wait_for_completion+0x8a0/0x8a0 [ 50.231075] ? radix_tree_delete_item+0x188/0x350 [ 50.235904] ? radix_tree_lookup+0x30/0x30 [ 50.240140] mutex_unlock+0xd/0x10 [ 50.243670] ucma_destroy_id+0x2cb/0x550 [ 50.247714] ? ucma_close+0x310/0x310 [ 50.251498] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 50.257023] ? _copy_from_user+0xdf/0x150 [ 50.261184] ? ucma_close+0x310/0x310 [ 50.264992] ucma_write+0x365/0x460 [ 50.268601] ? ucma_open+0x3f0/0x3f0 [ 50.272346] ? find_held_lock+0x36/0x1c0 [ 50.276407] __vfs_write+0x119/0x9f0 [ 50.280104] ? debug_lockdep_rcu_enabled+0x77/0x90 [ 50.285014] ? ucma_open+0x3f0/0x3f0 [ 50.288721] ? kernel_read+0x120/0x120 [ 50.292594] ? apparmor_path_rmdir+0x30/0x30 [ 50.296997] ? apparmor_file_permission+0x24/0x30 [ 50.301836] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 50.307360] ? security_file_permission+0x1c2/0x230 [ 50.312361] ? rw_verify_area+0x118/0x360 [ 50.316496] vfs_write+0x1fc/0x560 [ 50.320030] ksys_write+0x101/0x260 [ 50.323639] ? __ia32_sys_read+0xb0/0xb0 [ 50.327700] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 50.333136] __x64_sys_write+0x73/0xb0 [ 50.337009] do_syscall_64+0x1b9/0x820 [ 50.340891] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 50.346236] ? syscall_return_slowpath+0x5e0/0x5e0 [ 50.351157] ? trace_hardirqs_on_caller+0x310/0x310 [ 50.356163] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 50.361175] ? recalc_sigpending_tsk+0x180/0x180 [ 50.365913] ? kasan_check_write+0x14/0x20 [ 50.370134] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 50.374984] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 50.380177] RIP: 0033:0x457569 [ 50.383372] Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 50.402265] RSP: 002b:00007fd30a4dfc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 50.409953] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 [ 50.417217] RDX: 0000000000000018 RSI: 0000000020000280 RDI: 0000000000000005 [ 50.424474] RBP: 000000000072c040 R08: 0000000000000000 R09: 0000000000000000 [ 50.431722] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd30a4e06d4 [ 50.438972] R13: 00000000004cb4f8 R14: 00000000004d8b68 R15: 00000000ffffffff [ 50.451548] ================================================================== [ 50.458937] BUG: KASAN: use-after-free in __mutex_unlock_slowpath+0x10f/0x8c0 [ 50.466208] Read of size 8 at addr ffff8801d8b0d780 by task syz-executor2/7201 [ 50.473558] [ 50.475188] CPU: 0 PID: 7201 Comm: syz-executor2 Not tainted 4.19.0-rc8+ #295 [ 50.482454] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 50.491792] Call Trace: [ 50.494386] dump_stack+0x1c4/0x2b6 [ 50.498002] ? dump_stack_print_info.cold.1+0x20/0x20 [ 50.503184] ? printk+0xa7/0xcf [ 50.506448] ? kmsg_dump_rewind_nolock+0xe4/0xe4 [ 50.511221] print_address_description.cold.8+0x9/0x1ff [ 50.516592] kasan_report.cold.9+0x242/0x309 [ 50.520986] ? __mutex_unlock_slowpath+0x10f/0x8c0 [ 50.525902] check_memory_region+0x13e/0x1b0 [ 50.530331] kasan_check_read+0x11/0x20 [ 50.534290] __mutex_unlock_slowpath+0x10f/0x8c0 [ 50.539034] ? wait_for_completion+0x8a0/0x8a0 [ 50.543622] ? radix_tree_delete_item+0x188/0x350 [ 50.548474] ? radix_tree_lookup+0x30/0x30 [ 50.552699] mutex_unlock+0xd/0x10 [ 50.556248] ucma_destroy_id+0x2cb/0x550 [ 50.560309] ? ucma_close+0x310/0x310 [ 50.564113] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 50.569637] ? _copy_from_user+0xdf/0x150 [ 50.573780] ? ucma_close+0x310/0x310 [ 50.577573] ucma_write+0x365/0x460 [ 50.581192] ? ucma_open+0x3f0/0x3f0 [ 50.584915] ? find_held_lock+0x36/0x1c0 [ 50.589006] __vfs_write+0x119/0x9f0 [ 50.592729] ? debug_lockdep_rcu_enabled+0x77/0x90 [ 50.597642] ? ucma_open+0x3f0/0x3f0 [ 50.601350] ? kernel_read+0x120/0x120 [ 50.605253] ? apparmor_path_rmdir+0x30/0x30 [ 50.609668] ? apparmor_file_permission+0x24/0x30 [ 50.614537] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 50.620062] ? security_file_permission+0x1c2/0x230 [ 50.625061] ? rw_verify_area+0x118/0x360 [ 50.629218] vfs_write+0x1fc/0x560 [ 50.632776] ksys_write+0x101/0x260 [ 50.636409] ? __ia32_sys_read+0xb0/0xb0 [ 50.640469] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 50.645933] __x64_sys_write+0x73/0xb0 [ 50.649848] do_syscall_64+0x1b9/0x820 [ 50.653737] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 50.659106] ? syscall_return_slowpath+0x5e0/0x5e0 [ 50.664044] ? trace_hardirqs_on_caller+0x310/0x310 [ 50.669086] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 50.674090] ? recalc_sigpending_tsk+0x180/0x180 [ 50.678833] ? kasan_check_write+0x14/0x20 [ 50.683067] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 50.687926] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 50.693142] RIP: 0033:0x457569 [ 50.696333] Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 50.715221] RSP: 002b:00007fd30a4dfc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 50.722936] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 [ 50.730188] RDX: 0000000000000018 RSI: 0000000020000280 RDI: 0000000000000005 [ 50.737442] RBP: 000000000072c040 R08: 0000000000000000 R09: 0000000000000000 [ 50.744692] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd30a4e06d4 [ 50.751955] R13: 00000000004cb4f8 R14: 00000000004d8b68 R15: 00000000ffffffff [ 50.759223] [ 50.760866] Allocated by task 7169: [ 50.764485] save_stack+0x43/0xd0 [ 50.767950] kasan_kmalloc+0xc7/0xe0 [ 50.771653] kmem_cache_alloc_trace+0x152/0x750 [ 50.776321] ucma_open+0xb5/0x3f0 [ 50.779755] misc_open+0x3ca/0x560 [ 50.783276] chrdev_open+0x25a/0x710 [ 50.786970] do_dentry_open+0x499/0x1250 [ 50.791011] vfs_open+0xa0/0xd0 [ 50.794278] path_openat+0x12bf/0x5160 [ 50.798146] do_filp_open+0x255/0x380 [ 50.801934] do_sys_open+0x568/0x700 [ 50.805648] __x64_sys_openat+0x9d/0x100 [ 50.809715] do_syscall_64+0x1b9/0x820 [ 50.813602] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 50.818768] [ 50.820414] Freed by task 7156: [ 50.823677] save_stack+0x43/0xd0 [ 50.827110] __kasan_slab_free+0x102/0x150 [ 50.831333] kasan_slab_free+0xe/0x10 [ 50.835129] kfree+0xcf/0x230 [ 50.838220] ucma_close+0x27e/0x310 [ 50.841861] __fput+0x385/0xa30 [ 50.845130] ____fput+0x15/0x20 [ 50.848394] task_work_run+0x1e8/0x2a0 [ 50.852280] exit_to_usermode_loop+0x318/0x380 [ 50.856853] do_syscall_64+0x6be/0x820 [ 50.860722] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 50.865893] [ 50.867520] The buggy address belongs to the object at ffff8801d8b0d780 [ 50.867520] which belongs to the cache kmalloc-256 of size 256 [ 50.880159] The buggy address is located 0 bytes inside of [ 50.880159] 256-byte region [ffff8801d8b0d780, ffff8801d8b0d880) [ 50.891838] The buggy address belongs to the page: [ 50.896755] page:ffffea000762c340 count:1 mapcount:0 mapping:ffff8801da8007c0 index:0x0 [ 50.904889] flags: 0x2fffc0000000100(slab) [ 50.909106] raw: 02fffc0000000100 ffffea0007638848 ffffea0007616048 ffff8801da8007c0 [ 50.916972] raw: 0000000000000000 ffff8801d8b0d000 000000010000000c 0000000000000000 [ 50.924829] page dumped because: kasan: bad access detected [ 50.930530] [ 50.932149] Memory state around the buggy address: [ 50.937089] ffff8801d8b0d680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 50.944431] ffff8801d8b0d700: 00 00 fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 50.951770] >ffff8801d8b0d780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 50.959112] ^ [ 50.962495] ffff8801d8b0d800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 50.969841] ffff8801d8b0d880: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 [ 50.977186] ================================================================== [ 50.990817] Kernel panic - not syncing: panic_on_warn set ... [ 50.990817] [ 50.994318] kobject: 'loop1' (00000000fd10d9fd): kobject_uevent_env [ 50.998225] CPU: 0 PID: 7201 Comm: syz-executor2 Tainted: G B 4.19.0-rc8+ #295 [ 51.010377] kobject: 'loop1' (00000000fd10d9fd): fill_kobj_path: path = '/devices/virtual/block/loop1' [ 51.013279] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 51.013285] Call Trace: [ 51.013307] dump_stack+0x1c4/0x2b6 [ 51.013325] ? dump_stack_print_info.cold.1+0x20/0x20 [ 51.013349] panic+0x238/0x4e7 [ 51.046679] ? add_taint.cold.5+0x16/0x16 [ 51.050814] ? preempt_schedule+0x4d/0x60 [ 51.054955] ? ___preempt_schedule+0x16/0x18 [ 51.059378] ? trace_hardirqs_on+0xb4/0x310 [ 51.063721] kasan_end_report+0x47/0x4f [ 51.067690] kasan_report.cold.9+0x76/0x309 [ 51.071999] ? __mutex_unlock_slowpath+0x10f/0x8c0 [ 51.076925] check_memory_region+0x13e/0x1b0 [ 51.081341] kasan_check_read+0x11/0x20 [ 51.085334] __mutex_unlock_slowpath+0x10f/0x8c0 [ 51.090085] ? wait_for_completion+0x8a0/0x8a0 [ 51.094673] ? radix_tree_delete_item+0x188/0x350 [ 51.099532] ? radix_tree_lookup+0x30/0x30 [ 51.103774] mutex_unlock+0xd/0x10 [ 51.107314] ucma_destroy_id+0x2cb/0x550 [ 51.111384] ? ucma_close+0x310/0x310 [ 51.115198] ? __sanitizer_cov_trace_const_cmp8+0x18/0x20 [ 51.120730] ? _copy_from_user+0xdf/0x150 [ 51.124870] ? ucma_close+0x310/0x310 [ 51.128656] ucma_write+0x365/0x460 [ 51.132267] ? ucma_open+0x3f0/0x3f0 [ 51.135977] ? find_held_lock+0x36/0x1c0 [ 51.140031] __vfs_write+0x119/0x9f0 [ 51.143740] ? debug_lockdep_rcu_enabled+0x77/0x90 [ 51.148669] ? ucma_open+0x3f0/0x3f0 [ 51.152367] ? kernel_read+0x120/0x120 [ 51.156282] ? apparmor_path_rmdir+0x30/0x30 [ 51.160716] ? apparmor_file_permission+0x24/0x30 [ 51.165553] ? __sanitizer_cov_trace_const_cmp4+0x16/0x20 [ 51.171075] ? security_file_permission+0x1c2/0x230 [ 51.176089] ? rw_verify_area+0x118/0x360 [ 51.180246] vfs_write+0x1fc/0x560 [ 51.183773] ksys_write+0x101/0x260 [ 51.187408] ? __ia32_sys_read+0xb0/0xb0 [ 51.191469] ? __bpf_trace_preemptirq_template+0x30/0x30 [ 51.196906] __x64_sys_write+0x73/0xb0 [ 51.200787] do_syscall_64+0x1b9/0x820 [ 51.204672] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 51.210020] ? syscall_return_slowpath+0x5e0/0x5e0 [ 51.214933] ? trace_hardirqs_on_caller+0x310/0x310 [ 51.219933] ? prepare_exit_to_usermode+0x3b0/0x3b0 [ 51.224944] ? recalc_sigpending_tsk+0x180/0x180 [ 51.229722] ? kasan_check_write+0x14/0x20 [ 51.233955] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 51.238789] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 51.243970] RIP: 0033:0x457569 [ 51.247148] Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 [ 51.266031] RSP: 002b:00007fd30a4dfc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 51.273735] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569 [ 51.281000] RDX: 0000000000000018 RSI: 0000000020000280 RDI: 0000000000000005 [ 51.288268] RBP: 000000000072c040 R08: 0000000000000000 R09: 0000000000000000 [ 51.295538] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fd30a4e06d4 [ 51.302805] R13: 00000000004cb4f8 R14: 00000000004d8b68 R15: 00000000ffffffff [ 51.310874] Kernel Offset: disabled [ 51.314493] Rebooting in 86400 seconds..