./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor82734255 <...> [ 3.019960][ T84] acpid (84) used greatest stack depth: 23344 bytes left [ 3.287277][ T99] udevd[99]: starting version 3.2.11 [ 3.308925][ T100] udevd[100]: starting eudev-3.2.11 [ 3.508828][ T101] udevadm (101) used greatest stack depth: 22288 bytes left [ 11.112658][ T30] kauditd_printk_skb: 50 callbacks suppressed [ 11.112671][ T30] audit: type=1400 audit(1686897355.235:61): avc: denied { transition } for pid=223 comm="sshd" path="/bin/sh" dev="sda1" ino=89 scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 11.116767][ T30] audit: type=1400 audit(1686897355.235:62): avc: denied { noatsecure } for pid=223 comm="sshd" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 11.119457][ T30] audit: type=1400 audit(1686897355.235:63): avc: denied { write } for pid=223 comm="sh" path="pipe:[264]" dev="pipefs" ino=264 scontext=root:sysadm_r:sysadm_t tcontext=system_u:system_r:sshd_t tclass=fifo_file permissive=1 [ 11.122672][ T30] audit: type=1400 audit(1686897355.235:64): avc: denied { rlimitinh } for pid=223 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 [ 11.125414][ T30] audit: type=1400 audit(1686897355.235:65): avc: denied { siginh } for pid=223 comm="sh" scontext=system_u:system_r:sshd_t tcontext=root:sysadm_r:sysadm_t tclass=process permissive=1 Warning: Permanently added '10.128.0.81' (ECDSA) to the list of known hosts. execve("./syz-executor82734255", ["./syz-executor82734255"], 0x7ffde3e3de60 /* 10 vars */) = 0 brk(NULL) = 0x5555557a5000 brk(0x5555557a5d00) = 0x5555557a5d00 arch_prctl(ARCH_SET_FS, 0x5555557a53c0) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor82734255", 4096) = 26 brk(0x5555557c6d00) = 0x5555557c6d00 brk(0x5555557c7000) = 0x5555557c7000 mprotect(0x7fcb9b112000, 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 mount(NULL, "/proc/sys/fs/binfmt_misc", "binfmt_misc", 0, NULL) = -1 EBUSY (Device or resource busy) openat(AT_FDCWD, "/proc/sys/fs/binfmt_misc/register", O_WRONLY|O_CLOEXEC) = 3 write(3, "\x3a\x73\x79\x7a\x30\x3a\x4d\x3a\x30\x3a\x01\x3a\x3a\x2e\x2f\x66\x69\x6c\x65\x30\x3a", 21) = 21 close(3) = 0 openat(AT_FDCWD, "/proc/sys/fs/binfmt_misc/register", O_WRONLY|O_CLOEXEC) = 3 write(3, "\x3a\x73\x79\x7a\x31\x3a\x4d\x3a\x31\x3a\x02\x3a\x3a\x2e\x2f\x66\x69\x6c\x65\x30\x3a\x50\x4f\x43", 24) = 24 close(3) = 0 rt_sigaction(SIGRTMIN, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0}, NULL, 8) = 0 rt_sigaction(SIGSEGV, {sa_handler=0x7fcb9b05f3c0, sa_mask=[], sa_flags=SA_RESTORER|SA_NODEFER|SA_SIGINFO, sa_restorer=0x7fcb9b061140}, NULL, 8) = 0 rt_sigaction(SIGBUS, {sa_handler=0x7fcb9b05f3c0, sa_mask=[], sa_flags=SA_RESTORER|SA_NODEFER|SA_SIGINFO, sa_restorer=0x7fcb9b061140}, NULL, 8) = 0 unshare(CLONE_NEWPID) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555557a5690) = 292 ./strace-static-x86_64: Process 292 attached [pid 292] mount(NULL, "/sys/fs/fuse/connections", "fusectl", 0, NULL) = -1 EBUSY (Device or resource busy) [pid 292] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 292] setsid() = 1 [pid 292] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 292] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 292] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, NULL) = 0 [pid 292] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 292] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 292] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 292] unshare(CLONE_NEWNS) = 0 [pid 292] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 292] unshare(CLONE_NEWIPC) = -1 EINVAL (Invalid argument) [pid 292] unshare(CLONE_NEWCGROUP) = 0 [pid 292] unshare(CLONE_NEWUTS) = 0 [pid 292] unshare(CLONE_SYSVSEM) = 0 [pid 292] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 292] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 292] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 292] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 292] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 292] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 292] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) [pid 292] getpid() = 1 [pid 292] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< [ 19.505549][ T8] dump_stack_lvl+0x151/0x1b7 [ 19.510063][ T8] ? io_uring_drop_tctx_refs+0x190/0x190 [ 19.515531][ T8] ? __wake_up_klogd+0xd5/0x110 [ 19.520220][ T8] ? panic+0x751/0x751 [ 19.524120][ T8] print_address_description+0x87/0x3b0 [ 19.529503][ T8] kasan_report+0x179/0x1c0 [ 19.533842][ T8] ? __read_extent_tree_block+0x1e0/0x7b0 [ 19.539397][ T8] ? ext4_find_extent+0xbab/0xdb0 [ 19.544258][ T8] ? ext4_find_extent+0xbab/0xdb0 [ 19.549124][ T8] __asan_report_load4_noabort+0x14/0x20 [ 19.554587][ T8] ext4_find_extent+0xbab/0xdb0 [ 19.559275][ T8] ext4_ext_map_blocks+0x254/0x7250 [ 19.564311][ T8] ? __kasan_check_write+0x14/0x20 [ 19.569254][ T8] ? _raw_spin_lock_irqsave+0xf9/0x210 [ 19.574555][ T8] ? ret_from_fork+0x1f/0x30 [ 19.578976][ T8] ? free_unref_page_commit+0x480/0x480 [ 19.584357][ T8] ? stack_trace_snprint+0xf0/0xf0 [ 19.589303][ T8] ? _raw_spin_unlock_irqrestore+0x5c/0x80 [ 19.594948][ T8] ? __stack_depot_save+0x40d/0x470 [ 19.599979][ T8] ? ext4_ext_release+0x10/0x10 [ 19.604676][ T8] ? __kasan_slab_alloc+0xc3/0xe0 [ 19.609532][ T8] ? __kasan_slab_alloc+0xb1/0xe0 [ 19.614387][ T8] ? slab_post_alloc_hook+0x53/0x2c0 [ 19.619507][ T8] ? kmem_cache_alloc+0xf5/0x200 [ 19.624280][ T8] ? ext4_alloc_io_end_vec+0x2a/0x170 [ 19.629533][ T8] ? ext4_writepages+0x13b6/0x4010 [ 19.634437][ T8] ? do_writepages+0x40e/0x670 [ 19.639037][ T8] ? __writeback_single_inode+0xdf/0xa70 [ 19.644504][ T8] ? writeback_sb_inodes+0xb2e/0x1910 [ 19.649711][ T8] ? wb_writeback+0x3b9/0x9e0 [ 19.654224][ T8] ? wb_workfn+0x3d9/0x1110 [ 19.658564][ T8] ? process_one_work+0x6bb/0xc10 [ 19.663427][ T8] ? worker_thread+0xad5/0x12a0 [ 19.668113][ T8] ? kthread+0x421/0x510 [ 19.672192][ T8] ? ret_from_fork+0x1f/0x30 [ 19.676621][ T8] ? _raw_read_unlock+0x25/0x40 [ 19.681306][ T8] ? ext4_es_lookup_extent+0x33b/0x940 [ 19.686689][ T8] ext4_map_blocks+0xaa7/0x1e30 [ 19.691376][ T8] ? ext4_issue_zeroout+0x250/0x250 [ 19.696410][ T8] ? ext4_inode_journal_mode+0x1a5/0x470 [ 19.701876][ T8] ext4_writepages+0x162a/0x4010 [ 19.706660][ T8] ? ext4_readpage+0x230/0x230 [ 19.711250][ T8] ? stack_trace_save+0x1c0/0x1c0 [ 19.716110][ T8] ? arch_stack_walk+0x10d/0x140 [ 19.720889][ T8] ? ret_from_fork+0x1f/0x30 [ 19.725317][ T8] ? stack_trace_snprint+0xf0/0xf0 [ 19.730258][ T8] ? kmem_cache_free+0x116/0x2e0 [ 19.735036][ T8] ? ext4_readpage+0x230/0x230 [ 19.739634][ T8] do_writepages+0x40e/0x670 [ 19.744063][ T8] ? __writepage+0x130/0x130 [ 19.748488][ T8] ? _raw_spin_lock+0x1b0/0x1b0 [ 19.753173][ T8] ? _raw_spin_unlock_irqrestore+0x5c/0x80 [ 19.758812][ T8] ? percpu_counter_add_batch+0x13d/0x160 [ 19.764377][ T8] ? _raw_spin_unlock_irqrestore+0x5c/0x80 [ 19.770011][ T8] __writeback_single_inode+0xdf/0xa70 [ 19.775304][ T8] writeback_sb_inodes+0xb2e/0x1910 [ 19.780338][ T8] ? insn_get_prefixes+0xb2c/0x1870 [ 19.785374][ T8] ? queue_io+0x520/0x520 [ 19.789536][ T8] ? __writeback_inodes_wb+0x3f0/0x3f0 [ 19.794833][ T8] ? queue_io+0x3d0/0x520 [ 19.798999][ T8] wb_writeback+0x3b9/0x9e0 [ 19.803338][ T8] ? inode_cgwb_move_to_attached+0x3c0/0x3c0 [ 19.809159][ T8] ? set_worker_desc+0x158/0x1c0 [ 19.813926][ T8] ? __update_load_avg_cfs_rq+0xb1/0x2f0 [ 19.819395][ T8] ? __kasan_check_write+0x14/0x20 [ 19.824345][ T8] wb_workfn+0x3d9/0x1110 [ 19.828509][ T8] ? inode_wait_for_writeback+0x280/0x280 [ 19.834064][ T8] ? sched_clock+0x9/0x10 [ 19.838231][ T8] ? _raw_spin_unlock+0x4d/0x70 [ 19.842916][ T8] ? finish_task_switch+0x167/0x7b0 [ 19.847951][ T8] ? __kasan_check_read+0x11/0x20 [ 19.852813][ T8] ? read_word_at_a_time+0x12/0x20 [ 19.857756][ T8] ? strscpy+0x9c/0x260 [ 19.861753][ T8] process_one_work+0x6bb/0xc10 [ 19.866440][ T8] worker_thread+0xad5/0x12a0 [ 19.870955][ T8] kthread+0x421/0x510 [ 19.874855][ T8] ? worker_clr_flags+0x180/0x180 [ 19.879715][ T8] ? kthread_blkcg+0xd0/0xd0 [ 19.884141][ T8] ret_from_fork+0x1f/0x30 [ 19.888397][ T8] [ 19.891259][ T8] [ 19.893428][ T8] The buggy address belongs to the page: [ 19.898908][ T8] page:ffffea000472e600 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x11cb98 [ 19.908967][ T8] flags: 0x4000000000000000(zone=1) [ 19.914012][ T8] raw: 4000000000000000 ffffea000472e5c8 ffffea00046cc0c8 0000000000000000 [ 19.922424][ T8] raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000 [ 19.930838][ T8] page dumped because: kasan: bad access detected [ 19.937091][ T8] page_owner tracks the page as freed [ 19.942295][ T8] page last allocated via order 0, migratetype Movable, gfp_mask 0x100cca(GFP_HIGHUSER_MOVABLE), pid 292, ts 19448167471, free_ts 19448753248 [ 19.956532][ T8] post_alloc_hook+0x1a3/0x1b0 [ 19.961130][ T8] get_page_from_freelist+0x2c14/0x2cf0 [ 19.966511][ T8] __alloc_pages+0x386/0x7b0 [ 19.970939][ T8] wp_page_copy+0x201/0x1950 [ 19.975363][ T8] do_wp_page+0x6fa/0xb60 [ 19.979531][ T8] handle_pte_fault+0x72e/0x2340 [ 19.984304][ T8] do_handle_mm_fault+0x1fed/0x2330 [ 19.989337][ T8] exc_page_fault+0x3b5/0x830 [ 19.993919][ T8] asm_exc_page_fault+0x27/0x30 [ 19.998540][ T8] page last free stack trace: [ 20.003052][ T8] free_unref_page_prepare+0x7c8/0x7d0 [ 20.008351][ T8] free_unref_page_list+0x15d/0x980 [ 20.013381][ T8] release_pages+0x1310/0x1370 [ 20.017983][ T8] free_pages_and_swap_cache+0x8a/0xa0 [ 20.023277][ T8] tlb_finish_mmu+0x177/0x320 [ 20.027794][ T8] exit_mmap+0x3ef/0x6f0 [ 20.031867][ T8] __mmput+0x95/0x310 [ 20.035690][ T8] mmput+0x5b/0x170 [ 20.039334][ T8] do_exit+0xbb4/0x2b60 [ 20.043333][ T8] do_group_exit+0x141/0x310 [ 20.047749][ T8] __x64_sys_exit_group+0x3f/0x40 [ 20.052613][ T8] do_syscall_64+0x3d/0xb0 [ 20.056868][ T8] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 20.062595][ T8] [ 20.064763][ T8] Memory state around the buggy address: [ 20.070250][ T8] ffff88811cb98700: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 20.078131][ T8] ffff88811cb98780: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 20.086033][ T8] >ffff88811cb98800: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 20.093932][ T8] ^ [ 20.098359][ T8] ffff88811cb98880: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 20.106258][ T8] ffff88811cb98900: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff [ 20.114151][ T8] ================================================================== [ 20.122053][ T8] Disabling lock debugging due to kernel taint [ 20.128432][ T8] EXT4-fs error (device loop0): ext4_map_blocks:726: inode #16: block 37379922547201: comm kworker/u4:0: lblock 0 mapped to illegal pblock 37379922547201 (length 1) [ 20.144981][ T8] EXT4-fs (loop0): Delayed block allocation failed for inode 16 at logical offset 0 with max blocks 1 with error 117 [ 20.157221][ T8] EXT4-fs (loop0): This should not happen!! Data will be lost [ 20.157221][ T8] [ 20.167087][ T8] EXT4-fs error (device loop0): ext4_map_blocks:726: inode #16: block 2: comm kworker/u4:0: lblock 2 mapped to illegal pblock 2 (length 1) [ 20.181260][ T8] EXT4-fs (loop0): Delayed block allocation failed for inode 16 at logical offset 2 with max blocks 1 with error 117 [ 20.193340][ T8] EXT4-fs (loop0): This should not happen!! Data will be lost [ 20.193340][ T8] [pid 292] +++ exited with 1 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=292, si_uid=0, si_status=1, si_utime=0, si_stime=10} --- exit_group(0) = ? +++ exited with 0 +++