./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1284099047 <...> Warning: Permanently added '10.128.0.255' (ED25519) to the list of known hosts. execve("./syz-executor1284099047", ["./syz-executor1284099047"], 0x7ffee4c64ff0 /* 10 vars */) = 0 brk(NULL) = 0x555589954000 brk(0x555589954d00) = 0x555589954d00 arch_prctl(ARCH_SET_FS, 0x555589954380) = 0 set_tid_address(0x555589954650) = 5829 set_robust_list(0x555589954660, 24) = 0 rseq(0x555589954ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1284099047", 4096) = 28 getrandom("\xb1\x96\x3e\x3b\x7c\x62\xa7\xae", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555589954d00 brk(0x555589975d00) = 0x555589975d00 brk(0x555589976000) = 0x555589976000 mprotect(0x7f8b75ab9000, 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, "/proc/self/make-it-fail", O_WRONLY) = 3 close(3) = 0 openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_WRONLY) = 3 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/failslab/ignore-gfp-wait", O_WRONLY|O_CLOEXEC) = 3 write(3, "N", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/fail_futex/ignore-private", O_WRONLY|O_CLOEXEC) = 3 write(3, "N", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/fail_page_alloc/ignore-gfp-highmem", O_WRONLY|O_CLOEXEC) = 3 write(3, "N", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/fail_page_alloc/ignore-gfp-wait", O_WRONLY|O_CLOEXEC) = 3 write(3, "N", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/sys/kernel/debug/fail_page_alloc/min-order", O_WRONLY|O_CLOEXEC) = 3 write(3, "0", 1) = 1 close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5830 attached [pid 5830] set_robust_list(0x555589954660, 24 [pid 5829] <... clone resumed>, child_tidptr=0x555589954650) = 5830 [pid 5830] <... set_robust_list resumed>) = 0 [pid 5830] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5830] setpgid(0, 0) = 0 [pid 5830] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5830] write(3, "1000", 4) = 4 [pid 5830] close(3) = 0 [pid 5830] write(1, "executing program\n", 18executing program ) = 18 [pid 5830] openat(AT_FDCWD, "/proc/thread-self/fail-nth", O_RDWR) = 3 [pid 5830] write(3, "4", 1) = 1 [ 70.083195][ T5830] FAULT_INJECTION: forcing a failure. [ 70.083195][ T5830] name failslab, interval 1, probability 0, space 0, times 1 [ 70.096130][ T5830] CPU: 1 UID: 0 PID: 5830 Comm: syz-executor128 Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 [ 70.096155][ T5830] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 70.096165][ T5830] Call Trace: [ 70.096169][ T5830] [ 70.096173][ T5830] dump_stack_lvl+0x241/0x360 [ 70.096204][ T5830] ? __pfx_dump_stack_lvl+0x10/0x10 [ 70.096215][ T5830] ? __pfx__printk+0x10/0x10 [ 70.096238][ T5830] ? kmem_cache_alloc_lru_noprof+0x4d/0x390 [ 70.096255][ T5830] ? __pfx___might_resched+0x10/0x10 [ 70.096276][ T5830] should_fail_ex+0x40a/0x550 [ 70.096306][ T5830] should_failslab+0xac/0x100 [ 70.096327][ T5830] ? __d_alloc+0x31/0x700 [ 70.096344][ T5830] kmem_cache_alloc_lru_noprof+0x75/0x390 [ 70.096366][ T5830] __d_alloc+0x31/0x700 [ 70.096389][ T5830] d_alloc_pseudo+0x1f/0xb0 [ 70.096406][ T5830] alloc_file_pseudo+0x123/0x290 [ 70.096427][ T5830] ? __pfx_alloc_file_pseudo+0x10/0x10 [ 70.096446][ T5830] ? _raw_spin_unlock+0x28/0x50 [ 70.096466][ T5830] ? alloc_fd+0x61a/0x690 [ 70.096479][ T5830] anon_inode_getfile_fmode+0xe4/0x1e0 [ 70.096497][ T5830] __se_sys_fanotify_init+0x7e9/0x970 [ 70.096511][ T5830] do_syscall_64+0xf3/0x230 [ 70.096521][ T5830] ? clear_bhb_loop+0x35/0x90 [ 70.096537][ T5830] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 70.096550][ T5830] RIP: 0033:0x7f8b75a4d669 [ 70.096564][ T5830] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 a1 1a 00 00 90 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 [ 70.096576][ T5830] RSP: 002b:00007ffd163c2668 EFLAGS: 00000246 ORIG_RAX: 000000000000012c [ 70.096591][ T5830] RAX: ffffffffffffffda RBX: 00007ffd163c2680 RCX: 00007f8b75a4d669 [ 70.096599][ T5830] RDX: 00007f8b75a4c8a0 RSI: 0000000000000000 RDI: 0000000000000008 [ 70.096606][ T5830] RBP: 0000000000000001 R08: 00007ffd163c2407 R09: 00000000000000a0 [ 70.096612][ T5830] R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000001 [ 70.096618][ T5830] R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001 [ 70.096632][ T5830] [ 70.096644][ T5830] ================================================================== [ 70.306196][ T5830] BUG: KASAN: use-after-free in __put_unused_fd+0xdb/0x2a0 [ 70.313393][ T5830] Write of size 8 at addr ffff88804952aa48 by task syz-executor128/5830 [ 70.321741][ T5830] [ 70.324054][ T5830] CPU: 1 UID: 0 PID: 5830 Comm: syz-executor128 Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 [ 70.324069][ T5830] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 70.324076][ T5830] Call Trace: [ 70.324082][ T5830] [ 70.324087][ T5830] dump_stack_lvl+0x241/0x360 [ 70.324102][ T5830] ? __pfx_dump_stack_lvl+0x10/0x10 [ 70.324112][ T5830] ? __pfx__printk+0x10/0x10 [ 70.324128][ T5830] ? _printk+0xd5/0x120 [ 70.324143][ T5830] ? __virt_addr_valid+0x183/0x530 [ 70.324157][ T5830] ? __virt_addr_valid+0x183/0x530 [ 70.324171][ T5830] print_report+0x169/0x550 [ 70.324186][ T5830] ? __virt_addr_valid+0x183/0x530 [ 70.324200][ T5830] ? __virt_addr_valid+0x183/0x530 [ 70.324213][ T5830] ? __virt_addr_valid+0x45f/0x530 [ 70.324227][ T5830] ? __phys_addr+0xba/0x170 [ 70.324240][ T5830] ? __put_unused_fd+0xdb/0x2a0 [ 70.324250][ T5830] kasan_report+0x143/0x180 [ 70.324265][ T5830] ? __put_unused_fd+0xdb/0x2a0 [ 70.324275][ T5830] kasan_check_range+0x282/0x290 [ 70.324290][ T5830] __put_unused_fd+0xdb/0x2a0 [ 70.324300][ T5830] put_unused_fd+0x5c/0x70 [ 70.324309][ T5830] __se_sys_fanotify_init+0x800/0x970 [ 70.324322][ T5830] do_syscall_64+0xf3/0x230 [ 70.324333][ T5830] ? clear_bhb_loop+0x35/0x90 [ 70.324348][ T5830] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 70.324362][ T5830] RIP: 0033:0x7f8b75a4d669 [ 70.324373][ T5830] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 a1 1a 00 00 90 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 [ 70.324381][ T5830] RSP: 002b:00007ffd163c2668 EFLAGS: 00000246 ORIG_RAX: 000000000000012c [ 70.324393][ T5830] RAX: ffffffffffffffda RBX: 00007ffd163c2680 RCX: 00007f8b75a4d669 [ 70.324401][ T5830] RDX: 00007f8b75a4c8a0 RSI: 0000000000000000 RDI: 0000000000000008 [ 70.324407][ T5830] RBP: 0000000000000001 R08: 00007ffd163c2407 R09: 00000000000000a0 [ 70.324414][ T5830] R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000001 [ 70.324421][ T5830] R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001 [ 70.324430][ T5830] [ 70.324434][ T5830] [ 70.532204][ T5830] The buggy address belongs to the physical page: [ 70.538617][ T5830] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x4952a [ 70.547404][ T5830] flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) [ 70.554513][ T5830] raw: 00fff00000000000 dead000000000100 dead000000000122 0000000000000000 [ 70.563081][ T5830] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 70.571746][ T5830] page dumped because: kasan: bad access detected [ 70.578173][ T5830] page_owner tracks the page as freed [ 70.583569][ T5830] page last allocated via order 0, migratetype Unmovable, gfp_mask 0xcc0(GFP_KERNEL), pid 1, tgid 1 (swapper/0), ts 21408968854, free_ts 21922910177 [ 70.598865][ T5830] post_alloc_hook+0x1f4/0x240 [ 70.603728][ T5830] split_free_pages+0xe1/0x2d0 [ 70.608503][ T5830] alloc_contig_range_noprof+0x10eb/0x1770 [ 70.614761][ T5830] alloc_contig_pages_noprof+0x4b3/0x5c0 [ 70.620578][ T5830] debug_vm_pgtable_alloc_huge_page+0xaf/0x100 [ 70.626735][ T5830] init_args+0x83b/0xb20 [ 70.630975][ T5830] debug_vm_pgtable+0xe0/0x550 [ 70.635826][ T5830] do_one_initcall+0x248/0x870 [ 70.640596][ T5830] do_initcall_level+0x157/0x210 [ 70.645562][ T5830] do_initcalls+0x3f/0x80 [ 70.649899][ T5830] kernel_init_freeable+0x435/0x5d0 [ 70.655716][ T5830] kernel_init+0x1d/0x2b0 [ 70.660076][ T5830] ret_from_fork+0x4b/0x80 [ 70.664509][ T5830] ret_from_fork_asm+0x1a/0x30 [ 70.669267][ T5830] page last free pid 1 tgid 1 stack trace: [ 70.675083][ T5830] free_frozen_pages+0xe0d/0x10e0 [ 70.680101][ T5830] free_contig_range+0x14c/0x430 [ 70.685116][ T5830] destroy_args+0x92/0x910 [ 70.689539][ T5830] debug_vm_pgtable+0x4be/0x550 [ 70.694660][ T5830] do_one_initcall+0x248/0x870 [ 70.699440][ T5830] do_initcall_level+0x157/0x210 [ 70.704493][ T5830] do_initcalls+0x3f/0x80 [ 70.708825][ T5830] kernel_init_freeable+0x435/0x5d0 [ 70.714052][ T5830] kernel_init+0x1d/0x2b0 [ 70.718372][ T5830] ret_from_fork+0x4b/0x80 [ 70.722791][ T5830] ret_from_fork_asm+0x1a/0x30 [ 70.727568][ T5830] [ 70.729880][ T5830] Memory state around the buggy address: [ 70.735587][ T5830] ffff88804952a900: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 70.743661][ T5830] ffff88804952a980: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 70.751712][ T5830] >ffff88804952aa00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 70.759812][ T5830] ^ [ 70.766399][ T5830] ffff88804952aa80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 70.774553][ T5830] ffff88804952ab00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 70.782607][ T5830] ================================================================== [ 70.790872][ T5830] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 70.798183][ T5830] CPU: 1 UID: 0 PID: 5830 Comm: syz-executor128 Not tainted 6.13.0-rc3-next-20241220-syzkaller #0 [ 70.808791][ T5830] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 70.819193][ T5830] Call Trace: [ 70.822465][ T5830] [ 70.825388][ T5830] dump_stack_lvl+0x241/0x360 [ 70.830082][ T5830] ? __pfx_dump_stack_lvl+0x10/0x10 [ 70.835368][ T5830] ? __pfx__printk+0x10/0x10 [ 70.839998][ T5830] ? vscnprintf+0x5d/0x90 [ 70.844459][ T5830] panic+0x349/0x880 [ 70.848535][ T5830] ? check_panic_on_warn+0x21/0xb0 [ 70.853654][ T5830] ? __pfx_panic+0x10/0x10 [ 70.858092][ T5830] ? mark_lock+0x9a/0x360 [ 70.862473][ T5830] ? _raw_spin_unlock_irqrestore+0xd8/0x140 [ 70.868373][ T5830] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 70.874752][ T5830] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 70.881152][ T5830] ? print_report+0x502/0x550 [ 70.885946][ T5830] check_panic_on_warn+0x86/0xb0 [ 70.890917][ T5830] ? __put_unused_fd+0xdb/0x2a0 [ 70.895902][ T5830] end_report+0x77/0x160 [ 70.900169][ T5830] kasan_report+0x154/0x180 [ 70.904764][ T5830] ? __put_unused_fd+0xdb/0x2a0 [ 70.909696][ T5830] kasan_check_range+0x282/0x290 [ 70.914642][ T5830] __put_unused_fd+0xdb/0x2a0 [ 70.919625][ T5830] put_unused_fd+0x5c/0x70 [ 70.924311][ T5830] __se_sys_fanotify_init+0x800/0x970 [ 70.929707][ T5830] do_syscall_64+0xf3/0x230 [ 70.934299][ T5830] ? clear_bhb_loop+0x35/0x90 [ 70.938987][ T5830] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 70.945080][ T5830] RIP: 0033:0x7f8b75a4d669 [ 70.949502][ T5830] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 a1 1a 00 00 90 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 [ 70.969197][ T5830] RSP: 002b:00007ffd163c2668 EFLAGS: 00000246 ORIG_RAX: 000000000000012c [ 70.977613][ T5830] RAX: ffffffffffffffda RBX: 00007ffd163c2680 RCX: 00007f8b75a4d669 [ 70.985582][ T5830] RDX: 00007f8b75a4c8a0 RSI: 0000000000000000 RDI: 0000000000000008 [ 70.993564][ T5830] RBP: 0000000000000001 R08: 00007ffd163c2407 R09: 00000000000000a0 [ 71.001897][ T5830] R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000001 [ 71.009880][ T5830] R13: 431bde82d7b634db R14: 0000000000000001 R15: 0000000000000001 [ 71.017858][ T5830] [ 71.021671][ T5830] Kernel Offset: disabled [ 71.026007][ T5830] Rebooting in 86400 seconds..