./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3118491711 <...> forked to background, child pid 4641 no interfaces have a carrier [ 28.260042][ T4642] 8021q: adding VLAN 0 to HW filter on device bond0 [ 28.269298][ T4642] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.0.162' (ECDSA) to the list of known hosts. execve("./syz-executor3118491711", ["./syz-executor3118491711"], 0x7fff180107e0 /* 10 vars */) = 0 brk(NULL) = 0x55555676e000 brk(0x55555676ec40) = 0x55555676ec40 arch_prctl(ARCH_SET_FS, 0x55555676e300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor3118491711", 4096) = 28 brk(0x55555678fc40) = 0x55555678fc40 brk(0x555556790000) = 0x555556790000 mprotect(0x7fd3e7d86000, 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 open("./file0", O_RDWR|O_CREAT|0x3c, 000) = 3 memfd_create("syzkaller", 0) = 4 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd3df8c3000 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(0x7fd3df8c3000, 65536) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 5 ioctl(5, LOOP_SET_FD, 4) = 0 close(4) = 0 mkdir("./file0", 0777) = -1 EEXIST (File exists) mount("/dev/loop0", "./file0", "sysv", 0, "") = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = -1 ENOTDIR (Not a directory) ioctl(5, LOOP_CLR_FD) = 0 close(5) = 0 syzkaller login: [ 53.390250][ T5062] loop0: detected capacity change from 0 to 128 [ 53.399805][ T5062] VFS: Found a Xenix FS (block size = 512) on device loop0 [ 53.410695][ T5062] syz-executor311: attempt to access beyond end of device [ 53.410695][ T5062] loop0: rw=0, sector=3245512, nr_sectors = 1 limit=128 [ 53.425072][ T5062] Buffer I/O error on dev loop0, logical block 3245512, async page read [ 53.433585][ T5062] syz-executor311: attempt to access beyond end of device [ 53.433585][ T5062] loop0: rw=0, sector=8767867, nr_sectors = 1 limit=128 [ 53.447588][ T5062] Buffer I/O error on dev loop0, logical block 8767867, async page read [ 53.455997][ T5062] syz-executor311: attempt to access beyond end of device [ 53.455997][ T5062] loop0: rw=0, sector=13269809, nr_sectors = 1 limit=128 [ 53.470010][ T5062] Buffer I/O error on dev loop0, logical block 13269809, async page read [ 53.478471][ T5062] syz-executor311: attempt to access beyond end of device [ 53.478471][ T5062] loop0: rw=0, sector=8073605, nr_sectors = 1 limit=128 [ 53.492421][ T5062] Buffer I/O error on dev loop0, logical block 8073605, async page read [ 53.500823][ T5062] syz-executor311: attempt to access beyond end of device [ 53.500823][ T5062] loop0: rw=0, sector=3245515, nr_sectors = 1 limit=128 [ 53.514771][ T5062] Buffer I/O error on dev loop0, logical block 3245515, async page read [ 53.523132][ T5062] syz-executor311: attempt to access beyond end of device [ 53.523132][ T5062] loop0: rw=0, sector=8768635, nr_sectors = 1 limit=128 [ 53.537075][ T5062] Buffer I/O error on dev loop0, logical block 8768635, async page read [ 53.545498][ T5062] syz-executor311: attempt to access beyond end of device [ 53.545498][ T5062] loop0: rw=0, sector=13466417, nr_sectors = 1 limit=128 [ 53.559554][ T5062] Buffer I/O error on dev loop0, logical block 13466417, async page read [ 53.568317][ T5062] syz-executor311: attempt to access beyond end of device [ 53.568317][ T5062] loop0: rw=0, sector=8073605, nr_sectors = 1 limit=128 [ 53.582282][ T5062] Buffer I/O error on dev loop0, logical block 8073605, async page read [ 53.590792][ T5062] BUG: sleeping function called from invalid context at fs/buffer.c:1331 [ 53.599346][ T5062] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5062, name: syz-executor311 [ 53.608845][ T5062] preempt_count: 1, expected: 0 [ 53.613762][ T5062] RCU nest depth: 0, expected: 0 [ 53.618760][ T5062] 3 locks held by syz-executor311/5062: [ 53.624321][ T5062] #0: ffff88807e8373e0 (&iint->mutex){+.+.}-{3:3}, at: process_measurement+0x3ab/0x18b0 [ 53.634488][ T5062] #1: ffff888076038328 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: page_cache_ra_unbounded+0x153/0x5e0 [ 53.645815][ T5062] #2: ffffffff8c96d118 (pointers_lock){.+.+}-{2:2}, at: get_block+0x16b/0x1580 [ 53.654948][ T5062] Preemption disabled at: [ 53.654955][ T5062] [<0000000000000000>] 0x0 [ 53.663654][ T5062] CPU: 1 PID: 5062 Comm: syz-executor311 Not tainted 6.1.0-syzkaller-13409-g2f26e424552e #0 [ 53.673699][ T5062] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 53.683736][ T5062] Call Trace: [ 53.687001][ T5062] [ 53.689921][ T5062] dump_stack_lvl+0xd1/0x138 [ 53.694503][ T5062] __might_resched.cold+0x222/0x26b [ 53.699691][ T5062] __bread_gfp+0x40/0x330 [ 53.704005][ T5062] get_branch+0x2cd/0x640 [ 53.708325][ T5062] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 53.714302][ T5062] get_block+0x188/0x1580 [ 53.718862][ T5062] ? find_held_lock+0x2d/0x110 [ 53.723617][ T5062] ? free_branches+0x3d0/0x3d0 [ 53.728379][ T5062] ? create_page_buffers+0x440/0x640 [ 53.733649][ T5062] ? lock_downgrade+0x6e0/0x6e0 [ 53.738504][ T5062] ? folio_flags.constprop.0+0x53/0x150 [ 53.744038][ T5062] ? create_empty_buffers+0x37d/0xf30 [ 53.749397][ T5062] ? do_raw_spin_unlock+0x175/0x230 [ 53.754585][ T5062] block_read_full_folio+0x35b/0x9d0 [ 53.759856][ T5062] ? free_branches+0x3d0/0x3d0 [ 53.764616][ T5062] ? create_page_buffers+0x640/0x640 [ 53.769925][ T5062] ? folio_add_lru+0x345/0x680 [ 53.774693][ T5062] ? sysv_bmap+0x30/0x30 [ 53.778932][ T5062] read_pages+0x9fb/0xd40 [ 53.783260][ T5062] ? folio_add_lru+0x37b/0x680 [ 53.788018][ T5062] ? folio_flags.constprop.0+0x150/0x150 [ 53.793668][ T5062] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 53.799641][ T5062] ? find_held_lock+0x2d/0x110 [ 53.804431][ T5062] page_cache_ra_unbounded+0x477/0x5e0 [ 53.809895][ T5062] page_cache_ra_order+0x6ec/0xa00 [ 53.815372][ T5062] ? blk_cgroup_congested+0x147/0x260 [ 53.820744][ T5062] ondemand_readahead+0x6b3/0x1000 [ 53.825861][ T5062] page_cache_sync_ra+0x1c9/0x200 [ 53.830881][ T5062] filemap_get_pages+0x2ca/0x16b0 [ 53.835914][ T5062] ? mark_lock.part.0+0xee/0x1910 [ 53.840929][ T5062] ? filemap_fault+0x23f0/0x23f0 [ 53.846036][ T5062] ? is_bpf_text_address+0x7b/0x170 [ 53.851245][ T5062] filemap_read+0x315/0xc00 [ 53.855748][ T5062] ? __stack_depot_save+0x264/0x560 [ 53.860949][ T5062] ? filemap_get_pages+0x16b0/0x16b0 [ 53.866231][ T5062] ? try_to_take_rt_mutex+0x790/0xb80 [ 53.871599][ T5062] ? lockdep_hardirqs_on+0x7d/0x100 [ 53.876792][ T5062] ? _raw_spin_unlock_irqrestore+0x41/0x70 [ 53.882613][ T5062] ? __stack_depot_save+0x264/0x560 [ 53.887818][ T5062] generic_file_read_iter+0x3ad/0x5b0 [ 53.893188][ T5062] ? process_measurement+0xd23/0x18b0 [ 53.898555][ T5062] ? ima_file_check+0xb0/0x100 [ 53.903310][ T5062] ? path_openat+0x15f1/0x2a50 [ 53.908073][ T5062] ? iov_iter_kvec+0x49/0x1c0 [ 53.912745][ T5062] __kernel_read+0x2ca/0x7c0 [ 53.917338][ T5062] ? __ia32_sys_llseek+0x380/0x380 [ 53.922447][ T5062] ? find_held_lock+0x2d/0x110 [ 53.927217][ T5062] ? __kmem_cache_alloc_node+0x48/0x430 [ 53.932854][ T5062] integrity_kernel_read+0x7f/0xb0 [ 53.937968][ T5062] ? integrity_inode_free+0x310/0x310 [ 53.943345][ T5062] ? kasan_set_track+0x25/0x30 [ 53.948105][ T5062] ima_calc_file_hash_tfm+0x2aa/0x3b0 [ 53.953472][ T5062] ? calc_buffer_shash_tfm+0x2b0/0x2b0 [ 53.958929][ T5062] ? __stack_depot_save+0x3e/0x560 [ 53.964037][ T5062] ? lockdep_hardirqs_on_prepare+0x410/0x410 [ 53.970013][ T5062] ? _find_first_zero_bit+0x94/0xb0 [ 53.975225][ T5062] ? lock_release+0x810/0x810 [ 53.979901][ T5062] ? ima_alloc_tfm+0x214/0x2d0 [ 53.984662][ T5062] ima_calc_file_hash+0x195/0x4a0 [ 53.989683][ T5062] ima_collect_measurement+0x642/0x7b0 [ 53.995139][ T5062] ? ima_get_action+0xa0/0xa0 [ 53.999818][ T5062] ? ima_get_cache_status+0x1e0/0x1e0 [ 54.005195][ T5062] process_measurement+0xd23/0x18b0 [ 54.010412][ T5062] ? mmap_violation_check+0x1f0/0x1f0 [ 54.015777][ T5062] ? tomoyo_check_open_permission+0x1f6/0x3a0 [ 54.021842][ T5062] ? tomoyo_path_number_perm+0x570/0x570 [ 54.027494][ T5062] ? apparmor_file_open+0x1a9/0xb80 [ 54.032699][ T5062] ? hook_path_mknod+0x6b0/0x6b0 [ 54.037636][ T5062] ? lock_downgrade+0x6e0/0x6e0 [ 54.042480][ T5062] ? apparmor_path_chmod+0x30/0x30 [ 54.047595][ T5062] ? rwlock_bug.part.0+0x90/0x90 [ 54.052534][ T5062] ? apparmor_current_getsecid_subj+0x1f9/0x570 [ 54.058780][ T5062] ima_file_check+0xb0/0x100 [ 54.063361][ T5062] ? do_dentry_open+0xd1f/0x13f0 [ 54.068302][ T5062] ? process_measurement+0x18b0/0x18b0 [ 54.073755][ T5062] ? may_open+0x1f6/0x420 [ 54.078085][ T5062] path_openat+0x15f1/0x2a50 [ 54.082683][ T5062] ? path_lookupat+0x840/0x840 [ 54.087454][ T5062] do_filp_open+0x1ba/0x410 [ 54.091957][ T5062] ? may_open_dev+0xf0/0xf0 [ 54.096460][ T5062] ? find_held_lock+0x2d/0x110 [ 54.101229][ T5062] ? do_raw_spin_lock+0x124/0x2b0 [ 54.106248][ T5062] ? rwlock_bug.part.0+0x90/0x90 [ 54.111186][ T5062] ? _raw_spin_unlock+0x28/0x40 [ 54.116034][ T5062] ? alloc_fd+0x2d8/0x6d0 [ 54.120364][ T5062] do_sys_openat2+0x16d/0x4c0 [ 54.125046][ T5062] ? build_open_flags+0x6f0/0x6f0 [ 54.130072][ T5062] ? ptrace_notify+0xfe/0x140 [ 54.134742][ T5062] ? lock_downgrade+0x6e0/0x6e0 [ 54.139587][ T5062] __x64_sys_open+0x11d/0x1c0 [ 54.144256][ T5062] ? do_sys_open+0x150/0x150 [ 54.148838][ T5062] ? _raw_spin_unlock_irq+0x2e/0x50 [ 54.154031][ T5062] ? ptrace_notify+0xfe/0x140 [ 54.158707][ T5062] do_syscall_64+0x39/0xb0 [ 54.163127][ T5062] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 54.169017][ T5062] RIP: 0033:0x7fd3e7d0f769 [ 54.173425][ T5062] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 [ 54.193041][ T5062] RSP: 002b:00007ffd2806d7d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 [ 54.201464][ T5062] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007fd3e7d0f769 [ 54.209432][ T5062] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 [ 54.217397][ T5062] RBP: 00007fd3e7ccf000 R08: 0000000000009e07 R09: 0000000000000000 [ 54.225360][ T5062] R10: 00007ffd2806d6a0 R11: 0000000000000246 R12: 00007fd3e7ccf090 [ 54.233321][ T5062] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 54.241297][ T5062] [ 54.245385][ T5062] syz-executor311: attempt to access beyond end of device [ 54.245385][ T5062] loop0: rw=0, sector=3245518, nr_sectors = 1 limit=128 [ 54.259351][ T5062] Buffer I/O error on dev loop0, logical block 3245518, async page read [ 54.267772][ T5062] syz-executor311: attempt to access beyond end of device [ 54.267772][ T5062] loop0: rw=0, sector=8769403, nr_sectors = 1 limit=128 [ 54.281742][ T5062] Buffer I/O error on dev loop0, logical block 8769403, async page read open("./file0", O_RDONLY) = 4 exit_group(0) = ? +++ exited with 0 +++ [ 54.291490][ T26] audit: type=1800 audit(1