KASAN: slab-use-after-free Read in hci_cmd_work
Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
==================================================================
BUG: KASAN: slab-use-after-free in hci_cmd_work+0x5d0/0x7b0 net/bluetooth/hci_core.c:4174
Read of size 2 at addr ffff88801def38f8 by task kworker/u9:1/5152
CPU: 0 UID: 0 PID: 5152 Comm: kworker/u9:1 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Workqueue: hci0 hci_cmd_work
Call Trace:
dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:378 [inline]
print_report+0xca/0x240 mm/kasan/report.c:482
kasan_report+0x118/0x150 mm/kasan/report.c:595
hci_cmd_work+0x5d0/0x7b0 net/bluetooth/hci_core.c:4174
process_one_work+0x93a/0x15e0 kernel/workqueue.c:3261
process_scheduled_works kernel/workqueue.c:3344 [inline]
worker_thread+0x9b0/0xee0 kernel/workqueue.c:3425
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x599/0xb30 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
Allocated by task 52:
kasan_save_stack mm/kasan/common.c:56 [inline]
kasan_save_track+0x3e/0x80 mm/kasan/common.c:77
unpoison_slab_object mm/kasan/common.c:339 [inline]
__kasan_slab_alloc+0x6c/0x80 mm/kasan/common.c:365
kasan_slab_alloc include/linux/kasan.h:252 [inline]
slab_post_alloc_hook mm/slub.c:4948 [inline]
slab_alloc_node mm/slub.c:5258 [inline]
kmem_cache_alloc_node_noprof+0x43c/0x710 mm/slub.c:5310
__alloc_skb+0x112/0x2d0 net/core/skbuff.c:664
alloc_skb include/linux/skbuff.h:1383 [inline]
bt_skb_alloc include/net/bluetooth/bluetooth.h:510 [inline]
hci_cmd_sync_alloc+0x3d/0x3b0 net/bluetooth/hci_sync.c:58
hci_cmd_sync_add net/bluetooth/hci_sync.c:99 [inline]
__hci_cmd_sync_sk+0x1a7/0xc70 net/bluetooth/hci_sync.c:168
__hci_cmd_sync_status_sk net/bluetooth/hci_sync.c:263 [inline]
__hci_cmd_sync_status net/bluetooth/hci_sync.c:287 [inline]
hci_read_local_name_sync+0x2c/0x120 net/bluetooth/hci_sync.c:3775
hci_init_stage_sync net/bluetooth/hci_sync.c:3623 [inline]
hci_init2_sync net/bluetooth/hci_sync.c:4047 [inline]
hci_init_sync net/bluetooth/hci_sync.c:4881 [inline]
hci_dev_init_sync net/bluetooth/hci_sync.c:5066 [inline]
hci_dev_open_sync+0x230e/0x2dc0 net/bluetooth/hci_sync.c:5144
hci_dev_do_open net/bluetooth/hci_core.c:430 [inline]
hci_power_on+0x1b4/0x720 net/bluetooth/hci_core.c:959
process_one_work+0x93a/0x15e0 kernel/workqueue.c:3261
process_scheduled_works kernel/workqueue.c:3344 [inline]
worker_thread+0x9b0/0xee0 kernel/workqueue.c:3425
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x599/0xb30 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
Freed by task 5843:
kasan_save_stack mm/kasan/common.c:56 [inline]
kasan_save_track+0x3e/0x80 mm/kasan/common.c:77
kasan_save_free_info+0x46/0x50 mm/kasan/generic.c:584
poison_slab_object mm/kasan/common.c:252 [inline]
__kasan_slab_free+0x5c/0x80 mm/kasan/common.c:284
kasan_slab_free include/linux/kasan.h:234 [inline]
slab_free_hook mm/slub.c:2540 [inline]
slab_free mm/slub.c:6663 [inline]
kmem_cache_free+0x197/0x640 mm/slub.c:6774
kfree_skb_reason include/linux/skbuff.h:1322 [inline]
kfree_skb include/linux/skbuff.h:1331 [inline]
vhci_read+0x49a/0x5b0 drivers/bluetooth/hci_vhci.c:593
vfs_read+0x200/0xa30 fs/read_write.c:570
ksys_read+0x145/0x250 fs/read_write.c:715
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
The buggy address belongs to the object at ffff88801def38c0
which belongs to the cache skbuff_head_cache of size 240
The buggy address is located 56 bytes inside of
freed 240-byte region [ffff88801def38c0, ffff88801def39b0)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1def3
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000000 ffff88801d6f1a00 dead000000000122 0000000000000000
raw: 0000000000000000 00000000800c000c 00000000f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x52cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 5152, tgid 5152 (kworker/u9:1), ts 73852405478, free_ts 73823731631
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x240/0x2a0 mm/page_alloc.c:1851
prep_new_page mm/page_alloc.c:1859 [inline]
get_page_from_freelist+0x2365/0x2440 mm/page_alloc.c:3920
__alloc_frozen_pages_noprof+0x181/0x370 mm/page_alloc.c:5215
alloc_pages_mpol+0x232/0x4a0 mm/mempolicy.c:2486
alloc_slab_page mm/slub.c:3075 [inline]
allocate_slab+0x86/0x3b0 mm/slub.c:3248
new_slab mm/slub.c:3302 [inline]
___slab_alloc+0xf56/0x1990 mm/slub.c:4651
__slab_alloc+0x65/0x100 mm/slub.c:4774
__slab_alloc_node mm/slub.c:4850 [inline]
slab_alloc_node mm/slub.c:5246 [inline]
kmem_cache_alloc_noprof+0x40f/0x700 mm/slub.c:5265
skb_clone+0x212/0x3a0 net/core/skbuff.c:2069
hci_event_packet+0x1a6/0x1260 net/bluetooth/hci_event.c:7667
hci_rx_work+0x45d/0xfc0 net/bluetooth/hci_core.c:4099
process_one_work+0x93a/0x15e0 kernel/workqueue.c:3261
process_scheduled_works kernel/workqueue.c:3344 [inline]
worker_thread+0x9b0/0xee0 kernel/workqueue.c:3425
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x599/0xb30 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
page last free pid 23 tgid 23 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1395 [inline]
__free_frozen_pages+0xbc8/0xd30 mm/page_alloc.c:2948
__tlb_remove_table_free mm/mmu_gather.c:227 [inline]
tlb_remove_table_rcu+0x85/0x100 mm/mmu_gather.c:290
rcu_do_batch kernel/rcu/tree.c:2605 [inline]
rcu_core+0xcab/0x1770 kernel/rcu/tree.c:2861
handle_softirqs+0x27d/0x880 kernel/softirq.c:626
run_ksoftirqd+0x9b/0x100 kernel/softirq.c:1067
smpboot_thread_fn+0x542/0xa60 kernel/smpboot.c:160
kthread+0x711/0x8a0 kernel/kthread.c:463
ret_from_fork+0x599/0xb30 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:246
Memory state around the buggy address:
ffff88801def3780: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88801def3800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc
>ffff88801def3880: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb
^
ffff88801def3900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88801def3980: fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc
==================================================================
Warning: Permanently added '10.128.1.91' (ED25519) to the list of known hosts.
2025/11/17 21:13:47 ignoring optional flag "type"="gce"
2025/11/17 21:13:47 parsed 1 programs
[ 72.188433][ T5833] cgroup: Unknown subsys name 'net'
[ 72.317121][ T5833] cgroup: Unknown subsys name 'cpuset'
[ 72.326382][ T5833] cgroup: Unknown subsys name 'rlimit'
2025/11/17 21:13:49 executed programs: 0
[ 73.762862][ T5833] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k
[ 73.828407][ T5152] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1
[ 73.836637][ T5152] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9
[ 73.844796][ T5152] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9
[ 73.852693][ T5152] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4
[ 73.860763][ T5152] ==================================================================
[ 73.868920][ T5152] BUG: KASAN: slab-use-after-free in hci_cmd_work+0x5d0/0x7b0
[ 73.876547][ T5152] Read of size 2 at addr ffff88801def38f8 by task kworker/u9:1/5152
[ 73.884602][ T5152]
[ 73.886958][ T5152] CPU: 0 UID: 0 PID: 5152 Comm: kworker/u9:1 Not tainted syzkaller #0 PREEMPT(full)
[ 73.886974][ T5152] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
[ 73.886982][ T5152] Workqueue: hci0 hci_cmd_work
[ 73.887008][ T5152] Call Trace:
[ 73.887015][ T5152]
[ 73.887021][ T5152] dump_stack_lvl+0x189/0x250
[ 73.887037][ T5152] ? __virt_addr_valid+0x1c8/0x5c0
[ 73.887047][ T5152] ? rcu_is_watching+0x15/0xb0
[ 73.887055][ T5152] ? __pfx_dump_stack_lvl+0x10/0x10
[ 73.887068][ T5152] ? rcu_is_watching+0x15/0xb0
[ 73.887076][ T5152] ? lock_release+0x4b/0x3d0
[ 73.887088][ T5152] ? _raw_spin_lock_irqsave+0xb3/0xf0
[ 73.887100][ T5152] ? __virt_addr_valid+0x1c8/0x5c0
[ 73.887109][ T5152] ? __virt_addr_valid+0x4a5/0x5c0
[ 73.887118][ T5152] print_report+0xca/0x240
[ 73.887130][ T5152] ? hci_cmd_work+0x5d0/0x7b0
[ 73.887142][ T5152] kasan_report+0x118/0x150
[ 73.887156][ T5152] ? hci_cmd_work+0x5d0/0x7b0
[ 73.887171][ T5152] hci_cmd_work+0x5d0/0x7b0
[ 73.887184][ T5152] ? process_one_work+0x868/0x15e0
[ 73.887196][ T5152] process_one_work+0x93a/0x15e0
[ 73.887207][ T5152] ? __lock_acquire+0xab9/0xd20
[ 73.887222][ T5152] ? __pfx_process_one_work+0x10/0x10
[ 73.887235][ T5152] ? assign_work+0x3a1/0x410
[ 73.887246][ T5152] worker_thread+0x9b0/0xee0
[ 73.887264][ T5152] kthread+0x711/0x8a0
[ 73.887274][ T5152] ? __pfx_worker_thread+0x10/0x10
[ 73.887285][ T5152] ? __pfx_kthread+0x10/0x10
[ 73.887294][ T5152] ? _raw_spin_unlock_irq+0x23/0x50
[ 73.887304][ T5152] ? lockdep_hardirqs_on+0x9c/0x150
[ 73.887317][ T5152] ? __pfx_kthread+0x10/0x10
[ 73.887325][ T5152] ret_from_fork+0x599/0xb30
[ 73.887337][ T5152] ? __pfx_ret_from_fork+0x10/0x10
[ 73.887350][ T5152] ? __switch_to_asm+0x39/0x70
[ 73.887362][ T5152] ? __switch_to_asm+0x33/0x70
[ 73.887371][ T5152] ? __pfx_kthread+0x10/0x10
[ 73.887379][ T5152] ret_from_fork_asm+0x1a/0x30
[ 73.887392][ T5152]
[ 73.887395][ T5152]
[ 74.080142][ T5152] Allocated by task 52:
[ 74.084313][ T5152] kasan_save_track+0x3e/0x80
[ 74.088996][ T5152] __kasan_slab_alloc+0x6c/0x80
[ 74.093848][ T5152] kmem_cache_alloc_node_noprof+0x43c/0x710
[ 74.099911][ T5152] __alloc_skb+0x112/0x2d0
[ 74.104328][ T5152] hci_cmd_sync_alloc+0x3d/0x3b0
[ 74.109245][ T5152] __hci_cmd_sync_sk+0x1a7/0xc70
[ 74.114168][ T5152] hci_read_local_name_sync+0x2c/0x120
[ 74.119618][ T5152] hci_dev_open_sync+0x230e/0x2dc0
[ 74.124789][ T5152] hci_power_on+0x1b4/0x720
[ 74.129342][ T5152] process_one_work+0x93a/0x15e0
[ 74.134297][ T5152] worker_thread+0x9b0/0xee0
[ 74.138878][ T5152] kthread+0x711/0x8a0
[ 74.142933][ T5152] ret_from_fork+0x599/0xb30
[ 74.147514][ T5152] ret_from_fork_asm+0x1a/0x30
[ 74.152261][ T5152]
[ 74.154576][ T5152] Freed by task 5843:
[ 74.158624][ T5152] kasan_save_track+0x3e/0x80
[ 74.163374][ T5152] kasan_save_free_info+0x46/0x50
[ 74.168674][ T5152] __kasan_slab_free+0x5c/0x80
[ 74.173438][ T5152] kmem_cache_free+0x197/0x640
[ 74.178283][ T5152] vhci_read+0x49a/0x5b0
[ 74.182531][ T5152] vfs_read+0x200/0xa30
[ 74.186670][ T5152] ksys_read+0x145/0x250
[ 74.190890][ T5152] do_syscall_64+0xfa/0xfa0
[ 74.195488][ T5152] entry_SYSCALL_64_after_hwframe+0x77/0x7f
[ 74.201445][ T5152]
[ 74.203749][ T5152] The buggy address belongs to the object at ffff88801def38c0
[ 74.203749][ T5152] which belongs to the cache skbuff_head_cache of size 240
[ 74.218318][ T5152] The buggy address is located 56 bytes inside of
[ 74.218318][ T5152] freed 240-byte region [ffff88801def38c0, ffff88801def39b0)
[ 74.232103][ T5152]
[ 74.234440][ T5152] The buggy address belongs to the physical page:
[ 74.240954][ T5152] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1def3
[ 74.249700][ T5152] flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
[ 74.256968][ T5152] page_type: f5(slab)
[ 74.261199][ T5152] raw: 00fff00000000000 ffff88801d6f1a00 dead000000000122 0000000000000000
[ 74.269765][ T5152] raw: 0000000000000000 00000000800c000c 00000000f5000000 0000000000000000
[ 74.278564][ T5152] page dumped because: kasan: bad access detected
[ 74.284984][ T5152] page_owner tracks the page as allocated
[ 74.290683][ T5152] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x52cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 5152, tgid 5152 (kworker/u9:1), ts 73852405478, free_ts 73823731631
[ 74.310371][ T5152] post_alloc_hook+0x240/0x2a0
[ 74.315138][ T5152] get_page_from_freelist+0x2365/0x2440
[ 74.320666][ T5152] __alloc_frozen_pages_noprof+0x181/0x370
[ 74.326462][ T5152] alloc_pages_mpol+0x232/0x4a0
[ 74.331383][ T5152] allocate_slab+0x86/0x3b0
[ 74.335956][ T5152] ___slab_alloc+0xf56/0x1990
[ 74.340835][ T5152] __slab_alloc+0x65/0x100
[ 74.345230][ T5152] kmem_cache_alloc_noprof+0x40f/0x700
[ 74.350675][ T5152] skb_clone+0x212/0x3a0
[ 74.354894][ T5152] hci_event_packet+0x1a6/0x1260
[ 74.359808][ T5152] hci_rx_work+0x45d/0xfc0
[ 74.364292][ T5152] process_one_work+0x93a/0x15e0
[ 74.369333][ T5152] worker_thread+0x9b0/0xee0
[ 74.373944][ T5152] kthread+0x711/0x8a0
[ 74.377998][ T5152] ret_from_fork+0x599/0xb30
[ 74.382662][ T5152] ret_from_fork_asm+0x1a/0x30
[ 74.387401][ T5152] page last free pid 23 tgid 23 stack trace:
[ 74.393357][ T5152] __free_frozen_pages+0xbc8/0xd30
[ 74.398451][ T5152] tlb_remove_table_rcu+0x85/0x100
[ 74.403539][ T5152] rcu_core+0xcab/0x1770
[ 74.407759][ T5152] handle_softirqs+0x27d/0x880
[ 74.412783][ T5152] run_ksoftirqd+0x9b/0x100
[ 74.417271][ T5152] smpboot_thread_fn+0x542/0xa60
[ 74.422216][ T5152] kthread+0x711/0x8a0
[ 74.426369][ T5152] ret_from_fork+0x599/0xb30
[ 74.430964][ T5152] ret_from_fork_asm+0x1a/0x30
[ 74.435724][ T5152]
[ 74.438031][ T5152] Memory state around the buggy address:
[ 74.443745][ T5152] ffff88801def3780: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 74.451795][ T5152] ffff88801def3800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc
[ 74.459943][ T5152] >ffff88801def3880: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb
[ 74.468089][ T5152] ^
[ 74.476392][ T5152] ffff88801def3900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
[ 74.484467][ T5152] ffff88801def3980: fb fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc
[ 74.492548][ T5152] ==================================================================
[ 74.501374][ T5152] Kernel panic - not syncing: KASAN: panic_on_warn set ...
[ 74.508847][ T5152] CPU: 0 UID: 0 PID: 5152 Comm: kworker/u9:1 Not tainted syzkaller #0 PREEMPT(full)
[ 74.518469][ T5152] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
[ 74.528518][ T5152] Workqueue: hci0 hci_cmd_work
[ 74.533282][ T5152] Call Trace:
[ 74.536555][ T5152]
[ 74.539648][ T5152] dump_stack_lvl+0x99/0x250
[ 74.544237][ T5152] ? __asan_memcpy+0x40/0x70
[ 74.548900][ T5152] ? __pfx_dump_stack_lvl+0x10/0x10
[ 74.554087][ T5152] ? __pfx__printk+0x10/0x10
[ 74.558670][ T5152] vpanic+0x237/0x6d0
[ 74.562729][ T5152] ? __pfx_vpanic+0x10/0x10
[ 74.567476][ T5152] ? preempt_schedule+0xae/0xc0
[ 74.572310][ T5152] ? __pfx_preempt_schedule+0x10/0x10
[ 74.577757][ T5152] panic+0xb9/0xc0
[ 74.581461][ T5152] ? __pfx_panic+0x10/0x10
[ 74.585870][ T5152] ? _raw_spin_unlock_irqrestore+0xfd/0x110
[ 74.591753][ T5152] ? is_module_address+0x17/0xf0
[ 74.596695][ T5152] ? hci_cmd_work+0x5d0/0x7b0
[ 74.601420][ T5152] check_panic_on_warn+0x89/0xb0
[ 74.606526][ T5152] ? hci_cmd_work+0x5d0/0x7b0
[ 74.611290][ T5152] end_report+0x6f/0x160
[ 74.615524][ T5152] kasan_report+0x129/0x150
[ 74.620015][ T5152] ? hci_cmd_work+0x5d0/0x7b0
[ 74.624784][ T5152] hci_cmd_work+0x5d0/0x7b0
[ 74.629455][ T5152] ? process_one_work+0x868/0x15e0
[ 74.634731][ T5152] process_one_work+0x93a/0x15e0
[ 74.639655][ T5152] ? __lock_acquire+0xab9/0xd20
[ 74.644505][ T5152] ? __pfx_process_one_work+0x10/0x10
[ 74.650042][ T5152] ? assign_work+0x3a1/0x410
[ 74.654643][ T5152] worker_thread+0x9b0/0xee0
[ 74.659348][ T5152] kthread+0x711/0x8a0
[ 74.663409][ T5152] ? __pfx_worker_thread+0x10/0x10
[ 74.668509][ T5152] ? __pfx_kthread+0x10/0x10
[ 74.673081][ T5152] ? _raw_spin_unlock_irq+0x23/0x50
[ 74.678441][ T5152] ? lockdep_hardirqs_on+0x9c/0x150
[ 74.683624][ T5152] ? __pfx_kthread+0x10/0x10
[ 74.688291][ T5152] ret_from_fork+0x599/0xb30
[ 74.692997][ T5152] ? __pfx_ret_from_fork+0x10/0x10
[ 74.698106][ T5152] ? __switch_to_asm+0x39/0x70
[ 74.702852][ T5152] ? __switch_to_asm+0x33/0x70
[ 74.707694][ T5152] ? __pfx_kthread+0x10/0x10
[ 74.712294][ T5152] ret_from_fork_asm+0x1a/0x30
[ 74.717060][ T5152]
[ 74.720532][ T5152] Kernel Offset: disabled
[ 74.724839][ T5152] Rebooting in 86400 seconds..
syzkaller build log:
go env (err=)
AR='ar'
CC='gcc'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='g++'
GCCGO='gccgo'
GO111MODULE='auto'
GOAMD64='v1'
GOARCH='amd64'
GOAUTH='netrc'
GOBIN=''
GOCACHE='/syzkaller/.cache/go-build'
GOCACHEPROG=''
GODEBUG=''
GOENV='/syzkaller/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFIPS140='off'
GOFLAGS=''
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build807921480=/tmp/go-build -gno-record-gcc-switches'
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMOD='/syzkaller/jobs-2/linux/gopath/src/github.com/google/syzkaller/go.mod'
GOMODCACHE='/syzkaller/jobs-2/linux/gopath/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/syzkaller/jobs-2/linux/gopath'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTELEMETRY='local'
GOTELEMETRYDIR='/syzkaller/.config/go/telemetry'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.24.4'
GOWORK=''
PKG_CONFIG='pkg-config'
git status (err=)
HEAD detached at 03d9c195d
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=03d9c195daed8fca30b642783f35657aa7e32209 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20230825-085153'" "-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=03d9c195daed8fca30b642783f35657aa7e32209 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20230825-085153'" "-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=03d9c195daed8fca30b642783f35657aa7e32209 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20230825-085153'" "-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 -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie -fpermissive -w -DGOOS_linux=1 -DGOARCH_amd64=1 \
-DHOSTGOOS_linux=1 -DGIT_REVISION=\"03d9c195daed8fca30b642783f35657aa7e32209\"