UBSAN: object-size-mismatch in wg_xmit
================================================================================
UBSAN: object-size-mismatch in ./include/linux/skbuff.h:2086:28
member access within address ffffc90000187140 with insufficient space
for an object of type 'struct sk_buff'
CPU: 1 PID: 23 Comm: kworker/1:0 Not tainted 5.16.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: ipv6_addrconf addrconf_dad_work
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106
dump_stack+0x15/0x17 lib/dump_stack.c:113
ubsan_epilogue lib/ubsan.c:151 [inline]
handle_object_size_mismatch lib/ubsan.c:232 [inline]
ubsan_type_mismatch_common+0x1e9/0x390 lib/ubsan.c:245
__ubsan_handle_type_mismatch_v1+0x4b/0x60 lib/ubsan.c:274
__skb_queue_before include/linux/skbuff.h:2086 [inline]
__skb_queue_tail include/linux/skbuff.h:2119 [inline]
wg_xmit+0x502/0xae0 drivers/net/wireguard/device.c:185
__netdev_start_xmit include/linux/netdevice.h:4994 [inline]
netdev_start_xmit+0x8a/0x160 include/linux/netdevice.h:5008
xmit_one net/core/dev.c:3590 [inline]
dev_hard_start_xmit+0x18d/0x2f0 net/core/dev.c:3606
__dev_queue_xmit+0x1273/0x2110 net/core/dev.c:4229
dev_queue_xmit+0x17/0x20 net/core/dev.c:4262
neigh_connected_output+0x288/0x2b0 net/core/neighbour.c:1551
neigh_output include/net/neighbour.h:527 [inline]
ip6_finish_output2+0xb23/0x10c0 net/ipv6/ip6_output.c:126
__ip6_finish_output+0x3e6/0x530 net/ipv6/ip6_output.c:191
ip6_finish_output+0x20b/0x220 net/ipv6/ip6_output.c:201
NF_HOOK_COND include/linux/netfilter.h:296 [inline]
ip6_output+0x1f8/0x4a0 net/ipv6/ip6_output.c:224
dst_output include/net/dst.h:450 [inline]
NF_HOOK+0xdd/0x280 include/linux/netfilter.h:307
ndisc_send_skb+0x6b6/0xaa0 net/ipv6/ndisc.c:508
ndisc_send_rs+0x26c/0x360 net/ipv6/ndisc.c:702
addrconf_dad_completed+0x543/0xa70 net/ipv6/addrconf.c:4216
addrconf_dad_work+0xbdf/0x1440
process_one_work+0x405/0x6c0 kernel/workqueue.c:2298
worker_thread+0x6fd/0xa80 kernel/workqueue.c:2445
kthread+0x372/0x450 kernel/kthread.c:327
ret_from_fork+0x1f/0x30
================================================================================
================================================================================
UBSAN: object-size-mismatch in ./include/linux/skbuff.h:1979:2
member access within address ffffc90000187140 with insufficient space
for an object of type 'struct sk_buff'
CPU: 1 PID: 23 Comm: kworker/1:0 Not tainted 5.16.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Workqueue: ipv6_addrconf addrconf_dad_work
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106
dump_stack+0x15/0x17 lib/dump_stack.c:113
ubsan_epilogue lib/ubsan.c:151 [inline]
handle_object_size_mismatch lib/ubsan.c:232 [inline]
ubsan_type_mismatch_common+0x1e9/0x390 lib/ubsan.c:245
__ubsan_handle_type_mismatch_v1+0x4b/0x60 lib/ubsan.c:274
__skb_insert include/linux/skbuff.h:1979 [inline]
__skb_queue_before include/linux/skbuff.h:2086 [inline]
__skb_queue_tail include/linux/skbuff.h:2119 [inline]
wg_xmit+0x573/0xae0 drivers/net/wireguard/device.c:185
__netdev_start_xmit include/linux/netdevice.h:4994 [inline]
netdev_start_xmit+0x8a/0x160 include/linux/netdevice.h:5008
xmit_one net/core/dev.c:3590 [inline]
dev_hard_start_xmit+0x18d/0x2f0 net/core/dev.c:3606
__dev_queue_xmit+0x1273/0x2110 net/core/dev.c:4229
dev_queue_xmit+0x17/0x20 net/core/dev.c:4262
neigh_connected_output+0x288/0x2b0 net/core/neighbour.c:1551
neigh_output include/net/neighbour.h:527 [inline]
ip6_finish_output2+0xb23/0x10c0 net/ipv6/ip6_output.c:126
__ip6_finish_output+0x3e6/0x530 net/ipv6/ip6_output.c:191
ip6_finish_output+0x20b/0x220 net/ipv6/ip6_output.c:201
NF_HOOK_COND include/linux/netfilter.h:296 [inline]
ip6_output+0x1f8/0x4a0 net/ipv6/ip6_output.c:224
dst_output include/net/dst.h:450 [inline]
NF_HOOK+0xdd/0x280 include/linux/netfilter.h:307
ndisc_send_skb+0x6b6/0xaa0 net/ipv6/ndisc.c:508
ndisc_send_rs+0x26c/0x360 net/ipv6/ndisc.c:702
addrconf_dad_completed+0x543/0xa70 net/ipv6/addrconf.c:4216
addrconf_dad_work+0xbdf/0x1440
process_one_work+0x405/0x6c0 kernel/workqueue.c:2298
worker_thread+0x6fd/0xa80 kernel/workqueue.c:2445
kthread+0x372/0x450 kernel/kthread.c:327
ret_from_fork+0x1f/0x30
================================================================================
Warning: Permanently added '10.128.0.212' (ECDSA) to the list of known hosts.
2022/11/25 02:45:08 fuzzer started
2022/11/25 02:45:08 connecting to host at 10.128.0.163:39511
2022/11/25 02:45:08 checking machine...
2022/11/25 02:45:08 checking revisions...
2022/11/25 02:45:09 testing simple program...
[ 20.965033][ T28] audit: type=1400 audit(1669344309.060:62): avc: denied { getattr } for pid=401 comm="syz-fuzzer" path="user:[4026531837]" dev="nsfs" ino=4026531837 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:nsfs_t tclass=file permissive=1
[ 20.983781][ T410] cgroup: Unknown subsys name 'net'
[ 20.988347][ T28] audit: type=1400 audit(1669344309.070:63): avc: denied { read } for pid=401 comm="syz-fuzzer" dev="nsfs" ino=4026531837 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:nsfs_t tclass=file permissive=1
[ 21.014164][ T28] audit: type=1400 audit(1669344309.070:64): avc: denied { open } for pid=401 comm="syz-fuzzer" path="user:[4026531837]" dev="nsfs" ino=4026531837 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:nsfs_t tclass=file permissive=1
[ 21.014349][ T410] cgroup: Unknown subsys name 'devices'
[ 21.037026][ T28] audit: type=1400 audit(1669344309.070:65): avc: denied { read } for pid=401 comm="syz-fuzzer" name="raw-gadget" dev="devtmpfs" ino=161 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:device_t tclass=chr_file permissive=1
[ 21.037055][ T28] audit: type=1400 audit(1669344309.070:66): avc: denied { open } for pid=401 comm="syz-fuzzer" path="/dev/raw-gadget" dev="devtmpfs" ino=161 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:device_t tclass=chr_file permissive=1
[ 21.087975][ T28] audit: type=1400 audit(1669344309.080:67): avc: denied { mounton } for pid=410 comm="syz-executor" path="/syzcgroup/unified" dev="sda1" ino=1136 scontext=root:sysadm_r:sysadm_t tcontext=root:object_r:root_t tclass=dir permissive=1
[ 21.110605][ T28] audit: type=1400 audit(1669344309.080:68): avc: denied { mount } for pid=410 comm="syz-executor" name="/" dev="cgroup2" ino=1 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:cgroup_t tclass=filesystem permissive=1
[ 21.132637][ T28] audit: type=1400 audit(1669344309.100:69): avc: denied { unmount } for pid=410 comm="syz-executor" scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:cgroup_t tclass=filesystem permissive=1
[ 21.218898][ T410] cgroup: Unknown subsys name 'hugetlb'
[ 21.224360][ T410] cgroup: Unknown subsys name 'rlimit'
[ 21.318367][ T28] audit: type=1400 audit(1669344309.420:70): avc: denied { setattr } for pid=410 comm="syz-executor" name="raw-gadget" dev="devtmpfs" ino=161 scontext=root:sysadm_r:sysadm_t tcontext=system_u:object_r:device_t tclass=chr_file permissive=1
[ 21.341637][ T28] audit: type=1400 audit(1669344309.430:71): avc: denied { execmem } for pid=412 comm="syz-executor.0" scontext=root:sysadm_r:sysadm_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1
[ 21.391450][ T413] bridge0: port 1(bridge_slave_0) entered blocking state
[ 21.398322][ T413] bridge0: port 1(bridge_slave_0) entered disabled state
[ 21.405611][ T413] device bridge_slave_0 entered promiscuous mode
[ 21.412371][ T413] bridge0: port 2(bridge_slave_1) entered blocking state
[ 21.419265][ T413] bridge0: port 2(bridge_slave_1) entered disabled state
[ 21.426366][ T413] device bridge_slave_1 entered promiscuous mode
[ 21.464953][ T413] bridge0: port 2(bridge_slave_1) entered blocking state
[ 21.471867][ T413] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 21.478930][ T413] bridge0: port 1(bridge_slave_0) entered blocking state
[ 21.485696][ T413] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 21.502678][ T17] bridge0: port 1(bridge_slave_0) entered disabled state
[ 21.509991][ T17] bridge0: port 2(bridge_slave_1) entered disabled state
[ 21.517963][ T17] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready
[ 21.525139][ T17] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready
[ 21.533717][ T23] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready
[ 21.541865][ T23] bridge0: port 1(bridge_slave_0) entered blocking state
[ 21.548895][ T23] bridge0: port 1(bridge_slave_0) entered forwarding state
[ 21.557327][ T23] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready
[ 21.565413][ T23] bridge0: port 2(bridge_slave_1) entered blocking state
[ 21.572265][ T23] bridge0: port 2(bridge_slave_1) entered forwarding state
[ 21.583467][ T17] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready
[ 21.592390][ T17] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready
[ 21.606598][ T413] device veth0_vlan entered promiscuous mode
[ 21.612920][ T56] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready
[ 21.621047][ T56] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready
[ 21.629641][ T56] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready
[ 21.636837][ T56] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready
[ 21.648985][ T413] device veth1_macvtap entered promiscuous mode
[ 21.655696][ T56] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready
[ 21.667466][ T56] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready
[ 21.675676][ T56] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready
[ 21.686045][ T23] ================================================================================
[ 21.695157][ T23] UBSAN: object-size-mismatch in ./include/linux/skbuff.h:2086:28
[ 21.702918][ T23] member access within address ffffc90000187140 with insufficient space
[ 21.711058][ T23] for an object of type 'struct sk_buff'
[ 21.716515][ T23] CPU: 1 PID: 23 Comm: kworker/1:0 Not tainted 5.16.0-syzkaller #0
[ 21.724228][ T23] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
[ 21.734131][ T23] Workqueue: ipv6_addrconf addrconf_dad_work
[ 21.740026][ T23] Call Trace:
[ 21.743147][ T23]
[ 21.745931][ T23] dump_stack_lvl+0x151/0x1b7
[ 21.750444][ T23] ? bfq_pos_tree_add_move+0x439/0x439
[ 21.755731][ T23] ? lookup+0x388/0x3d0
[ 21.759726][ T23] dump_stack+0x15/0x17
[ 21.763719][ T23] ubsan_type_mismatch_common+0x1e9/0x390
[ 21.769806][ T23] __ubsan_handle_type_mismatch_v1+0x4b/0x60
[ 21.775607][ T23] wg_xmit+0x502/0xae0
[ 21.779514][ T23] ? wg_stop+0x5d0/0x5d0
[ 21.783596][ T23] netdev_start_xmit+0x8a/0x160
[ 21.788279][ T23] dev_hard_start_xmit+0x18d/0x2f0
[ 21.793226][ T23] __dev_queue_xmit+0x1273/0x2110
[ 21.798203][ T23] ? dev_queue_xmit+0x20/0x20
[ 21.802722][ T23] ? __kasan_check_write+0x14/0x20
[ 21.807656][ T23] ? _raw_write_lock_bh+0xa3/0x170
[ 21.812606][ T23] ? _raw_write_lock_irq+0x170/0x170
[ 21.817725][ T23] ? __kasan_check_write+0x14/0x20
[ 21.822669][ T23] ? ndisc_constructor+0x653/0x850
[ 21.827617][ T23] ? __local_bh_enable_ip+0x58/0x80
[ 21.832671][ T23] ? _raw_write_unlock_bh+0x31/0x47
[ 21.837689][ T23] ? ___neigh_create+0x17b3/0x1c30
[ 21.842630][ T23] ? dev_hard_header+0xdb/0xf0
[ 21.847233][ T23] dev_queue_xmit+0x17/0x20
[ 21.851593][ T23] neigh_connected_output+0x288/0x2b0
[ 21.856782][ T23] ip6_finish_output2+0xb23/0x10c0
[ 21.861730][ T23] ? __ip6_finish_output+0x530/0x530
[ 21.866847][ T23] ? ip6_mtu+0xd8/0x120
[ 21.870848][ T23] ? ip6_skb_dst_mtu+0xaf/0x260
[ 21.875523][ T23] __ip6_finish_output+0x3e6/0x530
[ 21.880563][ T23] ip6_finish_output+0x20b/0x220
[ 21.885498][ T23] ? ip6_output+0x1d3/0x4a0
[ 21.889764][ T23] ip6_output+0x1f8/0x4a0
[ 21.893932][ T23] ? xfrm_pols_put+0x102/0x110
[ 21.898538][ T23] ? ac6_get_next+0x2a0/0x2a0
[ 21.903038][ T23] ? ip6_dst_idev+0x40/0x40
[ 21.907376][ T23] ? selinux_ip_forward+0x7f0/0x7f0
[ 21.912410][ T23] NF_HOOK+0xdd/0x280
[ 21.916253][ T23] ? addrconf_addr_solict_mult+0xe0/0xe0
[ 21.921928][ T23] ? NF_HOOK+0x280/0x280
[ 21.926020][ T23] ? xfrm_lookup+0x38/0x50
[ 21.930586][ T23] ? ndisc_send_skb+0x5b7/0xaa0
[ 21.935360][ T23] ? memcpy+0x56/0x70
[ 21.939175][ T23] ndisc_send_skb+0x6b6/0xaa0
[ 21.943689][ T23] ? ndisc_fill_addr_option+0x320/0x320
[ 21.949066][ T23] ? __kasan_check_write+0x14/0x20
[ 21.954012][ T23] ? skb_set_owner_w+0x1b8/0x330
[ 21.958788][ T23] ? skb_put+0x119/0x200
[ 21.962865][ T23] ndisc_send_rs+0x26c/0x360
[ 21.967307][ T23] addrconf_dad_completed+0x543/0xa70
[ 21.972515][ T23] ? addrconf_dad_stop+0x480/0x480
[ 21.977445][ T23] addrconf_dad_work+0xbdf/0x1440
[ 21.982398][ T23] ? INIT_LIST_HEAD+0x60/0x60
[ 21.986918][ T23] ? __schedule+0x839/0xba0
[ 21.991249][ T23] ? __kasan_check_write+0x14/0x20
[ 21.996195][ T23] process_one_work+0x405/0x6c0
[ 22.000882][ T23] worker_thread+0x6fd/0xa80
[ 22.005310][ T23] kthread+0x372/0x450
[ 22.009216][ T23] ? pr_cont_work+0x110/0x110
[ 22.013728][ T23] ? __list_add+0xc0/0xc0
[ 22.017892][ T23] ret_from_fork+0x1f/0x30
[ 22.022154][ T23]
[ 22.025211][ T23] ================================================================================
[ 22.034321][ T23] ================================================================================
[ 22.043438][ T23] UBSAN: object-size-mismatch in ./include/linux/skbuff.h:1979:2
[ 22.050977][ T23] member access within address ffffc90000187140 with insufficient space
[ 22.059138][ T23] for an object of type 'struct sk_buff'
[ 22.064597][ T23] CPU: 1 PID: 23 Comm: kworker/1:0 Not tainted 5.16.0-syzkaller #0
[ 22.072539][ T23] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
[ 22.082524][ T23] Workqueue: ipv6_addrconf addrconf_dad_work
[ 22.088334][ T23] Call Trace:
[ 22.091467][ T23]
[ 22.094322][ T23] dump_stack_lvl+0x151/0x1b7
[ 22.098841][ T23] ? bfq_pos_tree_add_move+0x439/0x439
[ 22.104126][ T23] ? lookup+0x388/0x3d0
[ 22.108121][ T23] dump_stack+0x15/0x17
[ 22.112295][ T23] ubsan_type_mismatch_common+0x1e9/0x390
[ 22.117840][ T23] __ubsan_handle_type_mismatch_v1+0x4b/0x60
[ 22.123659][ T23] wg_xmit+0x573/0xae0
[ 22.127672][ T23] ? wg_stop+0x5d0/0x5d0
[ 22.131747][ T23] netdev_start_xmit+0x8a/0x160
[ 22.136454][ T23] dev_hard_start_xmit+0x18d/0x2f0
[ 22.141564][ T23] __dev_queue_xmit+0x1273/0x2110
[ 22.146620][ T23] ? dev_queue_xmit+0x20/0x20
[ 22.151110][ T23] ? __kasan_check_write+0x14/0x20
[ 22.156055][ T23] ? _raw_write_lock_bh+0xa3/0x170
[ 22.160997][ T23] ? _raw_write_lock_irq+0x170/0x170
[ 22.166116][ T23] ? __kasan_check_write+0x14/0x20
[ 22.171063][ T23] ? ndisc_constructor+0x653/0x850
[ 22.176106][ T23] ? __local_bh_enable_ip+0x58/0x80
[ 22.181134][ T23] ? _raw_write_unlock_bh+0x31/0x47
[ 22.186165][ T23] ? ___neigh_create+0x17b3/0x1c30
[ 22.191114][ T23] ? dev_hard_header+0xdb/0xf0
[ 22.195709][ T23] dev_queue_xmit+0x17/0x20
[ 22.200050][ T23] neigh_connected_output+0x288/0x2b0
[ 22.205259][ T23] ip6_finish_output2+0xb23/0x10c0
[ 22.210205][ T23] ? __ip6_finish_output+0x530/0x530
[ 22.215419][ T23] ? ip6_mtu+0xd8/0x120
[ 22.219422][ T23] ? ip6_skb_dst_mtu+0xaf/0x260
[ 22.224179][ T23] __ip6_finish_output+0x3e6/0x530
[ 22.229124][ T23] ip6_finish_output+0x20b/0x220
[ 22.233906][ T23] ? ip6_output+0x1d3/0x4a0
[ 22.238243][ T23] ip6_output+0x1f8/0x4a0
[ 22.242501][ T23] ? xfrm_pols_put+0x102/0x110
[ 22.247102][ T23] ? ac6_get_next+0x2a0/0x2a0
[ 22.252601][ T23] ? ip6_dst_idev+0x40/0x40
[ 22.256935][ T23] ? selinux_ip_forward+0x7f0/0x7f0
[ 22.262058][ T23] NF_HOOK+0xdd/0x280
[ 22.265886][ T23] ? addrconf_addr_solict_mult+0xe0/0xe0
[ 22.271346][ T23] ? NF_HOOK+0x280/0x280
[ 22.275492][ T23] ? xfrm_lookup+0x38/0x50
[ 22.282677][ T23] ? ndisc_send_skb+0x5b7/0xaa0
[ 22.287868][ T23] ? memcpy+0x56/0x70
[ 22.291686][ T23] ndisc_send_skb+0x6b6/0xaa0
[ 22.296207][ T23] ? ndisc_fill_addr_option+0x320/0x320
[ 22.301577][ T23] ? __kasan_check_write+0x14/0x20
[ 22.306525][ T23] ? skb_set_owner_w+0x1b8/0x330
[ 22.311386][ T23] ? skb_put+0x119/0x200
[ 22.315464][ T23] ndisc_send_rs+0x26c/0x360
[ 22.319891][ T23] addrconf_dad_completed+0x543/0xa70
[ 22.325475][ T23] ? addrconf_dad_stop+0x480/0x480
[ 22.330530][ T23] addrconf_dad_work+0xbdf/0x1440
[ 22.335386][ T23] ? INIT_LIST_HEAD+0x60/0x60
[ 22.339904][ T23] ? __schedule+0x839/0xba0
[ 22.344242][ T23] ? __kasan_check_write+0x14/0x20
[ 22.349181][ T23] process_one_work+0x405/0x6c0
[ 22.353880][ T23] worker_thread+0x6fd/0xa80
[ 22.358390][ T23] kthread+0x372/0x450
[ 22.362298][ T23] ? pr_cont_work+0x110/0x110
2022/11/25 02:45:10 building call list...
[ 22.366891][ T23] ? __list_add+0xc0/0xc0
[ 22.371056][ T23] ret_from_fork+0x1f/0x30
[ 22.375306][ T23]
[ 22.378198][ T23] ================================================================================
[ 22.497734][ T413] syz-executor.0 (413) used greatest stack depth: 20904 bytes left
[ 22.907949][ T7] device bridge_slave_1 left promiscuous mode
[ 22.913945][ T7] bridge0: port 2(bridge_slave_1) entered disabled state
[ 22.921659][ T7] device bridge_slave_0 left promiscuous mode
[ 22.927732][ T7] bridge0: port 1(bridge_slave_0) entered disabled state
[ 22.935869][ T7] device veth1_macvtap left promiscuous mode
[ 22.947692][ T7] device veth0_vlan left promiscuous mode
syzkaller build log:
go env (err=)
GO111MODULE="auto"
GOARCH="amd64"
GOBIN=""
GOCACHE="/syzkaller/.cache/go-build"
GOENV="/syzkaller/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/syzkaller/jobs/linux/gopath/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/syzkaller/jobs/linux/gopath"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.17"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build1517566068=/tmp/go-build -gno-record-gcc-switches"
git status (err=)
HEAD detached at 9da37ae85
nothing to commit, working tree clean
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
Makefile:32: run command via tools/syz-env for best compatibility, see:
Makefile:33: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env
go list -f '{{.Stale}}' ./sys/syz-sysgen | grep -q false || go install ./sys/syz-sysgen
make .descriptions
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
bin/syz-sysgen
touch .descriptions
GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=9da37ae85383e0dda5fc114ec808909f72fe038d -X 'github.com/google/syzkaller/prog.gitRevisionDate=20221122-120757'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-fuzzer github.com/google/syzkaller/syz-fuzzer
GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=9da37ae85383e0dda5fc114ec808909f72fe038d -X 'github.com/google/syzkaller/prog.gitRevisionDate=20221122-120757'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog
GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=9da37ae85383e0dda5fc114ec808909f72fe038d -X 'github.com/google/syzkaller/prog.gitRevisionDate=20221122-120757'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-stress github.com/google/syzkaller/tools/syz-stress
mkdir -p ./bin/linux_amd64
gcc -o ./bin/linux_amd64/syz-executor executor/executor.cc \
-m64 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -static-pie -fpermissive -w -DGOOS_linux=1 -DGOARCH_amd64=1 \
-DHOSTGOOS_linux=1 -DGIT_REVISION=\"9da37ae85383e0dda5fc114ec808909f72fe038d\"