[ 33.743504] audit: type=1800 audit(1556371682.519:33): pid=6945 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 [ 33.781805] audit: type=1800 audit(1556371682.559:34): pid=6945 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: [ 36.815078] random: sshd: uninitialized urandom read (32 bytes read) [ 37.086215] audit: type=1400 audit(1556371685.859:35): avc: denied { map } for pid=7118 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 [ 37.138269] random: sshd: uninitialized urandom read (32 bytes read) [ 37.748596] random: sshd: uninitialized urandom read (32 bytes read) [ 37.944865] random: sshd: uninitialized urandom read (32 bytes read) Warning: Permanently added '10.128.0.118' (ECDSA) to the list of known hosts. [ 43.576059] random: sshd: uninitialized urandom read (32 bytes read) [ 43.705764] audit: type=1400 audit(1556371692.479:36): avc: denied { map } for pid=7130 comm="syz-executor344" path="/root/syz-executor344552989" 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 [ 44.460264] IPVS: ftp: loaded support on port[0] = 21 [ 44.776340] chnl_net:caif_netlink_parms(): no params data found [ 44.807033] bridge0: port 1(bridge_slave_0) entered blocking state [ 44.814186] bridge0: port 1(bridge_slave_0) entered disabled state [ 44.821434] device bridge_slave_0 entered promiscuous mode [ 44.828516] bridge0: port 2(bridge_slave_1) entered blocking state [ 44.835322] bridge0: port 2(bridge_slave_1) entered disabled state [ 44.842384] device bridge_slave_1 entered promiscuous mode [ 44.857530] bond0: Enslaving bond_slave_0 as an active interface with an up link [ 44.866895] bond0: Enslaving bond_slave_1 as an active interface with an up link [ 44.884803] IPv6: ADDRCONF(NETDEV_UP): team_slave_0: link is not ready [ 44.892454] team0: Port device team_slave_0 added [ 44.897879] IPv6: ADDRCONF(NETDEV_UP): team_slave_1: link is not ready [ 44.905322] team0: Port device team_slave_1 added [ 44.910642] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_0: link is not ready [ 44.917857] IPv6: ADDRCONF(NETDEV_UP): bridge_slave_1: link is not ready [ 44.972371] device hsr_slave_0 entered promiscuous mode [ 45.040329] device hsr_slave_1 entered promiscuous mode [ 45.080580] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_0: link is not ready [ 45.087577] IPv6: ADDRCONF(NETDEV_UP): hsr_slave_1: link is not ready [ 45.101252] bridge0: port 2(bridge_slave_1) entered blocking state [ 45.107676] bridge0: port 2(bridge_slave_1) entered forwarding state [ 45.114624] bridge0: port 1(bridge_slave_0) entered blocking state [ 45.121025] bridge0: port 1(bridge_slave_0) entered forwarding state [ 45.148786] IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready [ 45.155799] 8021q: adding VLAN 0 to HW filter on device bond0 [ 45.165422] IPv6: ADDRCONF(NETDEV_UP): veth0: link is not ready [ 45.174356] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 45.193531] bridge0: port 1(bridge_slave_0) entered disabled state [ 45.200924] bridge0: port 2(bridge_slave_1) entered disabled state [ 45.210478] IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready [ 45.216572] 8021q: adding VLAN 0 to HW filter on device team0 [ 45.225466] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 45.233102] bridge0: port 1(bridge_slave_0) entered blocking state [ 45.239441] bridge0: port 1(bridge_slave_0) entered forwarding state [ 45.248541] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 45.256607] bridge0: port 2(bridge_slave_1) entered blocking state [ 45.263013] bridge0: port 2(bridge_slave_1) entered forwarding state [ 45.277662] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 45.285387] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 45.295081] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 45.305260] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 45.316730] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 45.327511] IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready [ 45.333991] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 45.341095] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready executing program [ 45.354226] IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready [ 45.364493] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 45.389912] ================================================================== [ 45.397435] BUG: KASAN: slab-out-of-bounds in erspan_build_header+0x392/0x3b0 [ 45.404702] Read of size 2 at addr ffff8880a0265c8b by task syz-executor344/7131 [ 45.412217] [ 45.413836] CPU: 1 PID: 7131 Comm: syz-executor344 Not tainted 4.14.114 #4 [ 45.420827] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 45.430168] Call Trace: [ 45.432764] dump_stack+0x138/0x19c [ 45.436384] ? erspan_build_header+0x392/0x3b0 [ 45.440957] print_address_description.cold+0x7c/0x1dc [ 45.446220] ? erspan_build_header+0x392/0x3b0 [ 45.450820] kasan_report.cold+0xaf/0x2b5 [ 45.454958] __asan_report_load_n_noabort+0xf/0x20 [ 45.459879] erspan_build_header+0x392/0x3b0 [ 45.464280] ? iptunnel_handle_offloads+0x2f3/0x500 [ 45.469311] erspan_xmit+0x3ec/0x11c0 [ 45.473105] ? __gre_xmit+0x890/0x890 [ 45.476918] ? lock_acquire+0x16f/0x430 [ 45.480884] ? packet_direct_xmit+0x345/0x640 [ 45.485368] packet_direct_xmit+0x438/0x640 [ 45.489682] packet_sendmsg+0x31e1/0x5990 [ 45.493848] ? __might_fault+0x110/0x1d0 [ 45.497905] ? rw_copy_check_uvector+0x1f1/0x290 [ 45.502660] ? packet_notifier+0x770/0x770 [ 45.506883] ? copy_msghdr_from_user+0x292/0x3f0 [ 45.511647] ? security_socket_sendmsg+0x8f/0xc0 [ 45.516394] ? packet_notifier+0x770/0x770 [ 45.520617] sock_sendmsg+0xd0/0x110 [ 45.524318] ___sys_sendmsg+0x70c/0x850 [ 45.528304] ? copy_msghdr_from_user+0x3f0/0x3f0 [ 45.533048] ? lock_downgrade+0x6e0/0x6e0 [ 45.537186] ? kasan_check_write+0x14/0x20 [ 45.541426] ? _copy_from_user+0x99/0x110 [ 45.545578] ? packet_setsockopt+0xe9/0x2830 [ 45.549973] ? sock_has_perm+0x1ed/0x280 [ 45.554017] ? selinux_tun_dev_create+0xc0/0xc0 [ 45.558675] ? __fdget+0x1b/0x20 [ 45.562029] ? sockfd_lookup_light+0xb4/0x160 [ 45.566514] __sys_sendmsg+0xb9/0x140 [ 45.570308] ? SyS_shutdown+0x180/0x180 [ 45.574270] ? security_socket_setsockopt+0x8f/0xc0 [ 45.579286] ? SyS_recv+0x40/0x40 [ 45.582738] SyS_sendmsg+0x2d/0x50 [ 45.586275] ? __sys_sendmsg+0x140/0x140 [ 45.590331] do_syscall_64+0x1eb/0x630 [ 45.594206] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 45.599064] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 45.604251] RIP: 0033:0x441a29 [ 45.607424] RSP: 002b:00007ffc5ce97728 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 45.615115] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000441a29 [ 45.622372] RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000003 [ 45.629625] RBP: 00000000004a9750 R08: 0000000001bbbbbb R09: 0000000001bbbbbb [ 45.636895] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000402f10 [ 45.644158] R13: 0000000000402fa0 R14: 0000000000000000 R15: 0000000000000000 [ 45.651418] [ 45.653038] Allocated by task 6043: [ 45.656657] save_stack_trace+0x16/0x20 [ 45.660615] save_stack+0x45/0xd0 [ 45.664052] kasan_kmalloc+0xce/0xf0 [ 45.667741] kasan_slab_alloc+0xf/0x20 [ 45.671643] kmem_cache_alloc+0x12e/0x780 [ 45.675778] getname_flags+0xcb/0x580 [ 45.679563] user_path_at_empty+0x2f/0x50 [ 45.683695] SyS_access+0x1ed/0x670 [ 45.687327] do_syscall_64+0x1eb/0x630 [ 45.691201] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 45.696368] [ 45.697989] Freed by task 6043: [ 45.701257] save_stack_trace+0x16/0x20 [ 45.705229] save_stack+0x45/0xd0 [ 45.708677] kasan_slab_free+0x75/0xc0 [ 45.712568] kmem_cache_free+0x83/0x2b0 [ 45.716538] putname+0xdb/0x120 [ 45.719812] filename_lookup+0x23a/0x380 [ 45.723855] user_path_at_empty+0x43/0x50 [ 45.727981] SyS_access+0x1ed/0x670 [ 45.731595] do_syscall_64+0x1eb/0x630 [ 45.735467] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 45.740633] [ 45.742249] The buggy address belongs to the object at ffff8880a0264580 [ 45.742249] which belongs to the cache names_cache of size 4096 [ 45.754989] The buggy address is located 1803 bytes to the right of [ 45.754989] 4096-byte region [ffff8880a0264580, ffff8880a0265580) [ 45.767547] The buggy address belongs to the page: [ 45.772470] page:ffffea0002809900 count:1 mapcount:0 mapping:ffff8880a0264580 index:0x0 compound_mapcount: 0 [ 45.782450] flags: 0x1fffc0000008100(slab|head) [ 45.787113] raw: 01fffc0000008100 ffff8880a0264580 0000000000000000 0000000100000001 [ 45.794987] raw: ffffea000217a420 ffffea0002172620 ffff8880aa9e0cc0 0000000000000000 [ 45.802858] page dumped because: kasan: bad access detected [ 45.808571] [ 45.810181] Memory state around the buggy address: [ 45.815100] ffff8880a0265b80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 45.822452] ffff8880a0265c00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 45.829803] >ffff8880a0265c80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 45.837156] ^ [ 45.840776] ffff8880a0265d00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 45.848147] ffff8880a0265d80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 45.855494] ================================================================== [ 45.862839] Disabling lock debugging due to kernel taint [ 45.868533] Kernel panic - not syncing: panic_on_warn set ... [ 45.868533] [ 45.875913] CPU: 1 PID: 7131 Comm: syz-executor344 Tainted: G B 4.14.114 #4 [ 45.884144] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 45.893482] Call Trace: [ 45.896058] dump_stack+0x138/0x19c [ 45.899698] ? erspan_build_header+0x392/0x3b0 [ 45.904289] panic+0x1f2/0x438 [ 45.907470] ? add_taint.cold+0x16/0x16 [ 45.911429] kasan_end_report+0x47/0x4f [ 45.915398] kasan_report.cold+0x136/0x2b5 [ 45.919616] __asan_report_load_n_noabort+0xf/0x20 [ 45.924530] erspan_build_header+0x392/0x3b0 [ 45.928926] ? iptunnel_handle_offloads+0x2f3/0x500 [ 45.933927] erspan_xmit+0x3ec/0x11c0 [ 45.937718] ? __gre_xmit+0x890/0x890 [ 45.941523] ? lock_acquire+0x16f/0x430 [ 45.945496] ? packet_direct_xmit+0x345/0x640 [ 45.949969] packet_direct_xmit+0x438/0x640 [ 45.954276] packet_sendmsg+0x31e1/0x5990 [ 45.958431] ? __might_fault+0x110/0x1d0 [ 45.962475] ? rw_copy_check_uvector+0x1f1/0x290 [ 45.967212] ? packet_notifier+0x770/0x770 [ 45.971434] ? copy_msghdr_from_user+0x292/0x3f0 [ 45.976175] ? security_socket_sendmsg+0x8f/0xc0 [ 45.981019] ? packet_notifier+0x770/0x770 [ 45.985234] sock_sendmsg+0xd0/0x110 [ 45.988946] ___sys_sendmsg+0x70c/0x850 [ 45.992990] ? copy_msghdr_from_user+0x3f0/0x3f0 [ 45.997730] ? lock_downgrade+0x6e0/0x6e0 [ 46.001859] ? kasan_check_write+0x14/0x20 [ 46.006074] ? _copy_from_user+0x99/0x110 [ 46.010219] ? packet_setsockopt+0xe9/0x2830 [ 46.014618] ? sock_has_perm+0x1ed/0x280 [ 46.018664] ? selinux_tun_dev_create+0xc0/0xc0 [ 46.023334] ? __fdget+0x1b/0x20 [ 46.026684] ? sockfd_lookup_light+0xb4/0x160 [ 46.031161] __sys_sendmsg+0xb9/0x140 [ 46.034954] ? SyS_shutdown+0x180/0x180 [ 46.038924] ? security_socket_setsockopt+0x8f/0xc0 [ 46.043951] ? SyS_recv+0x40/0x40 [ 46.047389] SyS_sendmsg+0x2d/0x50 [ 46.050908] ? __sys_sendmsg+0x140/0x140 [ 46.054958] do_syscall_64+0x1eb/0x630 [ 46.058828] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 46.063657] entry_SYSCALL_64_after_hwframe+0x42/0xb7 [ 46.068827] RIP: 0033:0x441a29 [ 46.071997] RSP: 002b:00007ffc5ce97728 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 46.079684] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000441a29 [ 46.086951] RDX: 0000000000000000 RSI: 0000000020000040 RDI: 0000000000000003 [ 46.094205] RBP: 00000000004a9750 R08: 0000000001bbbbbb R09: 0000000001bbbbbb [ 46.101460] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000402f10 [ 46.108714] R13: 0000000000402fa0 R14: 0000000000000000 R15: 0000000000000000 [ 46.117084] Kernel Offset: disabled [ 46.120719] Rebooting in 86400 seconds..