./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3642952480 <...> Warning: Permanently added '10.128.1.1' (ECDSA) to the list of known hosts. execve("./syz-executor3642952480", ["./syz-executor3642952480"], 0x7ffee87b4240 /* 10 vars */) = 0 brk(NULL) = 0x5555573e8000 brk(0x5555573e8c40) = 0x5555573e8c40 arch_prctl(ARCH_SET_FS, 0x5555573e8300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor3642952480", 4096) = 28 brk(0x555557409c40) = 0x555557409c40 brk(0x55555740a000) = 0x55555740a000 mprotect(0x7f6be3f6c000, 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 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6bdbab2000 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(0x7f6bdbab2000, 4194304) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 mkdir("./file0", 0777) = 0 [ 59.835675][ T5065] loop0: detected capacity change from 0 to 8192 [ 59.847083][ T5065] REISERFS warning: read_super_block: reiserfs filesystem is deprecated and scheduled to be removed from the kernel in 2025 [ 59.860777][ T5065] REISERFS (device loop0): found reiserfs format "3.6" with non-standard journal [ 59.870164][ T5065] REISERFS (device loop0): using ordered data mode [ 59.876766][ T5065] reiserfs: using flush barriers [ 59.883066][ T5065] REISERFS (device loop0): journal params: device loop0, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30 [ 59.899774][ T5065] REISERFS (device loop0): checking transaction log (loop0) mount("/dev/loop0", "./file0", "reiserfs", MS_NOEXEC|MS_I_VERSION, "") = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 chdir("./file0") = 0 ioctl(4, LOOP_CLR_FD) = 0 close(4) = 0 open("./bus", O_RDWR|O_CREAT|O_SYNC|O_LARGEFILE|O_NOATIME, 000) = 4 mkdir("./file0", 000) = 0 ftruncate(4, 3608577) = 0 openat(AT_FDCWD, ".log", O_WRONLY|O_CREAT|O_TRUNC, 000) = 5 write(5, "\x12\x00\x00\x00\x10\x00\x00\xfa\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\xff\xff\xff\xff", 24) = 24 exit_group(0) = ? [ 59.942698][ T5065] REISERFS (device loop0): Using r5 hash to sort names [ 59.950533][ T5065] REISERFS (device loop0): Created .reiserfs_priv - reserved for xattr storage. [ 59.979274][ T5065] [ 59.979274][ T5065] =================================================================== [ 59.989956][ T5065] LEAF NODE (532) contains level=1, nr_items=8, free_space=48 rdkey [ 59.999277][ T5065] ------------------------------------------------------------------------------- [ 60.009027][ T5065] |##| type | key | ilen | free_space | version | loc | [ 60.018441][ T5065] ------------------------------------------------------------------------------- [ 60.027975][ T5065] | 4| *3.5*[2 5 0(1) DIR], item_len 48, item_location 384, free_space(entry_count) 2 | [ 60.037953][ T5065] [ 60.037953][ T5065] # Name Key of pointed object Hash Gen number Status [ 60.050865][ T5065] 0: "." 2 5 0 1 (VISIBLE) [ 60.061141][ T5065] 1: ".." 1 2 0 2 (VISIBLE) [ 60.071518][ T5065] ------------------------------------------------------------------------------- [ 60.080796][ T5065] | 5| *3.6* [2 6 0x0 SD], item_len 44, item_location 340, free_space(entry_count) 65535 | [ 60.090843][ T5065] mode | size | nlinks | first direct | mtime [ 60.097040][ T5065] 0100000 | 24 | 1 | 0 | 1672687496 [ 60.102751][ T5065] =================================================================== [ 60.110972][ T5065] REISERFS panic (device loop0): PAP-5580 reiserfs_cut_from_item: item to convert does not exist ([2 6 0x1 IND]) [ 60.123257][ T5065] ------------[ cut here ]------------ [ 60.128838][ T5065] kernel BUG at fs/reiserfs/prints.c:390! [ 60.134564][ T5065] invalid opcode: 0000 [#1] PREEMPT SMP KASAN [ 60.140646][ T5065] CPU: 1 PID: 5065 Comm: syz-executor364 Not tainted 6.2.0-rc2-syzkaller #0 [ 60.149326][ T5065] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 60.159555][ T5065] RIP: 0010:__reiserfs_panic+0x12f/0x140 [ 60.165242][ T5065] Code: c0 50 03 8b 48 0f 44 c8 48 0f 44 d8 48 c7 c7 80 51 03 8b 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 40 46 16 92 31 c0 e8 01 ec 82 08 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 41 [ 60.184949][ T5065] RSP: 0018:ffffc90003c0f140 EFLAGS: 00010246 [ 60.191085][ T5065] RAX: 000000000000006e RBX: ffffffff8b0376e0 RCX: bc42c5d171a4b400 [ 60.199063][ T5065] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 60.207104][ T5065] RBP: ffffc90003c0f230 R08: ffffffff816f2c9d R09: fffff52000781de1 [ 60.215241][ T5065] R10: fffff52000781de1 R11: 1ffff92000781de0 R12: ffffffff8b037700 [ 60.223228][ T5065] R13: ffffc90003c0f160 R14: ffffffff8cc71f98 R15: ffff888079d1a6a8 [ 60.231290][ T5065] FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 [ 60.240425][ T5065] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 60.247002][ T5065] CR2: 000055f2c5ae6c40 CR3: 0000000021dc5000 CR4: 00000000003506e0 [ 60.254967][ T5065] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 60.262930][ T5065] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 60.270891][ T5065] Call Trace: [ 60.274264][ T5065] [ 60.277181][ T5065] ? reiserfs_debug+0x10/0x10 [ 60.281851][ T5065] ? search_for_position_by_key+0xfd/0xfa0 [ 60.287649][ T5065] ? reiserfs_hashname+0x60/0x60 [ 60.292590][ T5065] reiserfs_cut_from_item+0x219d/0x25b0 [ 60.298128][ T5065] ? read_lock_is_recursive+0x10/0x10 [ 60.303491][ T5065] ? reiserfs_do_truncate+0x15a0/0x15a0 [ 60.309286][ T5065] ? search_by_key+0x4793/0x49c0 [ 60.314242][ T5065] ? search_by_key+0x49c0/0x49c0 [ 60.319168][ T5065] ? __mutex_unlock_slowpath+0x222/0x770 [ 60.324797][ T5065] ? mutex_lock_io_nested+0x60/0x60 [ 60.329981][ T5065] ? mutex_unlock+0x10/0x10 [ 60.334483][ T5065] ? make_cpu_key+0x2b/0x220 [ 60.339057][ T5065] reiserfs_do_truncate+0x9d6/0x15a0 [ 60.344337][ T5065] ? reiserfs_delete_object+0x1a0/0x1a0 [ 60.349876][ T5065] ? _compound_head+0x130/0x130 [ 60.354737][ T5065] ? page_zero_new_buffers+0x851/0x940 [ 60.360258][ T5065] ? journal_begin+0x1f1/0x350 [ 60.365027][ T5065] reiserfs_truncate_file+0x471/0x790 [ 60.370497][ T5065] ? reiserfs_new_symlink+0x6b0/0x6b0 [ 60.375871][ T5065] ? __discard_prealloc+0x2e7/0x480 [ 60.381051][ T5065] ? journal_end+0x21e/0x2d0 [ 60.385624][ T5065] reiserfs_file_release+0x887/0xa30 [ 60.390909][ T5065] ? reiserfs_file_open+0x100/0x100 [ 60.396110][ T5065] ? integrity_iint_find+0x4f/0x120 [ 60.401296][ T5065] ? ima_file_free+0xec/0x3a0 [ 60.405968][ T5065] ? lockdep_hardirqs_on_prepare+0x428/0x790 [ 60.412020][ T5065] ? reiserfs_file_open+0x100/0x100 [ 60.417204][ T5065] __fput+0x3ba/0x880 [ 60.421252][ T5065] task_work_run+0x243/0x300 [ 60.425834][ T5065] ? task_work_cancel+0x290/0x290 [ 60.430848][ T5065] ? switch_task_namespaces+0xaf/0xe0 [ 60.436207][ T5065] do_exit+0x644/0x2150 [ 60.440356][ T5065] ? mm_update_next_owner+0x6d0/0x6d0 [ 60.445716][ T5065] ? print_irqtrace_events+0x220/0x220 [ 60.451248][ T5065] ? _raw_spin_unlock_irq+0x1f/0x40 [ 60.456435][ T5065] ? lockdep_hardirqs_on+0x8d/0x130 [ 60.461707][ T5065] do_group_exit+0x1fd/0x2b0 [ 60.466282][ T5065] __x64_sys_exit_group+0x3b/0x40 [ 60.471376][ T5065] do_syscall_64+0x3d/0xb0 [ 60.475782][ T5065] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 60.481688][ T5065] RIP: 0033:0x7f6be3efd489 [ 60.486087][ T5065] Code: Unable to access opcode bytes at 0x7f6be3efd45f. [ 60.493196][ T5065] RSP: 002b:00007ffec10dfdd8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 60.501611][ T5065] RAX: ffffffffffffffda RBX: 00007f6be3f72350 RCX: 00007f6be3efd489 [ 60.509699][ T5065] RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000 [ 60.517669][ T5065] RBP: 0000000000000000 R08: ffffffffffffffc0 R09: 0000000000000000 [ 60.525627][ T5065] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6be3f72350 [ 60.533586][ T5065] R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001 [ 60.541544][ T5065] [ 60.544548][ T5065] Modules linked in: [ 60.548650][ T5065] ---[ end trace 0000000000000000 ]--- [ 60.554107][ T5065] RIP: 0010:__reiserfs_panic+0x12f/0x140 [ 60.559890][ T5065] Code: c0 50 03 8b 48 0f 44 c8 48 0f 44 d8 48 c7 c7 80 51 03 8b 4c 89 fe 48 89 da 4d 89 f0 49 c7 c1 40 46 16 92 31 c0 e8 01 ec 82 08 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 41 [ 60.579554][ T5065] RSP: 0018:ffffc90003c0f140 EFLAGS: 00010246 [ 60.585694][ T5065] RAX: 000000000000006e RBX: ffffffff8b0376e0 RCX: bc42c5d171a4b400 [ 60.593773][ T5065] RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 [ 60.602055][ T5065] RBP: ffffc90003c0f230 R08: ffffffff816f2c9d R09: fffff52000781de1 [ 60.610176][ T5065] R10: fffff52000781de1 R11: 1ffff92000781de0 R12: ffffffff8b037700 [ 60.618287][ T5065] R13: ffffc90003c0f160 R14: ffffffff8cc71f98 R15: ffff888079d1a6a8 [ 60.626257][ T5065] FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 [ 60.635301][ T5065] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 60.641927][ T5065] CR2: 000055f2c5ae6c40 CR3: 0000000021dc5000 CR4: 00000000003506e0 [ 60.650045][ T5065] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 60.658051][ T5065] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 60.666035][ T5065] Kernel panic - not syncing: Fatal exception [ 60.672244][ T5065] Kernel Offset: disabled [ 60.676558][ T5065] Rebooting in 86400 seconds..