./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1992425088 <...> Warning: Permanently added '10.128.1.23' (ED25519) to the list of known hosts. execve("./syz-executor1992425088", ["./syz-executor1992425088"], 0x7ffe1e9aa800 /* 10 vars */) = 0 brk(NULL) = 0x555556ea5000 brk(0x555556ea5d00) = 0x555556ea5d00 arch_prctl(ARCH_SET_FS, 0x555556ea5380) = 0 set_tid_address(0x555556ea5650) = 5037 set_robust_list(0x555556ea5660, 24) = 0 rseq(0x555556ea5ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1992425088", 4096) = 28 getrandom("\xe7\x4e\x3c\x1f\x0c\xb5\x1f\xf3", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555556ea5d00 brk(0x555556ec6d00) = 0x555556ec6d00 brk(0x555556ec7000) = 0x555556ec7000 mprotect(0x7f9e40b22000, 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 creat("./file1", 000) = 3 memfd_create("syzkaller", 0) = 4 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9e38668000 write(4, "\xb5\x84\x31\x7b\xb6\x84\x31\x7b\xb7\x84\x31\x7b\xb8\x84\x31\x7b\xb9\x84\x31\x7b\xba\x84\x31\x7b\xbb\x84\x31\x7b\xbc\x84\x31\x7b\xbd\x84\x31\x7b\xbe\x84\x31\x7b\xbf\x84\x31\x7b\xc0\x84\x31\x7b\xc1\x84\x31\x7b\xc2\x84\x31\x7b\xc3\x84\x31\x7b\xc4\x84\x31\x7b\xc5\x84\x31\x7b\xc6\x84\x31\x7b\xc7\x84\x31\x7b\xc8\x84\x31\x7b\xc9\x84\x31\x7b\xca\x84\x31\x7b\xcb\x84\x31\x7b\xcc\x84\x31\x7b\xcd\x84\x31\x7b"..., 65536) = 65536 munmap(0x7f9e38668000, 65536) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 5 ioctl(5, LOOP_SET_FD, 4) = 0 close(4) = 0 mkdir("./file1", 0777) = -1 EEXIST (File exists) mount("/dev/loop0", "./file1", "sysv", 0, "\xff\x03") = 0 openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = -1 ENOTDIR (Not a directory) ioctl(5, LOOP_CLR_FD) = 0 close(5) = 0 [ 68.458991][ T5037] syz-executor199[5037]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [ 68.475731][ T5037] loop0: detected capacity change from 0 to 128 [ 68.487147][ T5037] VFS: Found a Xenix FS (block size = 512) on device loop0 [ 68.498848][ T5037] syz-executor199: attempt to access beyond end of device [ 68.498848][ T5037] loop0: rw=0, sector=8767744, nr_sectors = 1 limit=128 [ 68.513898][ T5037] Buffer I/O error on dev loop0, logical block 8767744, async page read [ 68.522333][ T5037] syz-executor199: attempt to access beyond end of device [ 68.522333][ T5037] loop0: rw=0, sector=13269809, nr_sectors = 1 limit=128 [ 68.536694][ T5037] Buffer I/O error on dev loop0, logical block 13269809, async page read [ 68.545940][ T5037] syz-executor199: attempt to access beyond end of device [ 68.545940][ T5037] loop0: rw=0, sector=1157, nr_sectors = 1 limit=128 [ 68.559891][ T5037] Buffer I/O error on dev loop0, logical block 1157, async page read [ 68.568264][ T5037] syz-executor199: attempt to access beyond end of device [ 68.568264][ T5037] loop0: rw=0, sector=3211264, nr_sectors = 1 limit=128 [ 68.582303][ T5037] Buffer I/O error on dev loop0, logical block 3211264, async page read [ 68.590717][ T5037] syz-executor199: attempt to access beyond end of device [ 68.590717][ T5037] loop0: rw=0, sector=8768635, nr_sectors = 1 limit=128 [ 68.604668][ T5037] Buffer I/O error on dev loop0, logical block 8768635, async page read [ 68.613014][ T5037] syz-executor199: attempt to access beyond end of device [ 68.613014][ T5037] loop0: rw=0, sector=13466417, nr_sectors = 1 limit=128 [ 68.627045][ T5037] Buffer I/O error on dev loop0, logical block 13466417, async page read [ 68.635523][ T5037] syz-executor199: attempt to access beyond end of device [ 68.635523][ T5037] loop0: rw=0, sector=209285, nr_sectors = 1 limit=128 [ 68.649362][ T5037] Buffer I/O error on dev loop0, logical block 209285, async page read [ 68.657777][ T5037] BUG: sleeping function called from invalid context at fs/buffer.c:1437 [ 68.666351][ T5037] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5037, name: syz-executor199 [ 68.675852][ T5037] preempt_count: 1, expected: 0 [ 68.680714][ T5037] RCU nest depth: 0, expected: 0 [ 68.685680][ T5037] 3 locks held by syz-executor199/5037: [ 68.691225][ T5037] #0: ffff888077cc7620 (&iint->mutex){+.+.}-{3:3}, at: process_measurement+0x7c9/0x1cf0 [ 68.701137][ T5037] #1: ffff8880791ac328 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: page_cache_ra_unbounded+0xf1/0x7c0 [ 68.712373][ T5037] #2: ffffffff8d601198 (pointers_lock){.+.+}-{2:2}, at: get_block+0x167/0x1700 [ 68.721524][ T5037] Preemption disabled at: [ 68.721536][ T5037] [<0000000000000000>] 0x0 [ 68.730320][ T5037] CPU: 0 PID: 5037 Comm: syz-executor199 Not tainted 6.6.0-rc4-syzkaller-00029-gcbf3a2cb156a #0 [ 68.740725][ T5037] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 [ 68.750860][ T5037] Call Trace: [ 68.754130][ T5037] [ 68.757049][ T5037] dump_stack_lvl+0x1e7/0x2d0 [ 68.761717][ T5037] ? nf_tcp_handle_invalid+0x650/0x650 [ 68.767164][ T5037] ? panic+0x770/0x770 [ 68.771235][ T5037] __might_resched+0x5cf/0x780 [ 68.776002][ T5037] ? __might_sleep+0xc0/0xc0 [ 68.780591][ T5037] ? folio_alloc_buffers+0x3a9/0x9b0 [ 68.785873][ T5037] ? folio_create_buffers+0x132/0x250 [ 68.791234][ T5037] ? read_pages+0x5f0/0x830 [ 68.795747][ T5037] ? __kernel_read+0x422/0x8e0 [ 68.800536][ T5037] __getblk_gfp+0x43/0x630 [ 68.804949][ T5037] ? read_lock_is_recursive+0x20/0x20 [ 68.810315][ T5037] ? get_block+0x197/0x1700 [ 68.814815][ T5037] __bread_gfp+0x2e/0x380 [ 68.819133][ T5037] get_branch+0x2af/0x660 [ 68.823496][ T5037] get_block+0x185/0x1700 [ 68.827836][ T5037] ? folio_create_buffers+0x132/0x250 [ 68.833209][ T5037] ? sysv_truncate+0x1050/0x1050 [ 68.838167][ T5037] ? zero_user_segments+0x2b4/0x310 [ 68.843369][ T5037] block_read_full_folio+0x476/0xff0 [ 68.848680][ T5037] ? sysv_truncate+0x1050/0x1050 [ 68.853618][ T5037] ? block_is_partially_uptodate+0x570/0x570 [ 68.859609][ T5037] ? readahead_folio+0x326/0x610 [ 68.864542][ T5037] ? sysv_writepage+0x30/0x30 [ 68.869216][ T5037] read_pages+0x5f0/0x830 [ 68.873558][ T5037] ? folio_add_lru+0x9d0/0x9d0 [ 68.878325][ T5037] ? folio_add_lru+0x27b/0x9d0 [ 68.883084][ T5037] ? page_cache_ra_unbounded+0x7c0/0x7c0 [ 68.888721][ T5037] ? filemap_add_folio+0x228/0x570 [ 68.893837][ T5037] ? __filemap_add_folio+0x1ac0/0x1ac0 [ 68.899305][ T5037] ? page_cache_ra_order+0xb1a/0xcc0 [ 68.904597][ T5037] page_cache_ra_unbounded+0x68e/0x7c0 [ 68.910077][ T5037] filemap_get_pages+0x49c/0x2080 [ 68.915104][ T5037] ? __lock_acquire+0x1345/0x7f70 [ 68.920136][ T5037] ? lock_release+0xbf/0x9d0 [ 68.924756][ T5037] ? filemap_read+0x10b0/0x10b0 [ 68.929621][ T5037] ? is_bpf_text_address+0x26/0x2a0 [ 68.934836][ T5037] ? __lock_acquire+0x7f70/0x7f70 [ 68.939874][ T5037] ? __might_sleep+0xc0/0xc0 [ 68.944483][ T5037] filemap_read+0x42b/0x10b0 [ 68.949081][ T5037] ? lockdep_hardirqs_on+0x98/0x140 [ 68.954281][ T5037] ? filemap_get_folios_tag+0x920/0x920 [ 68.959825][ T5037] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 68.965734][ T5037] ? generic_file_read_iter+0x98/0x550 [ 68.971195][ T5037] __kernel_read+0x422/0x8e0 [ 68.975786][ T5037] ? kasan_set_track+0x4f/0x70 [ 68.980552][ T5037] ? __kasan_kmalloc+0x98/0xb0 [ 68.985327][ T5037] ? rw_verify_area+0x1a0/0x1a0 [ 68.990211][ T5037] integrity_kernel_read+0xb0/0xf0 [ 68.995352][ T5037] ? integrity_inode_free+0x240/0x240 [ 69.000752][ T5037] ima_calc_file_hash+0x164c/0x1d20 [ 69.005960][ T5037] ? stack_trace_save+0x117/0x1c0 [ 69.010985][ T5037] ? mark_lock+0x9a/0x340 [ 69.015338][ T5037] ? __lock_acquire+0x1345/0x7f70 [ 69.020372][ T5037] ? ima_alloc_tfm+0x310/0x310 [ 69.025187][ T5037] ? verify_lock_unused+0x140/0x140 [ 69.030389][ T5037] ? kasan_set_track+0x61/0x70 [ 69.035164][ T5037] ? kasan_set_track+0x4f/0x70 [ 69.039930][ T5037] ? __kasan_slab_alloc+0x66/0x70 [ 69.044963][ T5037] ? generic_fillattr+0x2bc/0x670 [ 69.050008][ T5037] ? __asan_memcpy+0x40/0x70 [ 69.054607][ T5037] ? generic_fillattr+0x44a/0x670 [ 69.059636][ T5037] ? sysv_getattr+0x21d/0x320 [ 69.064331][ T5037] ima_collect_measurement+0x4a5/0x890 [ 69.069806][ T5037] ? ima_get_action+0xb0/0xb0 [ 69.074495][ T5037] ? __mutex_lock+0x2ee/0xd60 [ 69.079190][ T5037] ? ima_get_cache_status+0x1e0/0x1e0 [ 69.084578][ T5037] process_measurement+0xfea/0x1cf0 [ 69.089796][ T5037] ? ima_file_mmap+0x2b0/0x2b0 [ 69.094566][ T5037] ? smk_access+0x4e0/0x4e0 [ 69.099086][ T5037] ? smack_file_receive+0x4f0/0x4f0 [ 69.104294][ T5037] ? do_raw_spin_unlock+0x13b/0x8b0 [ 69.109494][ T5037] ? smack_current_getsecid_subj+0x22/0xf0 [ 69.115332][ T5037] ima_file_check+0xf1/0x170 [ 69.119934][ T5037] ? do_dentry_open+0xf36/0x1430 [ 69.124884][ T5037] ? ima_bprm_check+0x2b0/0x2b0 [ 69.129748][ T5037] path_openat+0x2812/0x3180 [ 69.134353][ T5037] ? kasan_set_track+0x4f/0x70 [ 69.139117][ T5037] ? getname_flags+0xbc/0x4e0 [ 69.143788][ T5037] ? do_sys_openat2+0xd2/0x1d0 [ 69.148557][ T5037] ? do_filp_open+0x490/0x490 [ 69.153245][ T5037] do_filp_open+0x234/0x490 [ 69.157750][ T5037] ? vfs_tmpfile+0x4b0/0x4b0 [ 69.162353][ T5037] ? _raw_spin_unlock+0x28/0x40 [ 69.167205][ T5037] ? alloc_fd+0x59c/0x640 [ 69.171548][ T5037] do_sys_openat2+0x13e/0x1d0 [ 69.176236][ T5037] ? do_sys_open+0x230/0x230 [ 69.180840][ T5037] ? lockdep_hardirqs_on+0x98/0x140 [ 69.186080][ T5037] ? _raw_spin_unlock_irq+0x2e/0x50 [ 69.191279][ T5037] ? ptrace_notify+0x278/0x380 [ 69.196050][ T5037] __x64_sys_open+0x225/0x270 [ 69.200751][ T5037] ? do_sys_openat2+0x1d0/0x1d0 [ 69.205625][ T5037] ? syscall_enter_from_user_mode+0x32/0x230 [ 69.211607][ T5037] ? syscall_enter_from_user_mode+0x8c/0x230 [ 69.217588][ T5037] do_syscall_64+0x41/0xc0 [ 69.222003][ T5037] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 69.227893][ T5037] RIP: 0033:0x7f9e40aa5989 [ 69.232312][ T5037] 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.251917][ T5037] RSP: 002b:00007ffebe11a478 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 [ 69.260336][ T5037] RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007f9e40aa5989 [ 69.268328][ T5037] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180 [ 69.276365][ T5037] RBP: 00007f9e40b22610 R08: 0000000000009e5d R09: 00007ffebe11a648 [ 69.284366][ T5037] R10: 00007ffebe11a340 R11: 0000000000000246 R12: 0000000000000001 [ 69.292333][ T5037] R13: 00007ffebe11a638 R14: 0000000000000001 R15: 0000000000000001 [ 69.300320][ T5037] [ 69.304867][ T5037] syz-executor199: attempt to access beyond end of device [ 69.304867][ T5037] loop0: rw=0, sector=8767744, nr_sectors = 1 limit=128 [ 69.319032][ T5037] Buffer I/O error on dev loop0, logical block 8767744, async page read [ 69.327472][ T5037] syz-executor199: attempt to access beyond end of device [ 69.327472][ T5037] loop0: rw=0, sector=13269809, nr_sectors = 1 limit=128 [ 69.341573][ T5037] Buffer I/O error on dev loop0, logical block 13269809, async page read [ 69.350049][ T5037] syz-executor199: attempt to access beyond end of device open("./file1", O_RDONLY) = 4 exit_group(0) = ? +++ exited with 0 +++ [ 69.350049][ T5037] loop0: rw=0, sector=1157, nr_sectors = 1 limit=128