./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor99523479 <...> Warning: Permanently added '10.128.0.84' (ED25519) to the list of known hosts. execve("./syz-executor99523479", ["./syz-executor99523479"], 0x7ffce8fbb780 /* 10 vars */) = 0 brk(NULL) = 0x55556806f000 brk(0x55556806fe00) = 0x55556806fe00 arch_prctl(ARCH_SET_FS, 0x55556806f480) = 0 set_tid_address(0x55556806f750) = 5828 set_robust_list(0x55556806f760, 24) = 0 rseq(0x55556806fda0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor99523479", 4096) = 26 getrandom("\x0e\x35\xcf\x0a\x09\xd6\xfb\x3d", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55556806fe00 brk(0x555568090e00) = 0x555568090e00 brk(0x555568091000) = 0x555568091000 mprotect(0x7f3db8aae000, 16384, PROT_READ) = 0 mmap(0x1ffffffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffffffff000 mmap(0x200000000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x200000000000 mmap(0x200001000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x200001000000 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=0x7f3db8a06190, sa_mask=[], sa_flags=SA_RESTORER|SA_NODEFER|SA_SIGINFO, sa_restorer=0x7f3db8a0e150}, NULL, 8) = 0 rt_sigaction(SIGBUS, {sa_handler=0x7f3db8a06190, sa_mask=[], sa_flags=SA_RESTORER|SA_NODEFER|SA_SIGINFO, sa_restorer=0x7f3db8a0e150}, NULL, 8) = 0 mkdir("./syzkaller.4Kdon8", 0700) = 0 chmod("./syzkaller.4Kdon8", 0777) = 0 chdir("./syzkaller.4Kdon8") = 0 executing program write(1, "executing program\n", 18) = 18 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3db0400000 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"..., 262144) = 262144 munmap(0x7f3db0400000, 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 [ 69.669268][ T5828] loop0: detected capacity change from 0 to 512 [ 69.698024][ T5828] EXT4-fs: Ignoring removed bh option [ 69.705716][ T5828] EXT4-fs (loop0): mounting ext3 file system using the ext4 subsystem mount("/dev/loop0", "./file0", "ext3", MS_SILENT|MS_STRICTATIME|MS_LAZYTIME, "quota,resgid=0x000000000000ee00,bh,noload,data_err=ignore,noload,,errors=continue") = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 chdir("./file0") = 0 [ 69.719372][ T5828] EXT4-fs (loop0): 1 truncate cleaned up [ 69.726337][ T5828] EXT4-fs (loop0): mounted filesystem 00000000-0000-0000-0000-000000000000 r/w without journal. Quota mode: writeback. openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) mount(NULL, "./file0", "afs", 0, "dyn,") = 0 chdir("./file0") = 0 lstat("./file1", NULL) = -1 EFAULT (Bad address) open(".", O_RDONLY) = 4 [ 69.810235][ T5828] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:321 [ 69.820975][ T5828] in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 5828, name: syz-executor995 [ 69.830524][ T5828] preempt_count: 0, expected: 0 [ 69.835538][ T5828] RCU nest depth: 1, expected: 0 [ 69.840499][ T5828] 4 locks held by syz-executor995/5828: [ 69.846118][ T5828] #0: ffff8880332ef0b8 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x247/0x310 getdents(4, 0x200000001fc0 /* 4 entries */, 184) = 112 [ 69.855307][ T5828] #1: ffff888053d08148 (&type->i_mutex_dir_key#7){.+.+}-{4:4}, at: iterate_dir+0x4a6/0x760 [ 69.865517][ T5828] #2: ffffffff8eb3a760 (rcu_read_lock){....}-{1:3}, at: afs_dynroot_readdir+0x466/0xbe0 [ 69.875452][ T5828] #3: ffff88806d7fed20 (&mm->mmap_lock){++++}-{4:4}, at: lock_mm_and_find_vma+0x32/0x2f0 [ 69.886544][ T5828] CPU: 1 UID: 0 PID: 5828 Comm: syz-executor995 Not tainted 6.14.0-syzkaller-01103-g2df0c02dab82 #0 PREEMPT(full) [ 69.886566][ T5828] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 69.886579][ T5828] Call Trace: [ 69.886586][ T5828] [ 69.886594][ T5828] dump_stack_lvl+0x241/0x360 [ 69.886617][ T5828] ? __pfx_dump_stack_lvl+0x10/0x10 [ 69.886643][ T5828] __might_resched+0x558/0x6c0 [ 69.886668][ T5828] ? handle_softirqs+0x12a/0x9b0 [ 69.886689][ T5828] ? __pfx___might_resched+0x10/0x10 [ 69.886717][ T5828] ? __alloc_frozen_pages_noprof+0x181/0x7b0 [ 69.886739][ T5828] prepare_alloc_pages+0x1cc/0x5c0 [ 69.886762][ T5828] __alloc_frozen_pages_noprof+0x181/0x7b0 [ 69.886783][ T5828] ? __pfx___alloc_frozen_pages_noprof+0x10/0x10 [ 69.886814][ T5828] alloc_pages_mpol+0x339/0x690 [ 69.886840][ T5828] ? __pfx_alloc_pages_mpol+0x10/0x10 [ 69.886868][ T5828] vma_alloc_folio_noprof+0x12d/0x260 [ 69.886893][ T5828] ? __pfx_vma_alloc_folio_noprof+0x10/0x10 [ 69.886922][ T5828] folio_prealloc+0x2e/0x170 [ 69.886941][ T5828] __handle_mm_fault+0x32e8/0x6ef0 [ 69.886972][ T5828] ? __pfx___handle_mm_fault+0x10/0x10 [ 69.886994][ T5828] ? cgroup_rstat_updated+0x144/0xc40 [ 69.887015][ T5828] ? mtree_range_walk+0x700/0x8e0 [ 69.887042][ T5828] ? mt_find+0x28a/0x8f0 [ 69.887060][ T5828] ? mt_find+0x28a/0x8f0 [ 69.887080][ T5828] ? mt_find+0x699/0x8f0 [ 69.887100][ T5828] ? mt_find+0x28a/0x8f0 [ 69.887120][ T5828] ? __pfx_mt_find+0x10/0x10 [ 69.887150][ T5828] ? find_vma+0xfa/0x170 [ 69.887165][ T5828] ? __pfx_find_vma+0x10/0x10 [ 69.887181][ T5828] handle_mm_fault+0x2c1/0x7e0 [ 69.887202][ T5828] exc_page_fault+0x2bb/0x8b0 [ 69.887225][ T5828] asm_exc_page_fault+0x26/0x30 [ 69.887240][ T5828] RIP: 0010:filldir+0x2c4/0x6a0 [ 69.887262][ T5828] Code: 87 55 02 00 00 0f 01 cb 0f ae e8 48 8b 44 24 30 49 89 46 08 48 8b 4c 24 10 48 8b 44 24 60 48 89 01 48 8b 44 24 18 8b 6c 24 3c <66> 89 41 10 48 98 40 88 6c 01 ff 48 89 44 24 30 4d 63 f5 42 c6 44 [ 69.887274][ T5828] RSP: 0018:ffffc90003a37be0 EFLAGS: 00050283 [ 69.887288][ T5828] RAX: 0000000000000020 RBX: 0000200000002010 RCX: 0000200000001ff0 [ 69.887298][ T5828] RDX: 0000000000000000 RSI: 0000200000001fd8 RDI: 0000200000002010 [ 69.887308][ T5828] RBP: 0000000000000004 R08: ffffffff8240768d R09: 1ffff1100a7fa780 [ 69.887318][ T5828] R10: dffffc0000000000 R11: ffffed100a7fa781 R12: ffff888029500e41 [ 69.887329][ T5828] R13: 0000000000000005 R14: 0000200000001fd8 R15: 00007ffffffff000 [ 69.887342][ T5828] ? filldir+0x28d/0x6a0 [ 69.887373][ T5828] afs_dynroot_readdir+0x814/0xbe0 [ 69.887393][ T5828] ? __pfx___mutex_lock+0x10/0x10 [ 69.887412][ T5828] ? afs_dynroot_readdir+0x466/0xbe0 [ 69.887431][ T5828] ? __pfx_afs_dynroot_readdir+0x10/0x10 [ 69.887454][ T5828] iterate_dir+0x5a9/0x760 [ 69.887477][ T5828] __se_sys_getdents+0x1ff/0x4e0 [ 69.887502][ T5828] ? __pfx___se_sys_getdents+0x10/0x10 [ 69.887522][ T5828] ? __pfx_filldir+0x10/0x10 [ 69.887551][ T5828] do_syscall_64+0xf3/0x230 [ 69.887571][ T5828] ? clear_bhb_loop+0x45/0xa0 [ 69.887588][ T5828] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 69.887602][ T5828] RIP: 0033:0x7f3db8a3a419 [ 69.887622][ T5828] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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 [ 69.887634][ T5828] RSP: 002b:00007fff5882c0e8 EFLAGS: 00000246 ORIG_RAX: 000000000000004e [ 69.887648][ T5828] RAX: ffffffffffffffda RBX: 65726f6e67693d72 RCX: 00007f3db8a3a419 [ 69.887659][ T5828] RDX: 00000000000000b8 RSI: 0000200000001fc0 RDI: 0000000000000004 [ 69.887668][ T5828] RBP: 00007fff5882c0f8 R08: 6c616b7a79732f2e R09: 6c616b7a79732f2e [ 69.887679][ T5828] R10: 6c616b7a79732f2e R11: 0000000000000246 R12: 0000000000000000 exit_group(0) = ? +++ exited with 0 +++ [ 69.887688][ T5828] R13: 00007fff5882c358 R14: 000000