[ 36.329878] audit: type=1800 audit(1555005748.446:33): pid=6966 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="startpar" name="rc.local" dev="sda1" ino=2465 res=0 [ 36.357885] audit: type=1800 audit(1555005748.456:34): pid=6966 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="startpar" name="rmnologin" dev="sda1" ino=2456 res=0 Debian GNU/Linux 7 syzkaller ttyS0 syzkaller login: [ 55.030862] random: sshd: uninitialized urandom read (32 bytes read) [ 55.609299] audit: type=1400 audit(1555005767.726:35): avc: denied { map } for pid=7139 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 [ 55.667900] random: sshd: uninitialized urandom read (32 bytes read) [ 56.229935] random: sshd: uninitialized urandom read (32 bytes read) [ 56.602878] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.15.196' (ECDSA) to the list of known hosts. [ 62.234312] random: sshd: uninitialized urandom read (32 bytes read) executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 62.353340] audit: type=1400 audit(1555005774.476:36): avc: denied { map } for pid=7151 comm="syz-executor358" path="/root/syz-executor358223444" dev="sda1" ino=16484 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 62.993479] ================================================================== [ 63.000887] BUG: KASAN: use-after-free in __lock_acquire+0x303c/0x45e0 [ 63.007550] Read of size 8 at addr ffff88808eada620 by task kworker/u4:3/2237 [ 63.014813] [ 63.016438] CPU: 1 PID: 2237 Comm: kworker/u4:3 Not tainted 4.14.111 #1 [ 63.023177] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 63.032541] Workqueue: tipc_rcv tipc_recv_work [ 63.037119] Call Trace: [ 63.039708] dump_stack+0x138/0x19c [ 63.043338] ? __lock_acquire+0x303c/0x45e0 [ 63.047660] print_address_description.cold+0x7c/0x1dc [ 63.053283] ? __lock_acquire+0x303c/0x45e0 [ 63.057610] kasan_report.cold+0xaf/0x2b5 [ 63.061756] __asan_report_load8_noabort+0x14/0x20 [ 63.066685] __lock_acquire+0x303c/0x45e0 [ 63.070832] ? __lock_acquire+0x5f9/0x45e0 [ 63.075074] ? preempt_schedule+0x4b/0x60 [ 63.079238] ? preempt_schedule_common+0x4f/0xe0 [ 63.083998] ? release_sock+0x14c/0x1c0 [ 63.087970] ? trace_hardirqs_on+0x10/0x10 [ 63.092204] ? save_trace+0x290/0x290 [ 63.096011] ? __local_bh_enable_ip+0x15e/0x1a0 [ 63.100679] ? __lock_is_held+0xb6/0x140 [ 63.104737] ? check_preemption_disabled+0x3c/0x250 [ 63.109772] lock_acquire+0x16f/0x430 [ 63.113584] ? tipc_subscrb_rcv_cb+0x505/0xa80 [ 63.118170] _raw_spin_lock_bh+0x33/0x50 [ 63.122234] ? tipc_subscrb_rcv_cb+0x505/0xa80 [ 63.126815] tipc_subscrb_rcv_cb+0x505/0xa80 [ 63.131221] tipc_receive_from_sock+0x28a/0x4e0 [ 63.135903] ? trace_hardirqs_on+0x10/0x10 [ 63.140140] ? tipc_send_work+0x5a0/0x5a0 [ 63.144291] ? process_one_work+0x787/0x1610 [ 63.148710] ? __lock_is_held+0xb6/0x140 [ 63.152767] ? check_preemption_disabled+0x3c/0x250 [ 63.157785] tipc_recv_work+0x8b/0xf0 [ 63.161591] process_one_work+0x868/0x1610 [ 63.165827] ? pwq_dec_nr_in_flight+0x2e0/0x2e0 [ 63.170495] worker_thread+0x5d9/0x1050 [ 63.174507] kthread+0x31c/0x430 [ 63.177871] ? process_one_work+0x1610/0x1610 [ 63.182365] ? kthread_create_on_node+0xd0/0xd0 [ 63.187035] ret_from_fork+0x3a/0x50 [ 63.190747] [ 63.192371] Allocated by task 75: [ 63.195820] save_stack_trace+0x16/0x20 [ 63.199793] save_stack+0x45/0xd0 [ 63.203370] kasan_kmalloc+0xce/0xf0 [ 63.207084] kmem_cache_alloc_trace+0x152/0x790 [ 63.211746] tipc_subscrb_connect_cb+0x46/0x160 [ 63.216415] tipc_accept_from_sock+0x280/0x470 [ 63.221184] tipc_recv_work+0x8b/0xf0 [ 63.224983] process_one_work+0x868/0x1610 [ 63.229245] worker_thread+0x5d9/0x1050 [ 63.233217] kthread+0x31c/0x430 [ 63.236588] ret_from_fork+0x3a/0x50 [ 63.240289] [ 63.241909] Freed by task 75: [ 63.245013] save_stack_trace+0x16/0x20 [ 63.248993] save_stack+0x45/0xd0 [ 63.252443] kasan_slab_free+0x75/0xc0 [ 63.256344] kfree+0xcc/0x270 [ 63.259448] tipc_subscrb_put+0x27/0x30 [ 63.263415] tipc_subscrb_release_cb+0x20/0x30 [ 63.267997] tipc_close_conn+0x179/0x210 [ 63.272054] tipc_send_work+0x470/0x5a0 [ 63.276026] process_one_work+0x868/0x1610 [ 63.280260] worker_thread+0x5d9/0x1050 [ 63.284267] kthread+0x31c/0x430 [ 63.287630] ret_from_fork+0x3a/0x50 [ 63.291357] [ 63.292979] The buggy address belongs to the object at ffff88808eada600 [ 63.292979] which belongs to the cache kmalloc-96 of size 96 [ 63.305485] The buggy address is located 32 bytes inside of [ 63.305485] 96-byte region [ffff88808eada600, ffff88808eada660) [ 63.317202] The buggy address belongs to the page: [ 63.322133] page:ffffea00023ab680 count:1 mapcount:0 mapping:ffff88808eada000 index:0xffff88808eada580 [ 63.331572] flags: 0x1fffc0000000100(slab) [ 63.335804] raw: 01fffc0000000100 ffff88808eada000 ffff88808eada580 000000010000001f [ 63.343714] raw: ffffea00024de920 ffffea00025ceea0 ffff8880aa8004c0 0000000000000000 [ 63.351612] page dumped because: kasan: bad access detected [ 63.357314] [ 63.358931] Memory state around the buggy address: [ 63.363854] ffff88808eada500: 00 00 00 00 00 00 00 00 05 fc fc fc fc fc fc fc [ 63.371209] ffff88808eada580: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 63.378571] >ffff88808eada600: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 63.385954] ^ [ 63.390360] ffff88808eada680: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 63.397713] ffff88808eada700: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc [ 63.405065] ================================================================== [ 63.412618] Disabling lock debugging due to kernel taint [ 63.418059] Kernel panic - not syncing: panic_on_warn set ... [ 63.418059] [ 63.425418] CPU: 1 PID: 2237 Comm: kworker/u4:3 Tainted: G B 4.14.111 #1 [ 63.433377] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 63.442735] Workqueue: tipc_rcv tipc_recv_work [ 63.447316] Call Trace: [ 63.449906] dump_stack+0x138/0x19c [ 63.453539] ? __lock_acquire+0x303c/0x45e0 [ 63.457858] panic+0x1f2/0x438 [ 63.461050] ? add_taint.cold+0x16/0x16 [ 63.465026] ? lock_downgrade+0x6e0/0x6e0 [ 63.469179] kasan_end_report+0x47/0x4f [ 63.473178] kasan_report.cold+0x136/0x2b5 [ 63.477412] __asan_report_load8_noabort+0x14/0x20 [ 63.482407] __lock_acquire+0x303c/0x45e0 [ 63.486553] ? __lock_acquire+0x5f9/0x45e0 [ 63.490786] ? preempt_schedule+0x4b/0x60 [ 63.494933] ? preempt_schedule_common+0x4f/0xe0 [ 63.499740] ? release_sock+0x14c/0x1c0 [ 63.503718] ? trace_hardirqs_on+0x10/0x10 [ 63.507954] ? save_trace+0x290/0x290 [ 63.511755] ? __local_bh_enable_ip+0x15e/0x1a0 [ 63.516423] ? __lock_is_held+0xb6/0x140 [ 63.520484] ? check_preemption_disabled+0x3c/0x250 [ 63.525503] lock_acquire+0x16f/0x430 [ 63.529306] ? tipc_subscrb_rcv_cb+0x505/0xa80 [ 63.533889] _raw_spin_lock_bh+0x33/0x50 [ 63.537947] ? tipc_subscrb_rcv_cb+0x505/0xa80 [ 63.542519] tipc_subscrb_rcv_cb+0x505/0xa80 [ 63.546976] tipc_receive_from_sock+0x28a/0x4e0 [ 63.551829] ? trace_hardirqs_on+0x10/0x10 [ 63.556070] ? tipc_send_work+0x5a0/0x5a0 [ 63.560217] ? process_one_work+0x787/0x1610 [ 63.564975] ? __lock_is_held+0xb6/0x140 [ 63.569038] ? check_preemption_disabled+0x3c/0x250 [ 63.574053] tipc_recv_work+0x8b/0xf0 [ 63.577834] process_one_work+0x868/0x1610 [ 63.588803] ? pwq_dec_nr_in_flight+0x2e0/0x2e0 [ 63.593481] worker_thread+0x5d9/0x1050 [ 63.597455] kthread+0x31c/0x430 [ 63.600826] ? process_one_work+0x1610/0x1610 [ 63.605347] ? kthread_create_on_node+0xd0/0xd0 [ 63.610139] ret_from_fork+0x3a/0x50 [ 63.614544] Kernel Offset: disabled [ 63.618227] Rebooting in 86400 seconds..