KASAN: slab-use-after-free Write in binder_add_device ================================================================== BUG: KASAN: slab-use-after-free in hlist_add_head include/linux/list.h:1026 [inline] BUG: KASAN: slab-use-after-free in binder_add_device+0x5b/0xa0 drivers/android/binder.c:6932 Write of size 8 at addr ffff88801a77f808 by task syz-executor/5781 CPU: 1 UID: 0 PID: 5781 Comm: syz-executor Not tainted 6.14.0-rc1-syzkaller-00034-g92514ef226f5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x23d/0x360 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x165/0x540 mm/kasan/report.c:489 kasan_report+0x13f/0x180 mm/kasan/report.c:602 hlist_add_head include/linux/list.h:1026 [inline] binder_add_device+0x5b/0xa0 drivers/android/binder.c:6932 binderfs_binder_device_create+0x7bf/0x9c0 drivers/android/binderfs.c:210 binderfs_fill_super+0x940/0xd90 drivers/android/binderfs.c:729 vfs_get_super fs/super.c:1280 [inline] get_tree_nodev+0xb3/0x140 fs/super.c:1299 vfs_get_tree+0x8c/0x280 fs/super.c:1814 do_new_mount+0x2ba/0xb40 fs/namespace.c:3560 do_mount fs/namespace.c:3900 [inline] __do_sys_mount fs/namespace.c:4111 [inline] __se_sys_mount+0x2d2/0x3c0 fs/namespace.c:4088 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x7e/0x180 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7fba6d17feba Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffcf98ecba8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fba6d1f16f1 RCX: 00007fba6d17feba RDX: 00007fba6d1fcaf7 RSI: 00007fba6d1f16f1 RDI: 00007fba6d1fcaf7 RBP: 00007fba6d1f1900 R08: 0000000000000000 R09: 00000000000001ff R10: 0000000000000000 R11: 0000000000000246 R12: 00007fba6d1dc068 R13: 00007fba6d1dc048 R14: 0000000000000009 R15: 0000000000000000 Allocated by task 5775: kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3b/0x70 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:377 [inline] __kasan_kmalloc+0x94/0xb0 mm/kasan/common.c:394 kasan_kmalloc include/linux/kasan.h:260 [inline] __kmalloc_cache_noprof+0x237/0x370 mm/slub.c:4325 kmalloc_noprof include/linux/slab.h:901 [inline] kzalloc_noprof include/linux/slab.h:1037 [inline] binderfs_binder_device_create+0x16c/0x9c0 drivers/android/binderfs.c:147 binderfs_fill_super+0x940/0xd90 drivers/android/binderfs.c:729 vfs_get_super fs/super.c:1280 [inline] get_tree_nodev+0xb3/0x140 fs/super.c:1299 vfs_get_tree+0x8c/0x280 fs/super.c:1814 do_new_mount+0x2ba/0xb40 fs/namespace.c:3560 do_mount fs/namespace.c:3900 [inline] __do_sys_mount fs/namespace.c:4111 [inline] __se_sys_mount+0x2d2/0x3c0 fs/namespace.c:4088 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x7e/0x180 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x76/0x7e Freed by task 5775: kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3b/0x70 mm/kasan/common.c:68 kasan_save_free_info+0x3c/0x50 mm/kasan/generic.c:576 poison_slab_object mm/kasan/common.c:247 [inline] __kasan_slab_free+0x55/0x70 mm/kasan/common.c:264 kasan_slab_free include/linux/kasan.h:233 [inline] slab_free_hook mm/slub.c:2353 [inline] slab_free mm/slub.c:4609 [inline] kfree+0x18e/0x410 mm/slub.c:4757 evict+0x4e4/0x990 fs/inode.c:796 __dentry_kill+0x200/0x610 fs/dcache.c:643 shrink_kill+0xa9/0x2c0 fs/dcache.c:1088 shrink_dentry_list+0x2bc/0x5b0 fs/dcache.c:1115 shrink_dcache_parent+0xc7/0x3b0 do_one_tree+0x23/0xe0 fs/dcache.c:1578 shrink_dcache_for_umount+0xb0/0x170 fs/dcache.c:1595 generic_shutdown_super+0x66/0x2d0 fs/super.c:620 kill_anon_super fs/super.c:1237 [inline] kill_litter_super+0x72/0xa0 fs/super.c:1247 binderfs_kill_super+0x40/0x90 drivers/android/binderfs.c:791 deactivate_locked_super+0xc0/0x120 fs/super.c:473 cleanup_mnt+0x41f/0x4b0 fs/namespace.c:1413 task_work_run+0x24b/0x310 kernel/task_work.c:227 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0xa26/0x28d0 kernel/exit.c:938 do_group_exit+0x203/0x2b0 kernel/exit.c:1087 get_signal+0x16ae/0x1740 kernel/signal.c:3036 arch_do_signal_or_restart+0x92/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x320 kernel/entry/common.c:218 do_syscall_64+0x8a/0x180 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x76/0x7e The buggy address belongs to the object at ffff88801a77f800 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 8 bytes inside of freed 512-byte region [ffff88801a77f800, ffff88801a77fa00) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1a77c head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 anon flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000040 ffff88801a041c80 0000000000000000 dead000000000001 raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 head: 00fff00000000040 ffff88801a041c80 0000000000000000 dead000000000001 head: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 head: 00fff00000000002 ffffea000069df01 ffffffffffffffff 0000000000000000 head: 0000000000000004 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 2, tgid 2 (kthreadd), ts 4162455457, free_ts 0 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1e0/0x220 mm/page_alloc.c:1551 prep_new_page mm/page_alloc.c:1559 [inline] get_page_from_freelist+0x35e2/0x3720 mm/page_alloc.c:3477 __alloc_frozen_pages_noprof+0x252/0x680 mm/page_alloc.c:4739 alloc_pages_mpol+0x30d/0x660 mm/mempolicy.c:2270 alloc_slab_page mm/slub.c:2423 [inline] allocate_slab+0x8f/0x390 mm/slub.c:2587 new_slab mm/slub.c:2640 [inline] ___slab_alloc+0xc35/0x1490 mm/slub.c:3826 __slab_alloc+0x58/0xa0 mm/slub.c:3916 __slab_alloc_node mm/slub.c:3991 [inline] slab_alloc_node mm/slub.c:4152 [inline] __kmalloc_cache_noprof+0x26f/0x370 mm/slub.c:4320 kmalloc_noprof include/linux/slab.h:901 [inline] kzalloc_noprof include/linux/slab.h:1037 [inline] set_kthread_struct+0xbe/0x330 kernel/kthread.c:126 copy_process+0x11e9/0x3d40 kernel/fork.c:2331 kernel_clone+0x222/0x8d0 kernel/fork.c:2815 kernel_thread+0x1b8/0x230 kernel/fork.c:2877 create_kthread kernel/kthread.c:487 [inline] kthreadd+0x609/0x810 kernel/kthread.c:847 ret_from_fork+0x47/0x80 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 page_owner free stack trace missing Memory state around the buggy address: ffff88801a77f700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88801a77f780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88801a77f800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88801a77f880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88801a77f900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== Warning: Permanently added '10.128.10.45' (ED25519) to the list of known hosts. 2025/02/06 08:07:26 ignoring optional flag "sandboxArg"="0" 2025/02/06 08:07:26 parsed 1 programs syzkaller login: [ 81.743947][ T5765] cgroup: Unknown subsys name 'net' [ 81.851371][ T5765] cgroup: Unknown subsys name 'cpuset' [ 81.859622][ T5765] cgroup: Unknown subsys name 'rlimit' [ 81.865569][ T5765] cgroup: Unknown subsys name 'memory' [ 83.479781][ T5765] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 86.281559][ T5781] ================================================================== [ 86.289805][ T5781] BUG: KASAN: slab-use-after-free in binder_add_device+0x5b/0xa0 [ 86.297698][ T5781] Write of size 8 at addr ffff88801a77f808 by task syz-executor/5781 [ 86.305798][ T5781] [ 86.308226][ T5781] CPU: 1 UID: 0 PID: 5781 Comm: syz-executor Not tainted 6.14.0-rc1-syzkaller-00034-g92514ef226f5 #0 [ 86.308247][ T5781] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 86.308262][ T5781] Call Trace: [ 86.308270][ T5781] [ 86.308277][ T5781] dump_stack_lvl+0x23d/0x360 [ 86.308304][ T5781] ? __pfx_dump_stack_lvl+0x10/0x10 [ 86.308322][ T5781] ? __pfx__printk+0x10/0x10 [ 86.308342][ T5781] ? _printk+0xd1/0x120 [ 86.308361][ T5781] ? __virt_addr_valid+0x17f/0x530 [ 86.308386][ T5781] ? __virt_addr_valid+0x17f/0x530 [ 86.308409][ T5781] print_report+0x165/0x540 [ 86.308432][ T5781] ? __virt_addr_valid+0x17f/0x530 [ 86.308454][ T5781] ? __virt_addr_valid+0x17f/0x530 [ 86.308476][ T5781] ? __virt_addr_valid+0x45b/0x530 [ 86.308498][ T5781] ? __phys_addr+0xb6/0x170 [ 86.308520][ T5781] ? binder_add_device+0x5b/0xa0 [ 86.308537][ T5781] kasan_report+0x13f/0x180 [ 86.308559][ T5781] ? binder_add_device+0x5b/0xa0 [ 86.308578][ T5781] binder_add_device+0x5b/0xa0 [ 86.308595][ T5781] binderfs_binder_device_create+0x7bf/0x9c0 [ 86.308617][ T5781] binderfs_fill_super+0x940/0xd90 [ 86.308636][ T5781] ? __pfx_binderfs_fill_super+0x10/0x10 [ 86.308660][ T5781] ? shrinker_register+0x15c/0x220 [ 86.308679][ T5781] ? sget_fc+0x905/0x9c0 [ 86.308701][ T5781] ? __pfx_set_anon_super_fc+0x10/0x10 [ 86.308723][ T5781] ? __pfx_binderfs_fill_super+0x10/0x10 [ 86.308739][ T5781] get_tree_nodev+0xb3/0x140 [ 86.308761][ T5781] vfs_get_tree+0x8c/0x280 [ 86.308775][ T5781] do_new_mount+0x2ba/0xb40 [ 86.308794][ T5781] ? __pfx_do_new_mount+0x10/0x10 [ 86.308818][ T5781] __se_sys_mount+0x2d2/0x3c0 [ 86.308835][ T5781] ? lockdep_hardirqs_on_prepare+0x439/0x7a0 [ 86.308859][ T5781] ? __pfx___se_sys_mount+0x10/0x10 [ 86.308877][ T5781] ? __x64_sys_mount+0x1c/0xc0 [ 86.308894][ T5781] do_syscall_64+0x7e/0x180 [ 86.308918][ T5781] ? clear_bhb_loop+0x45/0xa0 [ 86.308941][ T5781] ? clear_bhb_loop+0x45/0xa0 [ 86.308963][ T5781] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ 86.308987][ T5781] RIP: 0033:0x7fba6d17feba [ 86.309004][ T5781] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 [ 86.309017][ T5781] RSP: 002b:00007ffcf98ecba8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 86.309037][ T5781] RAX: ffffffffffffffda RBX: 00007fba6d1f16f1 RCX: 00007fba6d17feba [ 86.309048][ T5781] RDX: 00007fba6d1fcaf7 RSI: 00007fba6d1f16f1 RDI: 00007fba6d1fcaf7 [ 86.309059][ T5781] RBP: 00007fba6d1f1900 R08: 0000000000000000 R09: 00000000000001ff [ 86.309069][ T5781] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fba6d1dc068 [ 86.309078][ T5781] R13: 00007fba6d1dc048 R14: 0000000000000009 R15: 0000000000000000 [ 86.309092][ T5781] [ 86.309097][ T5781] [ 86.583079][ T5781] Allocated by task 5775: [ 86.587407][ T5781] kasan_save_track+0x3b/0x70 [ 86.592111][ T5781] __kasan_kmalloc+0x94/0xb0 [ 86.596706][ T5781] __kmalloc_cache_noprof+0x237/0x370 [ 86.602086][ T5781] binderfs_binder_device_create+0x16c/0x9c0 [ 86.608177][ T5781] binderfs_fill_super+0x940/0xd90 [ 86.613296][ T5781] get_tree_nodev+0xb3/0x140 [ 86.617899][ T5781] vfs_get_tree+0x8c/0x280 [ 86.622488][ T5781] do_new_mount+0x2ba/0xb40 [ 86.627003][ T5781] __se_sys_mount+0x2d2/0x3c0 [ 86.631687][ T5781] do_syscall_64+0x7e/0x180 [ 86.636316][ T5781] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ 86.642415][ T5781] [ 86.644736][ T5781] Freed by task 5775: [ 86.648724][ T5781] kasan_save_track+0x3b/0x70 [ 86.653423][ T5781] kasan_save_free_info+0x3c/0x50 [ 86.658475][ T5781] __kasan_slab_free+0x55/0x70 [ 86.663254][ T5781] kfree+0x18e/0x410 [ 86.667169][ T5781] evict+0x4e4/0x990 [ 86.671128][ T5781] __dentry_kill+0x200/0x610 [ 86.675749][ T5781] shrink_kill+0xa9/0x2c0 [ 86.680280][ T5781] shrink_dentry_list+0x2bc/0x5b0 [ 86.685312][ T5781] shrink_dcache_parent+0xc7/0x3b0 [ 86.690443][ T5781] do_one_tree+0x23/0xe0 [ 86.694953][ T5781] shrink_dcache_for_umount+0xb0/0x170 [ 86.700417][ T5781] generic_shutdown_super+0x66/0x2d0 [ 86.705748][ T5781] kill_litter_super+0x72/0xa0 [ 86.710532][ T5781] binderfs_kill_super+0x40/0x90 [ 86.715491][ T5781] deactivate_locked_super+0xc0/0x120 [ 86.720883][ T5781] cleanup_mnt+0x41f/0x4b0 [ 86.725346][ T5781] task_work_run+0x24b/0x310 [ 86.730135][ T5781] do_exit+0xa26/0x28d0 [ 86.734317][ T5781] do_group_exit+0x203/0x2b0 [ 86.738958][ T5781] get_signal+0x16ae/0x1740 [ 86.743469][ T5781] arch_do_signal_or_restart+0x92/0x860 [ 86.749221][ T5781] syscall_exit_to_user_mode+0xc9/0x320 [ 86.754781][ T5781] do_syscall_64+0x8a/0x180 [ 86.759294][ T5781] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ 86.765285][ T5781] [ 86.767607][ T5781] The buggy address belongs to the object at ffff88801a77f800 [ 86.767607][ T5781] which belongs to the cache kmalloc-512 of size 512 [ 86.781700][ T5781] The buggy address is located 8 bytes inside of [ 86.781700][ T5781] freed 512-byte region [ffff88801a77f800, ffff88801a77fa00) [ 86.795324][ T5781] [ 86.797736][ T5781] The buggy address belongs to the physical page: [ 86.804153][ T5781] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1a77c [ 86.813020][ T5781] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 86.821623][ T5781] anon flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) [ 86.829623][ T5781] page_type: f5(slab) [ 86.833627][ T5781] raw: 00fff00000000040 ffff88801a041c80 0000000000000000 dead000000000001 [ 86.842207][ T5781] raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 [ 86.850789][ T5781] head: 00fff00000000040 ffff88801a041c80 0000000000000000 dead000000000001 [ 86.859464][ T5781] head: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 [ 86.868223][ T5781] head: 00fff00000000002 ffffea000069df01 ffffffffffffffff 0000000000000000 [ 86.876918][ T5781] head: 0000000000000004 0000000000000000 00000000ffffffff 0000000000000000 [ 86.885691][ T5781] page dumped because: kasan: bad access detected [ 86.892136][ T5781] page_owner tracks the page as allocated [ 86.897907][ T5781] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 2, tgid 2 (kthreadd), ts 4162455457, free_ts 0 [ 86.917635][ T5781] post_alloc_hook+0x1e0/0x220 [ 86.922409][ T5781] get_page_from_freelist+0x35e2/0x3720 [ 86.927983][ T5781] __alloc_frozen_pages_noprof+0x252/0x680 [ 86.933795][ T5781] alloc_pages_mpol+0x30d/0x660 [ 86.938655][ T5781] allocate_slab+0x8f/0x390 [ 86.943245][ T5781] ___slab_alloc+0xc35/0x1490 [ 86.947978][ T5781] __slab_alloc+0x58/0xa0 [ 86.952318][ T5781] __kmalloc_cache_noprof+0x26f/0x370 [ 86.957695][ T5781] set_kthread_struct+0xbe/0x330 [ 86.962671][ T5781] copy_process+0x11e9/0x3d40 [ 86.967367][ T5781] kernel_clone+0x222/0x8d0 [ 86.971887][ T5781] kernel_thread+0x1b8/0x230 [ 86.976493][ T5781] kthreadd+0x609/0x810 [ 86.980667][ T5781] ret_from_fork+0x47/0x80 [ 86.985096][ T5781] ret_from_fork_asm+0x1a/0x30 [ 86.989910][ T5781] page_owner free stack trace missing [ 86.995283][ T5781] [ 86.997617][ T5781] Memory state around the buggy address: [ 87.003390][ T5781] ffff88801a77f700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 87.011498][ T5781] ffff88801a77f780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 87.019747][ T5781] >ffff88801a77f800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 87.027839][ T5781] ^ [ 87.032175][ T5781] ffff88801a77f880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 87.040234][ T5781] ffff88801a77f900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 87.048297][ T5781] ================================================================== [ 87.057295][ T5781] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 87.064578][ T5781] CPU: 1 UID: 0 PID: 5781 Comm: syz-executor Not tainted 6.14.0-rc1-syzkaller-00034-g92514ef226f5 #0 [ 87.075436][ T5781] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 87.085497][ T5781] Call Trace: [ 87.088786][ T5781] [ 87.091727][ T5781] dump_stack_lvl+0x23d/0x360 [ 87.096595][ T5781] ? __pfx_dump_stack_lvl+0x10/0x10 [ 87.101843][ T5781] ? __pfx__printk+0x10/0x10 [ 87.106548][ T5781] ? preempt_schedule+0xdd/0xf0 [ 87.111438][ T5781] ? vscnprintf+0x59/0x80 [ 87.115789][ T5781] panic+0x345/0x880 [ 87.119698][ T5781] ? asm_sysvec_apic_timer_interrupt+0x16/0x20 [ 87.125866][ T5781] ? check_panic_on_warn+0x1d/0xa0 [ 87.131005][ T5781] ? __pfx_panic+0x10/0x10 [ 87.135437][ T5781] ? _raw_spin_unlock_irqrestore+0x12c/0x140 [ 87.141431][ T5781] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 87.147774][ T5781] ? print_report+0x4fe/0x540 [ 87.152468][ T5781] check_panic_on_warn+0x82/0xa0 [ 87.157507][ T5781] ? binder_add_device+0x5b/0xa0 [ 87.162466][ T5781] end_report+0x77/0x150 [ 87.166806][ T5781] kasan_report+0x150/0x180 [ 87.171412][ T5781] ? binder_add_device+0x5b/0xa0 [ 87.176385][ T5781] binder_add_device+0x5b/0xa0 [ 87.181157][ T5781] binderfs_binder_device_create+0x7bf/0x9c0 [ 87.187148][ T5781] binderfs_fill_super+0x940/0xd90 [ 87.192276][ T5781] ? __pfx_binderfs_fill_super+0x10/0x10 [ 87.197949][ T5781] ? shrinker_register+0x15c/0x220 [ 87.203067][ T5781] ? sget_fc+0x905/0x9c0 [ 87.207332][ T5781] ? __pfx_set_anon_super_fc+0x10/0x10 [ 87.212802][ T5781] ? __pfx_binderfs_fill_super+0x10/0x10 [ 87.218653][ T5781] get_tree_nodev+0xb3/0x140 [ 87.223263][ T5781] vfs_get_tree+0x8c/0x280 [ 87.227695][ T5781] do_new_mount+0x2ba/0xb40 [ 87.232206][ T5781] ? __pfx_do_new_mount+0x10/0x10 [ 87.237240][ T5781] __se_sys_mount+0x2d2/0x3c0 [ 87.241935][ T5781] ? lockdep_hardirqs_on_prepare+0x439/0x7a0 [ 87.247931][ T5781] ? __pfx___se_sys_mount+0x10/0x10 [ 87.253139][ T5781] ? __x64_sys_mount+0x1c/0xc0 [ 87.257913][ T5781] do_syscall_64+0x7e/0x180 [ 87.262524][ T5781] ? clear_bhb_loop+0x45/0xa0 [ 87.267214][ T5781] ? clear_bhb_loop+0x45/0xa0 [ 87.271933][ T5781] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ 87.277839][ T5781] RIP: 0033:0x7fba6d17feba [ 87.282289][ T5781] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 [ 87.302080][ T5781] RSP: 002b:00007ffcf98ecba8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 87.310520][ T5781] RAX: ffffffffffffffda RBX: 00007fba6d1f16f1 RCX: 00007fba6d17feba [ 87.318502][ T5781] RDX: 00007fba6d1fcaf7 RSI: 00007fba6d1f16f1 RDI: 00007fba6d1fcaf7 [ 87.326484][ T5781] RBP: 00007fba6d1f1900 R08: 0000000000000000 R09: 00000000000001ff [ 87.334458][ T5781] R10: 0000000000000000 R11: 0000000000000246 R12: 00007fba6d1dc068 [ 87.342458][ T5781] R13: 00007fba6d1dc048 R14: 0000000000000009 R15: 0000000000000000 [ 87.350465][ T5781] [ 87.353798][ T5781] Kernel Offset: disabled [ 87.358139][ T5781] Rebooting in 86400 seconds.. 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-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' GOTMPDIR='' GOTOOLCHAIN='auto' GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64' GOVCS='' GOVERSION='go1.22.7' GCCGO='gccgo' GOAMD64='v1' AR='ar' CC='gcc' CXX='g++' CGO_ENABLED='1' GOMOD='/syzkaller/jobs-2/linux/gopath/src/github.com/google/syzkaller/go.mod' GOWORK='' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_FFLAGS='-O2 -g' CGO_LDFLAGS='-O2 -g' PKG_CONFIG='pkg-config' GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build140407298=/tmp/go-build -gno-record-gcc-switches' git status (err=) HEAD detached at 65e8686b0e 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:31: run command via tools/syz-env for best compatibility, see: Makefile:32: 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 Makefile:31: run command via tools/syz-env for best compatibility, see: Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contributing.md#using-syz-env bin/syz-sysgen go fmt ./sys/... >/dev/null touch .descriptions GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=65e8686b0e9e909b6ea5629f95a9b14e81927872 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20241025-124232'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog mkdir -p ./bin/linux_amd64 g++ -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 -std=c++17 -I. -Iexecutor/_include -fpermissive -w -DGOOS_linux=1 -DGOARCH_amd64=1 \ -DHOSTGOOS_linux=1 -DGIT_REVISION=\"65e8686b0e9e909b6ea5629f95a9b14e81927872\" /usr/bin/ld: /tmp/ccpPws8o.o: in function `test_cover_filter()': executor.cc:(.text+0x1426b): warning: the use of `tempnam' is dangerous, better use `mkstemp' /usr/bin/ld: /tmp/ccpPws8o.o: in function `Connection::Connect(char const*, char const*)': executor.cc:(.text._ZN10Connection7ConnectEPKcS1_[_ZN10Connection7ConnectEPKcS1_]+0x104): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking