./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1665797046 <...> Warning: Permanently added '10.128.0.80' (ED25519) to the list of known hosts. execve("./syz-executor1665797046", ["./syz-executor1665797046"], 0x7fff823c1760 /* 10 vars */) = 0 brk(NULL) = 0x555576bb8000 brk(0x555576bb8d00) = 0x555576bb8d00 arch_prctl(ARCH_SET_FS, 0x555576bb8380) = 0 set_tid_address(0x555576bb8650) = 5062 set_robust_list(0x555576bb8660, 24) = 0 rseq(0x555576bb8ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1665797046", 4096) = 28 getrandom("\x57\x83\x90\xe0\xd0\x48\xc4\x6c", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555576bb8d00 brk(0x555576bd9d00) = 0x555576bd9d00 brk(0x555576bda000) = 0x555576bda000 mprotect(0x7f0b0bd0f000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 openat(AT_FDCWD, "/sys/kernel/profiling", O_RDWR|O_DSYNC|O_CLOEXEC) = 3 [ 73.000542][ T5062] kernel profiling enabled (shift: 0) [ 73.357972][ C0] ================================================================== [ 73.366069][ C0] BUG: KASAN: stack-out-of-bounds in profile_pc+0xd2/0x170 [ 73.373305][ C0] Read of size 8 at addr ffffc900043772c0 by task syz-executor166/5062 [ 73.381530][ C0] [ 73.383846][ C0] CPU: 0 PID: 5062 Comm: syz-executor166 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 [ 73.393908][ C0] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 [ 73.403966][ C0] Call Trace: [ 73.407248][ C0] [ 73.410121][ C0] dump_stack_lvl+0x241/0x360 [ 73.414817][ C0] ? __pfx_dump_stack_lvl+0x10/0x10 [ 73.420011][ C0] ? __pfx__printk+0x10/0x10 [ 73.424603][ C0] ? _printk+0xd5/0x120 [ 73.428759][ C0] print_report+0x169/0x550 [ 73.433255][ C0] ? rcu_read_lock_sched_held+0x8d/0x130 [ 73.438883][ C0] ? __virt_addr_valid+0xbd/0x520 [ 73.443912][ C0] ? profile_pc+0xd2/0x170 [ 73.448327][ C0] kasan_report+0x143/0x180 [ 73.452822][ C0] ? profile_pc+0xd2/0x170 [ 73.457237][ C0] ? _raw_spin_unlock_irqrestore+0xd8/0x140 [ 73.463127][ C0] profile_pc+0xd2/0x170 [ 73.467380][ C0] profile_tick+0xd7/0x150 [ 73.471794][ C0] tick_nohz_handler+0x3a8/0x540 [ 73.476731][ C0] ? __pfx_tick_nohz_handler+0x10/0x10 [ 73.482190][ C0] __hrtimer_run_queues+0x54b/0xd00 [ 73.487397][ C0] ? __pfx___hrtimer_run_queues+0x10/0x10 [ 73.493158][ C0] ? ktime_get_update_offsets_now+0x411/0x430 [ 73.499226][ C0] hrtimer_interrupt+0x396/0x990 [ 73.504188][ C0] __sysvec_apic_timer_interrupt+0x107/0x3a0 [ 73.510176][ C0] sysvec_apic_timer_interrupt+0xa1/0xc0 [ 73.515814][ C0] [ 73.518752][ C0] [ 73.521676][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 73.527655][ C0] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 [ 73.534173][ C0] Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 fe 9e 7e f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 c3 94 ee f5 65 8b 05 d4 79 8d 74 85 c0 74 43 48 c7 04 24 0e 36 [ 73.553767][ C0] RSP: 0018:ffffc900043772c0 EFLAGS: 00000206 [ 73.559827][ C0] RAX: 8eab6640c70e2700 RBX: 1ffff9200086ee5c RCX: ffffffff81720b2a [ 73.567790][ C0] RDX: dffffc0000000000 RSI: ffffffff8baac1e0 RDI: 0000000000000001 [ 73.575767][ C0] RBP: ffffc90004377350 R08: ffffffff92cae507 R09: 1ffffffff2595ca0 [ 73.583744][ C0] R10: dffffc0000000000 R11: fffffbfff2595ca1 R12: dffffc0000000000 [ 73.591704][ C0] R13: 1ffff9200086ee58 R14: ffffc900043772e0 R15: 0000000000000246 [ 73.599684][ C0] ? mark_lock+0x9a/0x350 [ 73.604011][ C0] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 73.610341][ C0] ? __mod_zone_page_state+0xda/0x150 [ 73.615705][ C0] __rmqueue_pcplist+0x20a5/0x2560 [ 73.620827][ C0] ? __pfx___rmqueue_pcplist+0x10/0x10 [ 73.626302][ C0] get_page_from_freelist+0x896/0x3580 [ 73.631768][ C0] ? __pfx___might_resched+0x10/0x10 [ 73.637050][ C0] ? fs_reclaim_acquire+0x93/0x130 [ 73.642157][ C0] ? __pfx_get_page_from_freelist+0x10/0x10 [ 73.648047][ C0] ? prepare_alloc_pages+0x1da/0x5b0 [ 73.653331][ C0] __alloc_pages+0x256/0x680 [ 73.657935][ C0] ? __pfx___alloc_pages+0x10/0x10 [ 73.663046][ C0] ? policy_nodemask+0x1ec/0x720 [ 73.667980][ C0] alloc_pages_mpol+0x3de/0x650 [ 73.672836][ C0] ? __pfx_alloc_pages_mpol+0x10/0x10 [ 73.678204][ C0] ? alloc_pages+0xef/0x170 [ 73.682703][ C0] __vmalloc_node_range+0x9a4/0x14a0 [ 73.687998][ C0] ? __pfx___vmalloc_node_range+0x10/0x10 [ 73.693715][ C0] ? rcu_is_watching+0x15/0xb0 [ 73.698486][ C0] ? trace_kmalloc+0x1f/0xb0 [ 73.703083][ C0] ? __kmalloc+0x251/0x4a0 [ 73.707493][ C0] ? profile_init+0xee/0x130 [ 73.712086][ C0] ? __pfx_sysfs_kf_write+0x10/0x10 [ 73.717277][ C0] vzalloc+0x79/0x90 [ 73.721171][ C0] ? profile_init+0xee/0x130 [ 73.725757][ C0] profile_init+0xee/0x130 [ 73.730166][ C0] profiling_store+0x5e/0xc0 [ 73.734750][ C0] kernfs_fop_write_iter+0x3a4/0x500 [ 73.740028][ C0] vfs_write+0xa84/0xcb0 [ 73.744282][ C0] ? __pfx_vfs_write+0x10/0x10 [ 73.749055][ C0] ? lockdep_hardirqs_on+0x99/0x150 [ 73.754251][ C0] ? __fdget_pos+0x272/0x320 [ 73.758833][ C0] ksys_write+0x1a0/0x2c0 [ 73.763158][ C0] ? __pfx_ksys_write+0x10/0x10 [ 73.768002][ C0] ? do_syscall_64+0x10a/0x240 [ 73.772757][ C0] ? syscall_trace_enter+0x5f/0x150 [ 73.777949][ C0] do_syscall_64+0xfb/0x240 [ 73.782449][ C0] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 73.788337][ C0] RIP: 0033:0x7f0b0bc9c2e9 [ 73.792746][ C0] Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 73.812360][ C0] RSP: 002b:00007ffef035f4c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 73.820788][ C0] RAX: ffffffffffffffda RBX: 00007ffef035f698 RCX: 00007f0b0bc9c2e9 [ 73.828768][ C0] RDX: 000000000000000f RSI: 0000000020000000 RDI: 0000000000000003 [ 73.836735][ C0] RBP: 00007f0b0bd0f610 R08: 0000000000000000 R09: 00007ffef035f698 [ 73.844707][ C0] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 73.852675][ C0] R13: 00007ffef035f688 R14: 0000000000000001 R15: 0000000000000001 [ 73.860656][ C0] [ 73.863676][ C0] [ 73.865995][ C0] The buggy address belongs to stack of task syz-executor166/5062 [ 73.873790][ C0] and is located at offset 0 in frame: [ 73.879327][ C0] _raw_spin_unlock_irqrestore+0x0/0x140 [ 73.884971][ C0] [ 73.887290][ C0] This frame has 1 object: [ 73.891724][ C0] [32, 40) 'flags.i.i.i.i' [ 73.891735][ C0] [ 73.898559][ C0] The buggy address belongs to the virtual mapping at [ 73.898559][ C0] [ffffc90004370000, ffffc90004379000) created by: [ 73.898559][ C0] copy_process+0x5d1/0x3df0 [ 73.916180][ C0] [ 73.918502][ C0] The buggy address belongs to the physical page: [ 73.924906][ C0] page:ffffea000056c240 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x15b09 [ 73.935054][ C0] flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) [ 73.942155][ C0] page_type: 0xffffffff() [ 73.946482][ C0] raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000 [ 73.955062][ C0] raw: 0000000000000000 0000000000000000 00000001ffffffff 0000000000000000 [ 73.963635][ C0] page dumped because: kasan: bad access detected [ 73.970037][ C0] page_owner tracks the page as allocated [ 73.975771][ C0] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2dc2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_NOWARN|__GFP_ZERO), pid 4960, tgid 4960 (dhcpcd-run-hook), ts 59521906092, free_ts 58612023939 [ 73.995229][ C0] post_alloc_hook+0x1ea/0x210 [ 74.000021][ C0] get_page_from_freelist+0x33ea/0x3580 [ 74.005679][ C0] __alloc_pages+0x256/0x680 [ 74.010277][ C0] alloc_pages_mpol+0x3de/0x650 [ 74.015135][ C0] __vmalloc_node_range+0x9a4/0x14a0 [ 74.020427][ C0] dup_task_struct+0x3e9/0x7d0 [ 74.025193][ C0] copy_process+0x5d1/0x3df0 [ 74.029781][ C0] kernel_clone+0x223/0x840 [ 74.034281][ C0] __x64_sys_clone+0x258/0x2a0 [ 74.039043][ C0] do_syscall_64+0xfb/0x240 [ 74.043542][ C0] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 74.049450][ C0] page last free pid 4945 tgid 4945 stack trace: [ 74.055794][ C0] free_unref_page_prepare+0x95d/0xa80 [ 74.061277][ C0] free_unref_page+0x37/0x3f0 [ 74.065968][ C0] __put_partials+0xeb/0x130 [ 74.070594][ C0] put_cpu_partial+0x17c/0x250 [ 74.075365][ C0] __slab_free+0x2ea/0x3d0 [ 74.079810][ C0] qlist_free_all+0x5e/0xc0 [ 74.084325][ C0] kasan_quarantine_reduce+0x14f/0x170 [ 74.089795][ C0] __kasan_slab_alloc+0x23/0x80 [ 74.094651][ C0] __kmalloc+0x1e2/0x4a0 [ 74.098916][ C0] tomoyo_realpath_from_path+0xcf/0x5e0 [ 74.104466][ C0] tomoyo_path_perm+0x2b7/0x740 [ 74.109329][ C0] security_inode_getattr+0xd8/0x130 [ 74.114618][ C0] vfs_getattr+0x45/0x430 [ 74.118953][ C0] vfs_fstatat+0xd6/0x190 [ 74.123284][ C0] __x64_sys_newfstatat+0x117/0x190 [ 74.128496][ C0] do_syscall_64+0xfb/0x240 [ 74.132998][ C0] [ 74.135316][ C0] Memory state around the buggy address: [ 74.140939][ C0] ffffc90004377180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 74.148998][ C0] ffffc90004377200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 74.157055][ C0] >ffffc90004377280: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 f3 f3 f3 [ 74.165108][ C0] ^ [ 74.171247][ C0] ffffc90004377300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 74.179327][ C0] ffffc90004377380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 74.187491][ C0] ================================================================== [ 74.195554][ C0] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 74.202743][ C0] CPU: 0 PID: 5062 Comm: syz-executor166 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 [ 74.212806][ C0] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 [ 74.222861][ C0] Call Trace: [ 74.226143][ C0] [ 74.228987][ C0] dump_stack_lvl+0x241/0x360 [ 74.233670][ C0] ? __pfx_dump_stack_lvl+0x10/0x10 [ 74.238880][ C0] ? __pfx__printk+0x10/0x10 [ 74.243485][ C0] ? rcu_is_watching+0x15/0xb0 [ 74.248255][ C0] ? vscnprintf+0x5d/0x90 [ 74.252589][ C0] panic+0x349/0x860 [ 74.256487][ C0] ? __pfx_lock_release+0x10/0x10 [ 74.261512][ C0] ? check_panic_on_warn+0x21/0xb0 [ 74.266627][ C0] ? __pfx_panic+0x10/0x10 [ 74.271054][ C0] ? do_raw_spin_unlock+0x13c/0x8b0 [ 74.276264][ C0] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 74.282172][ C0] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 74.288507][ C0] check_panic_on_warn+0x86/0xb0 [ 74.293453][ C0] ? profile_pc+0xd2/0x170 [ 74.297886][ C0] end_report+0x6e/0x140 [ 74.302134][ C0] kasan_report+0x154/0x180 [ 74.306641][ C0] ? profile_pc+0xd2/0x170 [ 74.311067][ C0] ? _raw_spin_unlock_irqrestore+0xd8/0x140 [ 74.316983][ C0] profile_pc+0xd2/0x170 [ 74.321237][ C0] profile_tick+0xd7/0x150 [ 74.325667][ C0] tick_nohz_handler+0x3a8/0x540 [ 74.330630][ C0] ? __pfx_tick_nohz_handler+0x10/0x10 [ 74.336268][ C0] __hrtimer_run_queues+0x54b/0xd00 [ 74.341482][ C0] ? __pfx___hrtimer_run_queues+0x10/0x10 [ 74.347205][ C0] ? ktime_get_update_offsets_now+0x411/0x430 [ 74.353279][ C0] hrtimer_interrupt+0x396/0x990 [ 74.358236][ C0] __sysvec_apic_timer_interrupt+0x107/0x3a0 [ 74.364234][ C0] sysvec_apic_timer_interrupt+0xa1/0xc0 [ 74.369967][ C0] [ 74.372897][ C0] [ 74.375823][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 74.381809][ C0] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 [ 74.388325][ C0] Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 fe 9e 7e f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 c3 94 ee f5 65 8b 05 d4 79 8d 74 85 c0 74 43 48 c7 04 24 0e 36 [ 74.407933][ C0] RSP: 0018:ffffc900043772c0 EFLAGS: 00000206 [ 74.414001][ C0] RAX: 8eab6640c70e2700 RBX: 1ffff9200086ee5c RCX: ffffffff81720b2a [ 74.421971][ C0] RDX: dffffc0000000000 RSI: ffffffff8baac1e0 RDI: 0000000000000001 [ 74.429944][ C0] RBP: ffffc90004377350 R08: ffffffff92cae507 R09: 1ffffffff2595ca0 [ 74.437921][ C0] R10: dffffc0000000000 R11: fffffbfff2595ca1 R12: dffffc0000000000 [ 74.445894][ C0] R13: 1ffff9200086ee58 R14: ffffc900043772e0 R15: 0000000000000246 [ 74.453870][ C0] ? mark_lock+0x9a/0x350 [ 74.458215][ C0] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 74.464572][ C0] ? __mod_zone_page_state+0xda/0x150 [ 74.469950][ C0] __rmqueue_pcplist+0x20a5/0x2560 [ 74.475095][ C0] ? __pfx___rmqueue_pcplist+0x10/0x10 [ 74.480564][ C0] get_page_from_freelist+0x896/0x3580 [ 74.486038][ C0] ? __pfx___might_resched+0x10/0x10 [ 74.491354][ C0] ? fs_reclaim_acquire+0x93/0x130 [ 74.496471][ C0] ? __pfx_get_page_from_freelist+0x10/0x10 [ 74.502381][ C0] ? prepare_alloc_pages+0x1da/0x5b0 [ 74.507673][ C0] __alloc_pages+0x256/0x680 [ 74.512272][ C0] ? __pfx___alloc_pages+0x10/0x10 [ 74.517389][ C0] ? policy_nodemask+0x1ec/0x720 [ 74.522354][ C0] alloc_pages_mpol+0x3de/0x650 [ 74.527210][ C0] ? __pfx_alloc_pages_mpol+0x10/0x10 [ 74.532591][ C0] ? alloc_pages+0xef/0x170 [ 74.537101][ C0] __vmalloc_node_range+0x9a4/0x14a0 [ 74.542409][ C0] ? __pfx___vmalloc_node_range+0x10/0x10 [ 74.548145][ C0] ? rcu_is_watching+0x15/0xb0 [ 74.552921][ C0] ? trace_kmalloc+0x1f/0xb0 [ 74.557519][ C0] ? __kmalloc+0x251/0x4a0 [ 74.561940][ C0] ? profile_init+0xee/0x130 [ 74.566529][ C0] ? __pfx_sysfs_kf_write+0x10/0x10 [ 74.571727][ C0] vzalloc+0x79/0x90 [ 74.575630][ C0] ? profile_init+0xee/0x130 [ 74.580225][ C0] profile_init+0xee/0x130 [ 74.584649][ C0] profiling_store+0x5e/0xc0 [ 74.589242][ C0] kernfs_fop_write_iter+0x3a4/0x500 [ 74.594532][ C0] vfs_write+0xa84/0xcb0 [ 74.598782][ C0] ? __pfx_vfs_write+0x10/0x10 [ 74.603548][ C0] ? lockdep_hardirqs_on+0x99/0x150 [ 74.608774][ C0] ? __fdget_pos+0x272/0x320 [ 74.613379][ C0] ksys_write+0x1a0/0x2c0 [ 74.617716][ C0] ? __pfx_ksys_write+0x10/0x10 [ 74.622565][ C0] ? do_syscall_64+0x10a/0x240 [ 74.627350][ C0] ? syscall_trace_enter+0x5f/0x150 [ 74.632555][ C0] do_syscall_64+0xfb/0x240 [ 74.637085][ C0] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 74.642982][ C0] RIP: 0033:0x7f0b0bc9c2e9 [ 74.647396][ C0] Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 74.667051][ C0] RSP: 002b:00007ffef035f4c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 74.675478][ C0] RAX: ffffffffffffffda RBX: 00007ffef035f698 RCX: 00007f0b0bc9c2e9 [ 74.683453][ C0] RDX: 000000000000000f RSI: 0000000020000000 RDI: 0000000000000003 [ 74.691450][ C0] RBP: 00007f0b0bd0f610 R08: 0000000000000000 R09: 00007ffef035f698 [ 74.699422][ C0] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 74.707389][ C0] R13: 00007ffef035f688 R14: 0000000000000001 R15: 0000000000000001 [ 74.715371][ C0] [ 74.718707][ C0] Kernel Offset: disabled [ 74.723033][ C0] Rebooting in 86400 seconds..