Warning: Permanently added '10.128.0.108' (ECDSA) to the list of known hosts. [ 45.205065] random: sshd: uninitialized urandom read (32 bytes read) [ 45.321506] audit: type=1400 audit(1584907391.239:36): avc: denied { map } for pid=7333 comm="syz-executor381" path="/root/syz-executor381074400" dev="sda1" ino=16483 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 [ 45.324606] ================================================================== [ 45.355182] BUG: KASAN: slab-out-of-bounds in selinux_xfrm_alloc_user+0x1e3/0x3b0 [ 45.362829] Read of size 768 at addr ffff888086059374 by task syz-executor381/7333 [ 45.370508] [ 45.372158] CPU: 0 PID: 7333 Comm: syz-executor381 Not tainted 4.14.174-syzkaller #0 [ 45.380019] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 45.389395] Call Trace: [ 45.391967] dump_stack+0x13e/0x194 [ 45.395574] ? selinux_xfrm_alloc_user+0x1e3/0x3b0 [ 45.400485] print_address_description.cold+0x7c/0x1e2 [ 45.405740] ? selinux_xfrm_alloc_user+0x1e3/0x3b0 [ 45.410648] kasan_report.cold+0xa9/0x2ae [ 45.414775] memcpy+0x20/0x50 [ 45.417864] selinux_xfrm_alloc_user+0x1e3/0x3b0 [ 45.422600] security_xfrm_policy_alloc+0x76/0xb0 [ 45.427423] xfrm_policy_construct+0x287/0x570 [ 45.431985] xfrm_add_acquire+0x1f5/0x990 [ 45.436128] ? __lock_acquire+0x2298/0x4620 [ 45.440436] ? cap_capable+0x1c4/0x230 [ 45.444305] ? build_aevent+0xb20/0xb20 [ 45.448257] ? build_aevent+0xb20/0xb20 [ 45.452207] xfrm_user_rcv_msg+0x37d/0x5f0 [ 45.456421] ? xfrm_dump_sa_done+0xd0/0xd0 [ 45.460635] ? __lock_acquire+0x5f7/0x4620 [ 45.464861] ? xfrm_netlink_rcv+0x5c/0x90 [ 45.468992] netlink_rcv_skb+0x127/0x370 [ 45.473035] ? xfrm_dump_sa_done+0xd0/0xd0 [ 45.477254] ? netlink_ack+0x980/0x980 [ 45.481121] ? lock_downgrade+0x6e0/0x6e0 [ 45.485255] xfrm_netlink_rcv+0x6b/0x90 [ 45.489206] netlink_unicast+0x437/0x620 [ 45.493258] ? netlink_attachskb+0x600/0x600 [ 45.497648] netlink_sendmsg+0x733/0xbe0 [ 45.501710] ? netlink_unicast+0x620/0x620 [ 45.505923] ? SYSC_sendto+0x2b0/0x2b0 [ 45.509789] ? security_socket_sendmsg+0x83/0xb0 [ 45.514526] ? netlink_unicast+0x620/0x620 [ 45.518739] sock_sendmsg+0xc5/0x100 [ 45.522433] ___sys_sendmsg+0x70a/0x840 [ 45.526402] ? do_huge_pmd_anonymous_page+0xc63/0x11e0 [ 45.531657] ? copy_msghdr_from_user+0x380/0x380 [ 45.536392] ? lock_downgrade+0x6e0/0x6e0 [ 45.540527] ? __lru_cache_add+0x17b/0x250 [ 45.544746] ? do_raw_spin_unlock+0x164/0x250 [ 45.549222] ? _raw_spin_unlock+0x29/0x40 [ 45.553350] ? prep_transhuge_page+0xa0/0xa0 [ 45.557737] ? pud_val+0x6c/0xd0 [ 45.561083] ? pmd_val+0xd0/0xd0 [ 45.564425] ? trace_hardirqs_on+0x10/0x10 [ 45.568637] ? __handle_mm_fault+0x644/0x3280 [ 45.573109] ? save_trace+0x290/0x290 [ 45.576886] ? copy_page_range+0x1d70/0x1d70 [ 45.581275] ? __fget_light+0x16a/0x1f0 [ 45.585231] ? sockfd_lookup_light+0xb2/0x160 [ 45.589701] __sys_sendmsg+0xa3/0x120 [ 45.593480] ? SyS_shutdown+0x160/0x160 [ 45.597435] ? up_read+0x17/0x30 [ 45.600778] ? __do_page_fault+0x35b/0xb40 [ 45.604988] SyS_sendmsg+0x27/0x40 [ 45.608505] ? __sys_sendmsg+0x120/0x120 [ 45.612547] do_syscall_64+0x1d5/0x640 [ 45.616434] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 45.621610] RIP: 0033:0x4405f9 [ 45.624793] RSP: 002b:00007fff85641518 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 45.632476] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004405f9 [ 45.639723] RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000003 [ 45.647007] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 45.654259] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401e80 [ 45.661509] R13: 0000000000401f10 R14: 0000000000000000 R15: 0000000000000000 [ 45.668774] [ 45.670381] Allocated by task 7333: [ 45.673990] save_stack+0x32/0xa0 [ 45.677416] kasan_kmalloc+0xbf/0xe0 [ 45.681104] __kmalloc_node_track_caller+0x4c/0x70 [ 45.686011] __kmalloc_reserve.isra.0+0x35/0xd0 [ 45.690655] __alloc_skb+0xca/0x4c0 [ 45.694262] netlink_sendmsg+0x7de/0xbe0 [ 45.698297] sock_sendmsg+0xc5/0x100 [ 45.701985] ___sys_sendmsg+0x70a/0x840 [ 45.705946] __sys_sendmsg+0xa3/0x120 [ 45.709741] SyS_sendmsg+0x27/0x40 [ 45.713263] do_syscall_64+0x1d5/0x640 [ 45.717127] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 45.722287] [ 45.723910] Freed by task 0: [ 45.726900] (stack is not available) [ 45.730585] [ 45.732190] The buggy address belongs to the object at ffff888086059240 [ 45.732190] which belongs to the cache kmalloc-1024 of size 1024 [ 45.744995] The buggy address is located 308 bytes inside of [ 45.744995] 1024-byte region [ffff888086059240, ffff888086059640) [ 45.756938] The buggy address belongs to the page: [ 45.761850] page:ffffea0002181600 count:1 mapcount:0 mapping:ffff888086058040 index:0x0 compound_mapcount: 0 [ 45.771794] flags: 0xfffe0000008100(slab|head) [ 45.776358] raw: 00fffe0000008100 ffff888086058040 0000000000000000 0000000100000007 [ 45.784220] raw: ffffea00029880a0 ffffea00025512a0 ffff88812fe56ac0 0000000000000000 [ 45.792078] page dumped because: kasan: bad access detected [ 45.797762] [ 45.799376] Memory state around the buggy address: [ 45.804291] ffff888086059500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 45.811632] ffff888086059580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 executing program [ 45.818992] >ffff888086059600: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 45.826335] ^ [ 45.831784] ffff888086059680: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 45.839124] ffff888086059700: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 45.846468] ================================================================== [ 45.853824] Disabling lock debugging due to kernel taint [ 45.859867] Kernel panic - not syncing: panic_on_warn set ... [ 45.859867] [ 45.867252] CPU: 0 PID: 7333 Comm: syz-executor381 Tainted: G B 4.14.174-syzkaller #0 [ 45.876326] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 45.885696] Call Trace: [ 45.888265] dump_stack+0x13e/0x194 [ 45.891869] panic+0x1f9/0x42d [ 45.895038] ? add_taint.cold+0x16/0x16 [ 45.898989] ? preempt_schedule_common+0x4a/0xc0 [ 45.903734] ? selinux_xfrm_alloc_user+0x1e3/0x3b0 [ 45.908656] ? ___preempt_schedule+0x16/0x18 [ 45.913045] ? selinux_xfrm_alloc_user+0x1e3/0x3b0 [ 45.917993] kasan_end_report+0x43/0x49 [ 45.921948] kasan_report.cold+0x12f/0x2ae [ 45.926167] memcpy+0x20/0x50 [ 45.929298] selinux_xfrm_alloc_user+0x1e3/0x3b0 [ 45.934030] security_xfrm_policy_alloc+0x76/0xb0 [ 45.938852] xfrm_policy_construct+0x287/0x570 [ 45.943451] xfrm_add_acquire+0x1f5/0x990 [ 45.947623] ? __lock_acquire+0x2298/0x4620 [ 45.951956] ? cap_capable+0x1c4/0x230 [ 45.955834] ? build_aevent+0xb20/0xb20 [ 45.960230] ? build_aevent+0xb20/0xb20 [ 45.964185] xfrm_user_rcv_msg+0x37d/0x5f0 [ 45.968412] ? xfrm_dump_sa_done+0xd0/0xd0 [ 45.972636] ? __lock_acquire+0x5f7/0x4620 [ 45.976855] ? xfrm_netlink_rcv+0x5c/0x90 [ 45.980979] netlink_rcv_skb+0x127/0x370 [ 45.985094] ? xfrm_dump_sa_done+0xd0/0xd0 [ 45.989305] ? netlink_ack+0x980/0x980 [ 45.993172] ? lock_downgrade+0x6e0/0x6e0 [ 45.997304] xfrm_netlink_rcv+0x6b/0x90 [ 46.001256] netlink_unicast+0x437/0x620 [ 46.005308] ? netlink_attachskb+0x600/0x600 [ 46.010563] netlink_sendmsg+0x733/0xbe0 [ 46.014637] ? netlink_unicast+0x620/0x620 [ 46.018846] ? SYSC_sendto+0x2b0/0x2b0 [ 46.022798] ? security_socket_sendmsg+0x83/0xb0 [ 46.027530] ? netlink_unicast+0x620/0x620 [ 46.031817] sock_sendmsg+0xc5/0x100 [ 46.035566] ___sys_sendmsg+0x70a/0x840 [ 46.039550] ? do_huge_pmd_anonymous_page+0xc63/0x11e0 [ 46.044810] ? copy_msghdr_from_user+0x380/0x380 [ 46.049565] ? lock_downgrade+0x6e0/0x6e0 [ 46.053720] ? __lru_cache_add+0x17b/0x250 [ 46.057935] ? do_raw_spin_unlock+0x164/0x250 [ 46.062414] ? _raw_spin_unlock+0x29/0x40 [ 46.066595] ? prep_transhuge_page+0xa0/0xa0 [ 46.070994] ? pud_val+0x6c/0xd0 [ 46.074337] ? pmd_val+0xd0/0xd0 [ 46.077681] ? trace_hardirqs_on+0x10/0x10 [ 46.081894] ? __handle_mm_fault+0x644/0x3280 [ 46.086417] ? save_trace+0x290/0x290 [ 46.090231] ? copy_page_range+0x1d70/0x1d70 [ 46.094640] ? __fget_light+0x16a/0x1f0 [ 46.098615] ? sockfd_lookup_light+0xb2/0x160 [ 46.103087] __sys_sendmsg+0xa3/0x120 [ 46.106868] ? SyS_shutdown+0x160/0x160 [ 46.110825] ? up_read+0x17/0x30 [ 46.114179] ? __do_page_fault+0x35b/0xb40 [ 46.118396] SyS_sendmsg+0x27/0x40 [ 46.121923] ? __sys_sendmsg+0x120/0x120 [ 46.125964] do_syscall_64+0x1d5/0x640 [ 46.129854] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 46.135020] RIP: 0033:0x4405f9 [ 46.138189] RSP: 002b:00007fff85641518 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 46.145875] RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004405f9 [ 46.153135] RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000003 [ 46.160381] RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 [ 46.167628] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401e80 [ 46.174874] R13: 0000000000401f10 R14: 0000000000000000 R15: 0000000000000000 [ 46.183401] Kernel Offset: disabled [ 46.187035] Rebooting in 86400 seconds..