./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3583700599 <...> Warning: Permanently added '10.128.0.160' (ED25519) to the list of known hosts. execve("./syz-executor3583700599", ["./syz-executor3583700599"], 0x7ffdc3b029e0 /* 10 vars */) = 0 brk(NULL) = 0x555568198000 brk(0x555568198d00) = 0x555568198d00 arch_prctl(ARCH_SET_FS, 0x555568198380) = 0 set_tid_address(0x555568198650) = 5221 set_robust_list(0x555568198660, 24) = 0 rseq(0x555568198ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3583700599", 4096) = 28 getrandom("\xbb\x98\xa9\x38\x18\xf8\x78\x5c", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555568198d00 brk(0x5555681b9d00) = 0x5555681b9d00 brk(0x5555681ba000) = 0x5555681ba000 mprotect(0x7f4eb0535000, 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 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5222 attached , child_tidptr=0x555568198650) = 5222 [pid 5221] openat(AT_FDCWD, "/sys/kernel/debug/x86/nmi_longest_ns", O_WRONLY|O_CLOEXEC [pid 5222] set_robust_list(0x555568198660, 24) = 0 [pid 5221] <... openat resumed>) = 3 [pid 5221] write(3, "10000000000", 11) = 11 [pid 5221] close(3) = 0 [pid 5221] openat(AT_FDCWD, "/proc/sys/kernel/hung_task_check_interval_secs", O_WRONLY|O_CLOEXEC) = 3 [pid 5221] write(3, "20", 2) = 2 [pid 5221] close(3) = 0 [pid 5221] openat(AT_FDCWD, "/proc/sys/net/core/bpf_jit_kallsyms", O_WRONLY|O_CLOEXEC) = 3 [pid 5221] write(3, "1", 1) = 1 [pid 5221] close(3) = 0 [pid 5221] openat(AT_FDCWD, "/proc/sys/net/core/bpf_jit_harden", O_WRONLY|O_CLOEXEC) = 3 [pid 5221] write(3, "0", 1) = 1 [pid 5221] close(3) = 0 [pid 5221] openat(AT_FDCWD, "/proc/sys/kernel/kptr_restrict", O_WRONLY|O_CLOEXEC) = 3 [pid 5221] write(3, "0", 1) = 1 [pid 5221] close(3) = 0 [pid 5221] openat(AT_FDCWD, "/proc/sys/kernel/softlockup_all_cpu_backtrace", O_WRONLY|O_CLOEXEC) = 3 [pid 5221] write(3, "1", 1) = 1 [pid 5221] close(3) = 0 [pid 5221] openat(AT_FDCWD, "/proc/sys/fs/mount-max", O_WRONLY|O_CLOEXEC) = 3 [pid 5221] write(3, "100", 3) = 3 [pid 5221] close(3) = 0 [pid 5221] openat(AT_FDCWD, "/proc/sys/vm/oom_dump_tasks", O_WRONLY|O_CLOEXEC) = 3 [pid 5221] write(3, "0", 1) = 1 [pid 5221] close(3) = 0 [pid 5221] openat(AT_FDCWD, "/proc/sys/debug/exception-trace", O_WRONLY|O_CLOEXEC) = 3 [pid 5221] write(3, "0", 1) = 1 [pid 5221] close(3) = 0 [pid 5221] openat(AT_FDCWD, "/proc/sys/kernel/printk", O_WRONLY|O_CLOEXEC) = 3 [pid 5221] write(3, "7 4 1 3", 7) = 7 [pid 5221] close(3) = 0 [pid 5221] openat(AT_FDCWD, "/proc/sys/kernel/keys/gc_delay", O_WRONLY|O_CLOEXEC) = 3 [pid 5221] write(3, "1", 1) = 1 [pid 5221] close(3) = 0 [pid 5221] openat(AT_FDCWD, "/proc/sys/vm/oom_kill_allocating_task", O_WRONLY|O_CLOEXEC) = 3 [pid 5221] write(3, "1", 1) = 1 [pid 5221] close(3) = 0 [pid 5221] openat(AT_FDCWD, "/proc/sys/kernel/ctrl-alt-del", O_WRONLY|O_CLOEXEC) = 3 [pid 5221] write(3, "0", 1) = 1 [pid 5221] close(3) = 0 [pid 5221] openat(AT_FDCWD, "/proc/sys/kernel/cad_pid", O_WRONLY|O_CLOEXEC) = 3 [pid 5221] write(3, "5222", 4) = 4 [pid 5221] close(3) = 0 [pid 5221] kill(5222, SIGKILL) = 0 [pid 5222] +++ killed by SIGKILL +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=5222, si_uid=0, si_status=SIGKILL, si_utime=0, si_stime=0} --- write(1, "executing program\n", 18executing program ) = 18 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4ea8000000 write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 4194304) = 4194304 munmap(0x7f4ea8000000, 138412032) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 close(4) = 0 mkdir("./file0", 0777) = 0 [ 60.554347][ T5221] loop0: detected capacity change from 0 to 8192 [ 60.589545][ T5221] REISERFS warning: read_super_block: reiserfs filesystem is deprecated and scheduled to be removed from the kernel in 2025 [ 60.602722][ T5221] REISERFS (device loop0): found reiserfs format "3.5" with non-standard journal [ 60.612072][ T5221] REISERFS (device loop0): using ordered data mode [ 60.618592][ T5221] reiserfs: using flush barriers [ 60.625110][ T5221] REISERFS (device loop0): journal params: device ram0, size 127, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 [ 60.641495][ T5221] REISERFS (device loop0): checking transaction log (ram0) [ 60.657607][ T5221] ================================================================== [ 60.665673][ T5221] BUG: KASAN: use-after-free in reiserfs_read_locked_inode+0x20db/0x29b0 [ 60.674106][ T5221] Read of size 4 at addr ffff888071b7c000 by task syz-executor358/5221 [ 60.682330][ T5221] [ 60.684649][ T5221] CPU: 0 UID: 0 PID: 5221 Comm: syz-executor358 Not tainted 6.12.0-rc3-syzkaller-00217-g4d939780b705 #0 [ 60.695751][ T5221] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 60.705806][ T5221] Call Trace: [ 60.709076][ T5221] [ 60.712019][ T5221] dump_stack_lvl+0x241/0x360 [ 60.716700][ T5221] ? __pfx_dump_stack_lvl+0x10/0x10 [ 60.721887][ T5221] ? __pfx__printk+0x10/0x10 [ 60.726464][ T5221] ? _printk+0xd5/0x120 [ 60.730610][ T5221] ? __virt_addr_valid+0x183/0x530 [ 60.735713][ T5221] ? __virt_addr_valid+0x183/0x530 [ 60.740828][ T5221] print_report+0x169/0x550 [ 60.745341][ T5221] ? __virt_addr_valid+0x183/0x530 [ 60.750445][ T5221] ? __virt_addr_valid+0x183/0x530 [ 60.755569][ T5221] ? __virt_addr_valid+0x45f/0x530 [ 60.760670][ T5221] ? __phys_addr+0xba/0x170 [ 60.765169][ T5221] ? reiserfs_read_locked_inode+0x20db/0x29b0 [ 60.771228][ T5221] kasan_report+0x143/0x180 [ 60.775728][ T5221] ? reiserfs_read_locked_inode+0x20db/0x29b0 [ 60.781791][ T5221] reiserfs_read_locked_inode+0x20db/0x29b0 [ 60.787686][ T5221] ? __pfx_lock_release+0x10/0x10 [ 60.792702][ T5221] ? __pfx_reiserfs_read_locked_inode+0x10/0x10 [ 60.798937][ T5221] ? _raw_spin_unlock+0x28/0x50 [ 60.803785][ T5221] ? __pfx_reiserfs_init_locked_inode+0x10/0x10 [ 60.810039][ T5221] reiserfs_fill_super+0x1361/0x2640 [ 60.815337][ T5221] ? __pfx_reiserfs_fill_super+0x10/0x10 [ 60.820977][ T5221] ? do_raw_spin_lock+0x14f/0x370 [ 60.826000][ T5221] ? __pfx_snprintf+0x10/0x10 [ 60.830697][ T5221] ? set_blocksize+0x1f9/0x360 [ 60.835558][ T5221] ? sb_set_blocksize+0x98/0xf0 [ 60.840409][ T5221] ? setup_bdev_super+0x4e6/0x5d0 [ 60.845441][ T5221] mount_bdev+0x20a/0x2d0 [ 60.849776][ T5221] ? __pfx_reiserfs_fill_super+0x10/0x10 [ 60.855415][ T5221] ? __pfx_mount_bdev+0x10/0x10 [ 60.860270][ T5221] ? vfs_parse_fs_string+0x190/0x230 [ 60.865565][ T5221] ? __pfx_vfs_parse_fs_string+0x10/0x10 [ 60.871202][ T5221] legacy_get_tree+0xee/0x190 [ 60.875883][ T5221] ? __pfx_get_super_block+0x10/0x10 [ 60.881171][ T5221] vfs_get_tree+0x90/0x2b0 [ 60.885590][ T5221] do_new_mount+0x2be/0xb40 [ 60.890098][ T5221] ? __pfx_do_new_mount+0x10/0x10 [ 60.895150][ T5221] __se_sys_mount+0x2d6/0x3c0 [ 60.899842][ T5221] ? __pfx___se_sys_mount+0x10/0x10 [ 60.905050][ T5221] ? do_syscall_64+0x100/0x230 [ 60.909818][ T5221] ? __x64_sys_mount+0x20/0xc0 [ 60.914616][ T5221] do_syscall_64+0xf3/0x230 [ 60.919132][ T5221] ? clear_bhb_loop+0x35/0x90 [ 60.923812][ T5221] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 60.929729][ T5221] RIP: 0033:0x7f4eb04c19aa [ 60.934153][ T5221] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 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 b8 ff ff ff f7 d8 64 89 01 48 [ 60.953772][ T5221] RSP: 002b:00007ffeb50439e8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 [ 60.962184][ T5221] RAX: ffffffffffffffda RBX: 00007ffeb5043a00 RCX: 00007f4eb04c19aa [ 60.970153][ T5221] RDX: 0000000020001100 RSI: 0000000020001140 RDI: 00007ffeb5043a00 [ 60.978123][ T5221] RBP: 0000000000000004 R08: 00007ffeb5043a40 R09: 00000000000010e2 [ 60.986086][ T5221] R10: 0000000000000000 R11: 0000000000000286 R12: 0000000000000000 [ 60.994072][ T5221] R13: 00007ffeb5043a40 R14: 0000000000000003 R15: 0000000000400000 [ 61.002045][ T5221] [ 61.005056][ T5221] [ 61.007369][ T5221] The buggy address belongs to the physical page: [ 61.013775][ T5221] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x71b7c [ 61.022538][ T5221] flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff) [ 61.029732][ T5221] raw: 00fff00000000000 ffffea0001c6df48 ffff8880b8644af0 0000000000000000 [ 61.038312][ T5221] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 [ 61.046879][ T5221] page dumped because: kasan: bad access detected [ 61.053283][ T5221] page_owner tracks the page as freed [ 61.058646][ T5221] page last allocated via order 0, migratetype Movable, gfp_mask 0x8(__GFP_MOVABLE), pid 1, tgid 1 (swapper/0), ts 15822642579, free_ts 17125272012 [ 61.073570][ T5221] post_alloc_hook+0x1f3/0x230 [ 61.078329][ T5221] alloc_contig_range_noprof+0x821/0xe00 [ 61.083953][ T5221] alloc_contig_pages_noprof+0x4b3/0x5c0 [ 61.089576][ T5221] debug_vm_pgtable_alloc_huge_page+0xaf/0x100 [ 61.095724][ T5221] init_args+0x83b/0xb20 [ 61.099975][ T5221] debug_vm_pgtable+0xe0/0x550 [ 61.104766][ T5221] do_one_initcall+0x248/0x880 [ 61.109524][ T5221] do_initcall_level+0x157/0x210 [ 61.114453][ T5221] do_initcalls+0x3f/0x80 [ 61.118775][ T5221] kernel_init_freeable+0x435/0x5d0 [ 61.123967][ T5221] kernel_init+0x1d/0x2b0 [ 61.128291][ T5221] ret_from_fork+0x4b/0x80 [ 61.132706][ T5221] ret_from_fork_asm+0x1a/0x30 [ 61.137466][ T5221] page last free pid 1 tgid 1 stack trace: [ 61.143255][ T5221] free_unref_page+0xcd0/0xf00 [ 61.148031][ T5221] free_contig_range+0x152/0x550 [ 61.152957][ T5221] destroy_args+0x8a/0x840 [ 61.157363][ T5221] debug_vm_pgtable+0x4be/0x550 [ 61.162212][ T5221] do_one_initcall+0x248/0x880 [ 61.166970][ T5221] do_initcall_level+0x157/0x210 [ 61.171900][ T5221] do_initcalls+0x3f/0x80 [ 61.176220][ T5221] kernel_init_freeable+0x435/0x5d0 [ 61.181408][ T5221] kernel_init+0x1d/0x2b0 [ 61.185730][ T5221] ret_from_fork+0x4b/0x80 [ 61.190148][ T5221] ret_from_fork_asm+0x1a/0x30 [ 61.194915][ T5221] [ 61.197228][ T5221] Memory state around the buggy address: [ 61.202845][ T5221] ffff888071b7bf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 61.210921][ T5221] ffff888071b7bf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 61.218967][ T5221] >ffff888071b7c000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 61.227028][ T5221] ^ [ 61.231081][ T5221] ffff888071b7c080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 61.239130][ T5221] ffff888071b7c100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 61.247264][ T5221] ================================================================== [ 61.255768][ T5221] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 61.262985][ T5221] CPU: 0 UID: 0 PID: 5221 Comm: syz-executor358 Not tainted 6.12.0-rc3-syzkaller-00217-g4d939780b705 #0 [ 61.274100][ T5221] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 61.284150][ T5221] Call Trace: [ 61.287426][ T5221] [ 61.290355][ T5221] dump_stack_lvl+0x241/0x360 [ 61.295039][ T5221] ? __pfx_dump_stack_lvl+0x10/0x10 [ 61.300236][ T5221] ? __pfx__printk+0x10/0x10 [ 61.304842][ T5221] ? preempt_schedule+0xe1/0xf0 [ 61.309700][ T5221] ? vscnprintf+0x5d/0x90 [ 61.314036][ T5221] panic+0x349/0x880 [ 61.317923][ T5221] ? check_panic_on_warn+0x21/0xb0 [ 61.323027][ T5221] ? __pfx_panic+0x10/0x10 [ 61.327436][ T5221] ? _raw_spin_unlock_irqrestore+0x130/0x140 [ 61.333413][ T5221] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 61.339744][ T5221] ? print_report+0x502/0x550 [ 61.344431][ T5221] check_panic_on_warn+0x86/0xb0 [ 61.349360][ T5221] ? reiserfs_read_locked_inode+0x20db/0x29b0 [ 61.355428][ T5221] end_report+0x77/0x160 [ 61.359690][ T5221] kasan_report+0x154/0x180 [ 61.364202][ T5221] ? reiserfs_read_locked_inode+0x20db/0x29b0 [ 61.370279][ T5221] reiserfs_read_locked_inode+0x20db/0x29b0 [ 61.376183][ T5221] ? __pfx_lock_release+0x10/0x10 [ 61.381206][ T5221] ? __pfx_reiserfs_read_locked_inode+0x10/0x10 [ 61.387587][ T5221] ? _raw_spin_unlock+0x28/0x50 [ 61.392453][ T5221] ? __pfx_reiserfs_init_locked_inode+0x10/0x10 [ 61.398697][ T5221] reiserfs_fill_super+0x1361/0x2640 [ 61.403989][ T5221] ? __pfx_reiserfs_fill_super+0x10/0x10 [ 61.409630][ T5221] ? do_raw_spin_lock+0x14f/0x370 [ 61.414677][ T5221] ? __pfx_snprintf+0x10/0x10 [ 61.419355][ T5221] ? set_blocksize+0x1f9/0x360 [ 61.424120][ T5221] ? sb_set_blocksize+0x98/0xf0 [ 61.428966][ T5221] ? setup_bdev_super+0x4e6/0x5d0 [ 61.433997][ T5221] mount_bdev+0x20a/0x2d0 [ 61.438335][ T5221] ? __pfx_reiserfs_fill_super+0x10/0x10 [ 61.443989][ T5221] ? __pfx_mount_bdev+0x10/0x10 [ 61.448836][ T5221] ? vfs_parse_fs_string+0x190/0x230 [ 61.454120][ T5221] ? __pfx_vfs_parse_fs_string+0x10/0x10 [ 61.459758][ T5221] legacy_get_tree+0xee/0x190 [ 61.464441][ T5221] ? __pfx_get_super_block+0x10/0x10 [ 61.469770][ T5221] vfs_get_tree+0x90/0x2b0 [ 61.474193][ T5221] do_new_mount+0x2be/0xb40 [ 61.478697][ T5221] ? __pfx_do_new_mount+0x10/0x10 [ 61.483746][ T5221] __se_sys_mount+0x2d6/0x3c0 [ 61.488424][ T5221] ? __pfx___se_sys_mount+0x10/0x10 [ 61.493625][ T5221] ? do_syscall_64+0x100/0x230 [ 61.498385][ T5221] ? __x64_sys_mount+0x20/0xc0 [ 61.503147][ T5221] do_syscall_64+0xf3/0x230 [ 61.507643][ T5221] ? clear_bhb_loop+0x35/0x90 [ 61.512325][ T5221] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 61.518318][ T5221] RIP: 0033:0x7f4eb04c19aa [ 61.522732][ T5221] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 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 b8 ff ff ff f7 d8 64 89 01 48 [ 61.542341][ T5221] RSP: 002b:00007ffeb50439e8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 [ 61.550766][ T5221] RAX: ffffffffffffffda RBX: 00007ffeb5043a00 RCX: 00007f4eb04c19aa [ 61.558737][ T5221] RDX: 0000000020001100 RSI: 0000000020001140 RDI: 00007ffeb5043a00 [ 61.566703][ T5221] RBP: 0000000000000004 R08: 00007ffeb5043a40 R09: 00000000000010e2 [ 61.574670][ T5221] R10: 0000000000000000 R11: 0000000000000286 R12: 0000000000000000 [ 61.582638][ T5221] R13: 00007ffeb5043a40 R14: 0000000000000003 R15: 0000000000400000 [ 61.590618][ T5221] [ 61.593978][ T5221] Kernel Offset: disabled [ 61.598303][ T5221] Rebooting in 86400 seconds..