[....] Starting periodic command[ 72.707594][ T26] audit: type=1800 audit(1567600811.570:32): pid=10304 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op=collect_data cause=failed(directio) comm="startpar" name="ssh" dev="sda1" ino=2417 res=0 scheduler: cron[?25l[?1c7[ ok 8[?25h[?0c. Starting mcstransd: [....] Starting file context maintaining daemon: restorecond[?25l[?1c7[ ok 8[?25h[?0c. [....] Starting OpenBSD Secure Shell server: sshd[?25l[?1c7[ ok 8[?25h[?0c. Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 77.449956][ T26] kauditd_printk_skb: 2 callbacks suppressed [ 77.449968][ T26] audit: type=1400 audit(1567600816.320:35): avc: denied { map } for pid=10485 comm="bash" path="/bin/bash" dev="sda1" ino=1457 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file permissive=1 Warning: Permanently added '10.128.10.60' (ECDSA) to the list of known hosts. 2019/09/04 12:55:10 parsed 1 programs [ 971.610958][ T26] audit: type=1400 audit(1567601710.480:36): avc: denied { map } for pid=10497 comm="syz-execprog" path="/root/syz-execprog" dev="sda1" ino=16481 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 971.674471][ T26] audit: type=1400 audit(1567601710.540:37): avc: denied { map } for pid=10497 comm="syz-execprog" path="/sys/kernel/debug/kcov" dev="debugfs" ino=16432 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=system_u:object_r:debugfs_t:s0 tclass=file permissive=1 2019/09/04 12:55:11 executed programs: 0 [ 972.835200][T10512] IPVS: ftp: loaded support on port[0] = 21 [ 972.884144][T10512] chnl_net:caif_netlink_parms(): no params data found [ 972.906105][T10512] bridge0: port 1(bridge_slave_0) entered blocking state [ 972.913925][T10512] bridge0: port 1(bridge_slave_0) entered disabled state [ 972.921754][T10512] device bridge_slave_0 entered promiscuous mode [ 972.928988][T10512] bridge0: port 2(bridge_slave_1) entered blocking state [ 972.936411][T10512] bridge0: port 2(bridge_slave_1) entered disabled state [ 972.944161][T10512] device bridge_slave_1 entered promiscuous mode [ 972.957473][T10512] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 972.968342][T10512] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 972.985053][T10512] team0: Port device team_slave_0 added [ 972.992234][T10512] team0: Port device team_slave_1 added [ 973.061306][T10512] device hsr_slave_0 entered promiscuous mode [ 973.110068][T10512] device hsr_slave_1 entered promiscuous mode [ 973.165952][T10512] bridge0: port 2(bridge_slave_1) entered blocking state [ 973.173237][T10512] bridge0: port 2(bridge_slave_1) entered forwarding state [ 973.180656][T10512] bridge0: port 1(bridge_slave_0) entered blocking state [ 973.187693][T10512] bridge0: port 1(bridge_slave_0) entered forwarding state [ 973.213429][T10512] 8021q: adding VLAN 0 to HW filter on device bond0 [ 973.223883][T10514] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 973.242546][T10514] bridge0: port 1(bridge_slave_0) entered disabled state [ 973.260272][T10514] bridge0: port 2(bridge_slave_1) entered disabled state [ 973.267878][T10514] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 973.277869][T10512] 8021q: adding VLAN 0 to HW filter on device team0 [ 973.287293][ T3023] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 973.296236][ T3023] bridge0: port 1(bridge_slave_0) entered blocking state [ 973.303451][ T3023] bridge0: port 1(bridge_slave_0) entered forwarding state [ 973.320296][T10514] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 973.328724][T10514] bridge0: port 2(bridge_slave_1) entered blocking state [ 973.335809][T10514] bridge0: port 2(bridge_slave_1) entered forwarding state [ 973.343849][T10514] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 973.352296][T10514] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 973.361008][T10517] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 973.372896][T10512] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 973.383468][T10512] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 973.394721][ T3023] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 973.403211][ T3023] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 973.411553][ T3023] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 973.424957][T10512] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 973.454149][ T26] audit: type=1400 audit(1567601712.320:38): avc: denied { associate } for pid=10512 comm="syz-executor.0" name="syz0" scontext=unconfined_u:object_r:unlabeled_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem permissive=1 2019/09/04 12:55:16 executed programs: 235 2019/09/04 12:55:21 executed programs: 518 2019/09/04 12:55:26 executed programs: 800 2019/09/04 12:55:31 executed programs: 1082 [ 994.039771][T10514] ================================================================== [ 994.048019][T10514] BUG: KASAN: use-after-free in rxrpc_send_keepalive+0x8a2/0x940 [ 994.055723][T10514] Read of size 8 at addr ffff88809bcf8018 by task kworker/1:0/10514 [ 994.063674][T10514] [ 994.065991][T10514] CPU: 1 PID: 10514 Comm: kworker/1:0 Not tainted 5.3.0-rc7 #0 [ 994.073598][T10514] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 994.083641][T10514] Workqueue: krxrpcd rxrpc_peer_keepalive_worker [ 994.089944][T10514] Call Trace: [ 994.093259][T10514] dump_stack+0x172/0x1f0 [ 994.097571][T10514] ? rxrpc_send_keepalive+0x8a2/0x940 [ 994.102942][T10514] print_address_description.cold+0xd4/0x306 [ 994.108904][T10514] ? rxrpc_send_keepalive+0x8a2/0x940 [ 994.114257][T10514] ? rxrpc_send_keepalive+0x8a2/0x940 [ 994.119611][T10514] __kasan_report.cold+0x1b/0x36 [ 994.124530][T10514] ? enable_cpucache.cold+0x1a/0x1a [ 994.129717][T10514] ? rxrpc_send_keepalive+0x8a2/0x940 [ 994.135072][T10514] kasan_report+0x12/0x17 [ 994.139381][T10514] __asan_report_load8_noabort+0x14/0x20 [ 994.144992][T10514] rxrpc_send_keepalive+0x8a2/0x940 [ 994.150275][T10514] ? rxrpc_reject_packets+0xab0/0xab0 [ 994.155655][T10514] ? cpuacct_charge+0x1db/0x360 [ 994.161354][T10514] ? __kasan_check_read+0x11/0x20 [ 994.166373][T10514] ? rxrpc_peer_keepalive_worker+0x62e/0xd02 [ 994.172345][T10514] ? lock_downgrade+0x920/0x920 [ 994.177176][T10514] ? rxrpc_get_peer_maybe+0x2b0/0x4c0 [ 994.182879][T10514] ? rxrpc_peer_keepalive_worker+0x62e/0xd02 [ 994.188859][T10514] ? trace_hardirqs_on+0x67/0x240 [ 994.193864][T10514] ? rxrpc_peer_keepalive_worker+0x62e/0xd02 [ 994.199823][T10514] ? __local_bh_enable_ip+0x15a/0x270 [ 994.205374][T10514] rxrpc_peer_keepalive_worker+0x7be/0xd02 [ 994.211161][T10514] ? mark_held_locks+0xf0/0xf0 [ 994.215906][T10514] ? rxrpc_peer_add_rtt+0x650/0x650 [ 994.221090][T10514] ? trace_hardirqs_on+0x67/0x240 [ 994.226098][T10514] process_one_work+0x9af/0x1740 [ 994.231034][T10514] ? pwq_dec_nr_in_flight+0x320/0x320 [ 994.236396][T10514] ? lock_acquire+0x190/0x410 [ 994.241058][T10514] worker_thread+0x98/0xe40 [ 994.245538][T10514] ? trace_hardirqs_on+0x67/0x240 [ 994.250545][T10514] kthread+0x361/0x430 [ 994.254605][T10514] ? process_one_work+0x1740/0x1740 [ 994.259783][T10514] ? kthread_cancel_delayed_work_sync+0x20/0x20 [ 994.266039][T10514] ret_from_fork+0x24/0x30 [ 994.270482][T10514] [ 994.272792][T10514] Allocated by task 13899: [ 994.277190][T10514] save_stack+0x23/0x90 [ 994.281346][T10514] __kasan_kmalloc.constprop.0+0xcf/0xe0 [ 994.286957][T10514] kasan_kmalloc+0x9/0x10 [ 994.291267][T10514] kmem_cache_alloc_trace+0x158/0x790 [ 994.296704][T10514] rxrpc_alloc_connection+0x86/0x5f0 [ 994.301967][T10514] rxrpc_connect_call+0x648/0x4c00 [ 994.307071][T10514] rxrpc_new_client_call+0x978/0x19d0 [ 994.313298][T10514] rxrpc_do_sendmsg+0xff5/0x1d53 [ 994.318231][T10514] rxrpc_sendmsg+0x4d6/0x5f0 [ 994.322867][T10514] sock_sendmsg+0xd7/0x130 [ 994.327263][T10514] ___sys_sendmsg+0x3e2/0x920 [ 994.331928][T10514] __sys_sendmmsg+0x1bf/0x4d0 [ 994.336586][T10514] __x64_sys_sendmmsg+0x9d/0x100 [ 994.341502][T10514] do_syscall_64+0xfd/0x6a0 [ 994.345997][T10514] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 994.351888][T10514] [ 994.354202][T10514] Freed by task 9: [ 994.357925][T10514] save_stack+0x23/0x90 [ 994.362063][T10514] __kasan_slab_free+0x102/0x150 [ 994.367012][T10514] kasan_slab_free+0xe/0x10 [ 994.371495][T10514] kfree+0x10a/0x2c0 [ 994.375373][T10514] rxrpc_destroy_connection+0x1f2/0x2d0 [ 994.380898][T10514] rcu_core+0x67f/0x1580 [ 994.385121][T10514] rcu_core_si+0x9/0x10 [ 994.389266][T10514] __do_softirq+0x262/0x98c [ 994.393799][T10514] [ 994.396109][T10514] The buggy address belongs to the object at ffff88809bcf8000 [ 994.396109][T10514] which belongs to the cache kmalloc-1k of size 1024 [ 994.410167][T10514] The buggy address is located 24 bytes inside of [ 994.410167][T10514] 1024-byte region [ffff88809bcf8000, ffff88809bcf8400) [ 994.423416][T10514] The buggy address belongs to the page: [ 994.429030][T10514] page:ffffea00026f3e00 refcount:1 mapcount:0 mapping:ffff8880aa400c40 index:0xffff88809bcf9b00 compound_mapcount: 0 [ 994.441270][T10514] flags: 0x1fffc0000010200(slab|head) [ 994.446627][T10514] raw: 01fffc0000010200 ffffea0002209188 ffffea0002634c88 ffff8880aa400c40 [ 994.457124][T10514] raw: ffff88809bcf9b00 ffff88809bcf8000 0000000100000004 0000000000000000 [ 994.465689][T10514] page dumped because: kasan: bad access detected [ 994.472183][T10514] [ 994.474493][T10514] Memory state around the buggy address: [ 994.480107][T10514] ffff88809bcf7f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 994.488154][T10514] ffff88809bcf7f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 994.496196][T10514] >ffff88809bcf8000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 994.504234][T10514] ^ [ 994.509073][T10514] ffff88809bcf8080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 994.517125][T10514] ffff88809bcf8100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 994.525226][T10514] ================================================================== [ 994.534446][T10514] Kernel panic - not syncing: panic_on_warn set ... [ 994.541338][T10514] CPU: 1 PID: 10514 Comm: kworker/1:0 Tainted: G B 5.3.0-rc7 #0 [ 994.550378][T10514] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 994.560526][T10514] Workqueue: krxrpcd rxrpc_peer_keepalive_worker [ 994.566874][T10514] Call Trace: [ 994.570147][T10514] dump_stack+0x172/0x1f0 [ 994.574458][T10514] panic+0x2dc/0x755 [ 994.578362][T10514] ? add_taint.cold+0x16/0x16 [ 994.583027][T10514] ? rxrpc_send_keepalive+0x8a2/0x940 [ 994.588445][T10514] ? preempt_schedule+0x4b/0x60 [ 994.593278][T10514] ? ___preempt_schedule+0x16/0x20 [ 994.598381][T10514] ? trace_hardirqs_on+0x5e/0x240 [ 994.603388][T10514] ? rxrpc_send_keepalive+0x8a2/0x940 [ 994.608738][T10514] end_report+0x47/0x4f [ 994.612906][T10514] ? rxrpc_send_keepalive+0x8a2/0x940 [ 994.618290][T10514] __kasan_report.cold+0xe/0x36 [ 994.623139][T10514] ? enable_cpucache.cold+0x1a/0x1a [ 994.629033][T10514] ? rxrpc_send_keepalive+0x8a2/0x940 [ 994.634407][T10514] kasan_report+0x12/0x17 [ 994.638738][T10514] __asan_report_load8_noabort+0x14/0x20 [ 994.644362][T10514] rxrpc_send_keepalive+0x8a2/0x940 [ 994.649541][T10514] ? rxrpc_reject_packets+0xab0/0xab0 [ 994.654895][T10514] ? cpuacct_charge+0x1db/0x360 [ 994.659734][T10514] ? __kasan_check_read+0x11/0x20 [ 994.664746][T10514] ? rxrpc_peer_keepalive_worker+0x62e/0xd02 [ 994.670705][T10514] ? lock_downgrade+0x920/0x920 [ 994.675535][T10514] ? rxrpc_get_peer_maybe+0x2b0/0x4c0 [ 994.680884][T10514] ? rxrpc_peer_keepalive_worker+0x62e/0xd02 [ 994.686838][T10514] ? trace_hardirqs_on+0x67/0x240 [ 994.691931][T10514] ? rxrpc_peer_keepalive_worker+0x62e/0xd02 [ 994.697891][T10514] ? __local_bh_enable_ip+0x15a/0x270 [ 994.703261][T10514] rxrpc_peer_keepalive_worker+0x7be/0xd02 [ 994.709044][T10514] ? mark_held_locks+0xf0/0xf0 [ 994.713793][T10514] ? rxrpc_peer_add_rtt+0x650/0x650 [ 994.719077][T10514] ? trace_hardirqs_on+0x67/0x240 [ 994.724106][T10514] process_one_work+0x9af/0x1740 [ 994.729022][T10514] ? pwq_dec_nr_in_flight+0x320/0x320 [ 994.734371][T10514] ? lock_acquire+0x190/0x410 [ 994.739045][T10514] worker_thread+0x98/0xe40 [ 994.743523][T10514] ? trace_hardirqs_on+0x67/0x240 [ 994.748527][T10514] kthread+0x361/0x430 [ 994.752573][T10514] ? process_one_work+0x1740/0x1740 [ 994.757746][T10514] ? kthread_cancel_delayed_work_sync+0x20/0x20 [ 994.763967][T10514] ret_from_fork+0x24/0x30 [ 994.770649][T10514] Kernel Offset: disabled [ 994.774993][T10514] Rebooting in 86400 seconds..