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 ffff8880243e9408 by task syz-executor/5784 CPU: 1 UID: 0 PID: 5784 Comm: syz-executor Not tainted 6.13.0-syzkaller-10003-ga86bf2283d2c #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:0x7f08e6b8e54a 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:00007fff4ffd9628 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f08e6c0e663 RCX: 00007f08e6b8e54a RDX: 00007f08e6c1dda7 RSI: 00007f08e6c0e663 RDI: 00007f08e6c1dda7 RBP: 00007f08e6c0e8ac R08: 0000000000000000 R09: 00000000000001ff R10: 0000000000000000 R11: 0000000000000246 R12: 00007f08e6beb1a8 R13: 00007f08e6beb180 R14: 0000000000000009 R15: 0000000000000000 Allocated by task 5778: 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 5778: 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 ffff8880243e9400 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 8 bytes inside of freed 512-byte region [ffff8880243e9400, ffff8880243e9600) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x243e8 head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000040 ffff88801a441c80 dead000000000100 dead000000000122 raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 head: 00fff00000000040 ffff88801a441c80 dead000000000100 dead000000000122 head: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 head: 00fff00000000002 ffffea000090fa01 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 1, tgid 1 (swapper/0), ts 9189955447, 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] device_private_init drivers/base/core.c:3510 [inline] device_add+0xc0/0xd00 drivers/base/core.c:3561 device_create_groups_vargs drivers/base/core.c:4347 [inline] device_create+0x253/0x2e0 drivers/base/core.c:4386 bdi_register_va+0x87/0x760 mm/backing-dev.c:1094 bdi_register+0xd1/0x120 mm/backing-dev.c:1126 add_disk_fwnode+0x755/0xfc0 block/genhd.c:510 add_disk include/linux/blkdev.h:756 [inline] brd_alloc+0x543/0x790 drivers/block/brd.c:401 brd_init+0x122/0x1b0 drivers/block/brd.c:481 do_one_initcall+0x244/0x840 init/main.c:1257 page_owner free stack trace missing Memory state around the buggy address: ffff8880243e9300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880243e9380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8880243e9400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8880243e9480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8880243e9500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== Warning: Permanently added '10.128.10.9' (ED25519) to the list of known hosts. 2025/02/02 00:23:58 ignoring optional flag "sandboxArg"="0" 2025/02/02 00:23:59 parsed 1 programs [ 81.561608][ T5771] cgroup: Unknown subsys name 'net' [ 81.693167][ T5771] cgroup: Unknown subsys name 'cpuset' [ 81.701407][ T5771] cgroup: Unknown subsys name 'rlimit' [ 81.707048][ T5771] cgroup: Unknown subsys name 'memory' [ 83.210020][ T5771] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 86.271145][ T5784] ================================================================== [ 86.279276][ T5784] BUG: KASAN: slab-use-after-free in binder_add_device+0x5b/0xa0 [ 86.287020][ T5784] Write of size 8 at addr ffff8880243e9408 by task syz-executor/5784 [ 86.295098][ T5784] [ 86.297441][ T5784] CPU: 1 UID: 0 PID: 5784 Comm: syz-executor Not tainted 6.13.0-syzkaller-10003-ga86bf2283d2c #0 [ 86.297463][ T5784] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 86.297480][ T5784] Call Trace: [ 86.297487][ T5784] [ 86.297494][ T5784] dump_stack_lvl+0x23d/0x360 [ 86.297521][ T5784] ? __pfx_dump_stack_lvl+0x10/0x10 [ 86.297544][ T5784] ? __pfx__printk+0x10/0x10 [ 86.297567][ T5784] ? _printk+0xd1/0x120 [ 86.297587][ T5784] ? __virt_addr_valid+0x17f/0x530 [ 86.297604][ T5784] ? __virt_addr_valid+0x17f/0x530 [ 86.297621][ T5784] print_report+0x165/0x540 [ 86.297646][ T5784] ? __virt_addr_valid+0x17f/0x530 [ 86.297662][ T5784] ? __virt_addr_valid+0x17f/0x530 [ 86.297677][ T5784] ? __virt_addr_valid+0x45b/0x530 [ 86.297692][ T5784] ? __phys_addr+0xb6/0x170 [ 86.297708][ T5784] ? binder_add_device+0x5b/0xa0 [ 86.297723][ T5784] kasan_report+0x13f/0x180 [ 86.297749][ T5784] ? binder_add_device+0x5b/0xa0 [ 86.297766][ T5784] binder_add_device+0x5b/0xa0 [ 86.297781][ T5784] binderfs_binder_device_create+0x7bf/0x9c0 [ 86.297811][ T5784] binderfs_fill_super+0x940/0xd90 [ 86.297838][ T5784] ? __pfx_binderfs_fill_super+0x10/0x10 [ 86.297871][ T5784] ? shrinker_register+0x15c/0x220 [ 86.297894][ T5784] ? sget_fc+0x905/0x9c0 [ 86.297918][ T5784] ? __pfx_set_anon_super_fc+0x10/0x10 [ 86.297933][ T5784] ? __pfx_binderfs_fill_super+0x10/0x10 [ 86.297958][ T5784] get_tree_nodev+0xb3/0x140 [ 86.297974][ T5784] vfs_get_tree+0x8c/0x280 [ 86.297992][ T5784] do_new_mount+0x2ba/0xb40 [ 86.298013][ T5784] ? __pfx_do_new_mount+0x10/0x10 [ 86.298036][ T5784] __se_sys_mount+0x2d2/0x3c0 [ 86.298056][ T5784] ? lockdep_hardirqs_on_prepare+0x439/0x7a0 [ 86.298087][ T5784] ? __pfx___se_sys_mount+0x10/0x10 [ 86.298109][ T5784] ? __x64_sys_mount+0x1c/0xc0 [ 86.298129][ T5784] do_syscall_64+0x7e/0x180 [ 86.298150][ T5784] ? clear_bhb_loop+0x45/0xa0 [ 86.298174][ T5784] ? clear_bhb_loop+0x45/0xa0 [ 86.298197][ T5784] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ 86.298224][ T5784] RIP: 0033:0x7f08e6b8e54a [ 86.298241][ T5784] 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.298255][ T5784] RSP: 002b:00007fff4ffd9628 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 86.298273][ T5784] RAX: ffffffffffffffda RBX: 00007f08e6c0e663 RCX: 00007f08e6b8e54a [ 86.298285][ T5784] RDX: 00007f08e6c1dda7 RSI: 00007f08e6c0e663 RDI: 00007f08e6c1dda7 [ 86.298296][ T5784] RBP: 00007f08e6c0e8ac R08: 0000000000000000 R09: 00000000000001ff [ 86.298307][ T5784] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f08e6beb1a8 [ 86.298318][ T5784] R13: 00007f08e6beb180 R14: 0000000000000009 R15: 0000000000000000 [ 86.298334][ T5784] [ 86.298340][ T5784] [ 86.570887][ T5784] Allocated by task 5778: [ 86.575224][ T5784] kasan_save_track+0x3b/0x70 [ 86.579915][ T5784] __kasan_kmalloc+0x94/0xb0 [ 86.584515][ T5784] __kmalloc_cache_noprof+0x237/0x370 [ 86.589889][ T5784] binderfs_binder_device_create+0x16c/0x9c0 [ 86.595917][ T5784] binderfs_fill_super+0x940/0xd90 [ 86.601058][ T5784] get_tree_nodev+0xb3/0x140 [ 86.605648][ T5784] vfs_get_tree+0x8c/0x280 [ 86.610066][ T5784] do_new_mount+0x2ba/0xb40 [ 86.614574][ T5784] __se_sys_mount+0x2d2/0x3c0 [ 86.619255][ T5784] do_syscall_64+0x7e/0x180 [ 86.623762][ T5784] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ 86.629672][ T5784] [ 86.632003][ T5784] Freed by task 5778: [ 86.635987][ T5784] kasan_save_track+0x3b/0x70 [ 86.640690][ T5784] kasan_save_free_info+0x3c/0x50 [ 86.645724][ T5784] __kasan_slab_free+0x55/0x70 [ 86.650506][ T5784] kfree+0x18e/0x410 [ 86.654401][ T5784] evict+0x4e4/0x990 [ 86.658303][ T5784] __dentry_kill+0x200/0x610 [ 86.662924][ T5784] shrink_kill+0xa9/0x2c0 [ 86.667260][ T5784] shrink_dentry_list+0x2bc/0x5b0 [ 86.672377][ T5784] shrink_dcache_parent+0xc7/0x3b0 [ 86.677584][ T5784] do_one_tree+0x23/0xe0 [ 86.681833][ T5784] shrink_dcache_for_umount+0xb0/0x170 [ 86.687300][ T5784] generic_shutdown_super+0x66/0x2d0 [ 86.692597][ T5784] kill_litter_super+0x72/0xa0 [ 86.697470][ T5784] binderfs_kill_super+0x40/0x90 [ 86.702432][ T5784] deactivate_locked_super+0xc0/0x120 [ 86.707822][ T5784] cleanup_mnt+0x41f/0x4b0 [ 86.712255][ T5784] task_work_run+0x24b/0x310 [ 86.716862][ T5784] do_exit+0xa26/0x28d0 [ 86.721030][ T5784] do_group_exit+0x203/0x2b0 [ 86.725632][ T5784] get_signal+0x16ae/0x1740 [ 86.730139][ T5784] arch_do_signal_or_restart+0x92/0x860 [ 86.735708][ T5784] syscall_exit_to_user_mode+0xc9/0x320 [ 86.741258][ T5784] do_syscall_64+0x8a/0x180 [ 86.745766][ T5784] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ 86.751666][ T5784] [ 86.754077][ T5784] The buggy address belongs to the object at ffff8880243e9400 [ 86.754077][ T5784] which belongs to the cache kmalloc-512 of size 512 [ 86.768129][ T5784] The buggy address is located 8 bytes inside of [ 86.768129][ T5784] freed 512-byte region [ffff8880243e9400, ffff8880243e9600) [ 86.781756][ T5784] [ 86.784082][ T5784] The buggy address belongs to the physical page: [ 86.790500][ T5784] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x243e8 [ 86.799270][ T5784] head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 86.807765][ T5784] flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) [ 86.815320][ T5784] page_type: f5(slab) [ 86.819312][ T5784] raw: 00fff00000000040 ffff88801a441c80 dead000000000100 dead000000000122 [ 86.827923][ T5784] raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 [ 86.836787][ T5784] head: 00fff00000000040 ffff88801a441c80 dead000000000100 dead000000000122 [ 86.845462][ T5784] head: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000 [ 86.854138][ T5784] head: 00fff00000000002 ffffea000090fa01 ffffffffffffffff 0000000000000000 [ 86.862815][ T5784] head: 0000000000000004 0000000000000000 00000000ffffffff 0000000000000000 [ 86.871556][ T5784] page dumped because: kasan: bad access detected [ 86.877981][ T5784] page_owner tracks the page as allocated [ 86.883710][ T5784] page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 9189955447, free_ts 0 [ 86.903353][ T5784] post_alloc_hook+0x1e0/0x220 [ 86.908132][ T5784] get_page_from_freelist+0x35e2/0x3720 [ 86.913691][ T5784] __alloc_frozen_pages_noprof+0x252/0x680 [ 86.919528][ T5784] alloc_pages_mpol+0x30d/0x660 [ 86.924465][ T5784] allocate_slab+0x8f/0x390 [ 86.929030][ T5784] ___slab_alloc+0xc35/0x1490 [ 86.933722][ T5784] __slab_alloc+0x58/0xa0 [ 86.938060][ T5784] __kmalloc_cache_noprof+0x26f/0x370 [ 86.943437][ T5784] device_add+0xc0/0xd00 [ 86.947693][ T5784] device_create+0x253/0x2e0 [ 86.952299][ T5784] bdi_register_va+0x87/0x760 [ 86.956981][ T5784] bdi_register+0xd1/0x120 [ 86.961423][ T5784] add_disk_fwnode+0x755/0xfc0 [ 86.966360][ T5784] brd_alloc+0x543/0x790 [ 86.971053][ T5784] brd_init+0x122/0x1b0 [ 86.975220][ T5784] do_one_initcall+0x244/0x840 [ 86.980015][ T5784] page_owner free stack trace missing [ 86.985404][ T5784] [ 86.987750][ T5784] Memory state around the buggy address: [ 86.993399][ T5784] ffff8880243e9300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 87.001469][ T5784] ffff8880243e9380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc [ 87.009533][ T5784] >ffff8880243e9400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 87.017595][ T5784] ^ [ 87.022030][ T5784] ffff8880243e9480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 87.030105][ T5784] ffff8880243e9500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 87.038176][ T5784] ================================================================== [ 87.049238][ T963] cfg80211: failed to load regulatory.db [ 87.062709][ T5784] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 87.069970][ T5784] CPU: 0 UID: 0 PID: 5784 Comm: syz-executor Not tainted 6.13.0-syzkaller-10003-ga86bf2283d2c #0 [ 87.080497][ T5784] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 87.090827][ T5784] Call Trace: [ 87.094110][ T5784] [ 87.097051][ T5784] dump_stack_lvl+0x23d/0x360 [ 87.101764][ T5784] ? __pfx_dump_stack_lvl+0x10/0x10 [ 87.106989][ T5784] ? __pfx__printk+0x10/0x10 [ 87.111594][ T5784] ? preempt_schedule+0xdd/0xf0 [ 87.116472][ T5784] ? vscnprintf+0x59/0x80 [ 87.120809][ T5784] panic+0x345/0x880 [ 87.124715][ T5784] ? asm_sysvec_apic_timer_interrupt+0x16/0x20 [ 87.130880][ T5784] ? check_panic_on_warn+0x1d/0xa0 [ 87.136012][ T5784] ? __pfx_panic+0x10/0x10 [ 87.140453][ T5784] ? _raw_spin_unlock_irqrestore+0x12c/0x140 [ 87.146452][ T5784] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 87.152783][ T5784] ? print_report+0x4fe/0x540 [ 87.157474][ T5784] check_panic_on_warn+0x82/0xa0 [ 87.162426][ T5784] ? binder_add_device+0x5b/0xa0 [ 87.167363][ T5784] end_report+0x77/0x150 [ 87.171622][ T5784] kasan_report+0x150/0x180 [ 87.176139][ T5784] ? binder_add_device+0x5b/0xa0 [ 87.181117][ T5784] binder_add_device+0x5b/0xa0 [ 87.185880][ T5784] binderfs_binder_device_create+0x7bf/0x9c0 [ 87.191881][ T5784] binderfs_fill_super+0x940/0xd90 [ 87.197012][ T5784] ? __pfx_binderfs_fill_super+0x10/0x10 [ 87.202666][ T5784] ? shrinker_register+0x15c/0x220 [ 87.207785][ T5784] ? sget_fc+0x905/0x9c0 [ 87.212040][ T5784] ? __pfx_set_anon_super_fc+0x10/0x10 [ 87.217500][ T5784] ? __pfx_binderfs_fill_super+0x10/0x10 [ 87.223154][ T5784] get_tree_nodev+0xb3/0x140 [ 87.227752][ T5784] vfs_get_tree+0x8c/0x280 [ 87.232183][ T5784] do_new_mount+0x2ba/0xb40 [ 87.236696][ T5784] ? __pfx_do_new_mount+0x10/0x10 [ 87.241748][ T5784] __se_sys_mount+0x2d2/0x3c0 [ 87.246431][ T5784] ? lockdep_hardirqs_on_prepare+0x439/0x7a0 [ 87.252424][ T5784] ? __pfx___se_sys_mount+0x10/0x10 [ 87.257650][ T5784] ? __x64_sys_mount+0x1c/0xc0 [ 87.262423][ T5784] do_syscall_64+0x7e/0x180 [ 87.266949][ T5784] ? clear_bhb_loop+0x45/0xa0 [ 87.271634][ T5784] ? clear_bhb_loop+0x45/0xa0 [ 87.276321][ T5784] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ 87.282224][ T5784] RIP: 0033:0x7f08e6b8e54a [ 87.286641][ T5784] 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.306253][ T5784] RSP: 002b:00007fff4ffd9628 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 87.314680][ T5784] RAX: ffffffffffffffda RBX: 00007f08e6c0e663 RCX: 00007f08e6b8e54a [ 87.322654][ T5784] RDX: 00007f08e6c1dda7 RSI: 00007f08e6c0e663 RDI: 00007f08e6c1dda7 [ 87.330624][ T5784] RBP: 00007f08e6c0e8ac R08: 0000000000000000 R09: 00000000000001ff [ 87.338611][ T5784] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f08e6beb1a8 [ 87.346582][ T5784] R13: 00007f08e6beb180 R14: 0000000000000009 R15: 0000000000000000 [ 87.354561][ T5784] [ 87.357883][ T5784] Kernel Offset: disabled [ 87.362213][ T5784] 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-build1740369775=/tmp/go-build -gno-record-gcc-switches' git status (err=) HEAD detached at aa47157c8e 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 touch .descriptions GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=aa47157c8ec3df5a6d16e3866b095c8f91026465 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20250131-140626'" -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 -DGOOS_linux=1 -DGOARCH_amd64=1 \ -DHOSTGOOS_linux=1 -DGIT_REVISION=\"aa47157c8ec3df5a6d16e3866b095c8f91026465\" /usr/bin/ld: /tmp/ccqWS4IN.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