[ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.10.57' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 34.904032] VFS: Found a Xenix FS (block size = 512) on device loop0 [ 34.913451] attempt to access beyond end of device [ 34.918506] loop0: rw=0, want=3245513, limit=128 [ 34.924689] Buffer I/O error on dev loop0, logical block 3245512, async page read [ 34.933780] attempt to access beyond end of device [ 34.938729] loop0: rw=0, want=8767868, limit=128 [ 34.944131] Buffer I/O error on dev loop0, logical block 8767867, async page read [ 34.952326] attempt to access beyond end of device [ 34.957249] loop0: rw=0, want=13269810, limit=128 [ 34.963014] Buffer I/O error on dev loop0, logical block 13269809, async page read [ 34.970767] attempt to access beyond end of device [ 34.976448] loop0: rw=0, want=8073606, limit=128 [ 34.981224] Buffer I/O error on dev loop0, logical block 8073605, async page read [ 34.990239] attempt to access beyond end of device [ 34.995623] loop0: rw=0, want=3245516, limit=128 [ 35.000396] Buffer I/O error on dev loop0, logical block 3245515, async page read [ 35.008732] attempt to access beyond end of device [ 35.014093] loop0: rw=0, want=8768636, limit=128 [ 35.018845] Buffer I/O error on dev loop0, logical block 8768635, async page read [ 35.027316] attempt to access beyond end of device [ 35.032702] loop0: rw=0, want=13466418, limit=128 [ 35.037568] Buffer I/O error on dev loop0, logical block 13466417, async page read [ 35.046047] attempt to access beyond end of device [ 35.051067] loop0: rw=0, want=8073606, limit=128 [ 35.056546] Buffer I/O error on dev loop0, logical block 8073605, async page read [ 35.065285] BUG: sleeping function called from invalid context at fs/buffer.c:1319 [ 35.073238] in_atomic(): 1, irqs_disabled(): 0, pid: 8112, name: syz-executor424 [ 35.080761] 2 locks held by syz-executor424/8112: [ 35.085731] #0: 0000000014efbbeb (&iint->mutex){+.+.}, at: process_measurement+0x316/0x1440 [ 35.094608] #1: 00000000fbc91294 (pointers_lock){.+.+}, at: get_block+0x171/0x1510 [ 35.102584] Preemption disabled at: [ 35.102590] [<0000000000000000>] (null) [ 35.111029] CPU: 0 PID: 8112 Comm: syz-executor424 Not tainted 4.19.211-syzkaller #0 [ 35.118887] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 35.128236] Call Trace: [ 35.130807] dump_stack+0x1fc/0x2ef [ 35.134431] ___might_sleep.cold+0x235/0x250 [ 35.138822] __bread_gfp+0x3f/0x300 [ 35.142444] get_branch+0x2cd/0x640 [ 35.146071] get_block+0x194/0x1510 [ 35.149707] ? block_to_path.isra.0+0x440/0x440 [ 35.154360] ? create_page_buffers+0x212/0x350 [ 35.158929] ? alloc_page_buffers+0x2da/0x5c0 [ 35.163410] ? create_empty_buffers+0x4e7/0x760 [ 35.168105] ? do_raw_spin_unlock+0x171/0x230 [ 35.172697] ? _raw_spin_unlock+0x29/0x40 [ 35.176825] ? create_page_buffers+0x190/0x350 [ 35.181394] block_read_full_page+0x288/0xd10 [ 35.185895] ? block_to_path.isra.0+0x440/0x440 [ 35.190570] ? __bread_gfp+0x300/0x300 [ 35.194536] ? add_to_page_cache_locked+0x40/0x40 [ 35.199456] ? gfp_pfmemalloc_allowed+0x150/0x150 [ 35.204422] ? __lock_acquire+0x6de/0x3ff0 [ 35.208656] read_pages.isra.0+0x329/0x5d0 [ 35.212887] ? read_cache_pages+0x750/0x750 [ 35.217203] ? alloc_pages_current+0x19b/0x2a0 [ 35.221863] __do_page_cache_readahead+0x5c6/0x6c0 [ 35.226779] ? read_pages.isra.0+0x5d0/0x5d0 [ 35.231179] ? page_cache_sync_readahead+0x1c5/0x520 [ 35.236273] ondemand_readahead.isra.0+0x575/0xd40 [ 35.241196] page_cache_sync_readahead+0x275/0x520 [ 35.246109] generic_file_read_iter+0x1497/0x2b60 [ 35.250938] ? iov_iter_init+0xb8/0x1d0 [ 35.254909] __vfs_read+0x518/0x750 [ 35.258543] ? __se_sys_copy_file_range+0x410/0x410 [ 35.263551] ? deref_stack_reg+0x1d0/0x1d0 [ 35.267772] ? __unwind_start+0x5b8/0x960 [ 35.271908] ? do_raw_spin_lock+0xcb/0x220 [ 35.276147] integrity_kernel_read+0x147/0x1f0 [ 35.280718] ? integrity_inode_free+0x310/0x310 [ 35.285373] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 35.290368] ? kmem_cache_alloc_trace+0x323/0x380 [ 35.295233] ima_calc_file_hash+0x4b2/0x8a0 [ 35.299575] ? lock_acquire+0x170/0x3c0 [ 35.303543] ? process_measurement+0x316/0x1440 [ 35.308197] ? ima_alloc_tfm+0xc5/0xf0 [ 35.312068] ? ima_calc_file_hash+0x199/0x8a0 [ 35.316545] ima_collect_measurement+0x4c4/0x570 [ 35.321289] ? ima_get_action+0x90/0x90 [ 35.325252] ? ima_get_cache_status+0x1d0/0x1d0 [ 35.329904] process_measurement+0xddd/0x1440 [ 35.334399] ? ima_restore_measurement_entry+0x40/0x40 [ 35.339674] ? do_syscall_64+0xf9/0x620 [ 35.343639] ? entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.348985] ? aa_get_task_label+0x1e6/0x7f0 [ 35.353377] ? lock_downgrade+0x720/0x720 [ 35.357509] ? check_preemption_disabled+0x41/0x280 [ 35.362505] ? check_preemption_disabled+0x41/0x280 [ 35.367503] ? aa_get_task_label+0x20d/0x7f0 [ 35.371890] ? lockref_get+0x11/0x50 [ 35.375592] ? aa_capable+0xb80/0xb80 [ 35.379373] ? __se_sys_getgroups+0x2d0/0x2d0 [ 35.383852] ? apparmor_task_getsecid+0x88/0xc0 [ 35.388503] ima_file_check+0xb9/0x100 [ 35.392373] ? process_measurement+0x1440/0x1440 [ 35.397108] ? inode_permission+0x3d/0x140 [ 35.401416] path_openat+0x7e4/0x2df0 [ 35.405201] ? path_lookupat+0x8d0/0x8d0 [ 35.409257] ? mark_held_locks+0xf0/0xf0 [ 35.413296] ? __lock_acquire+0x6de/0x3ff0 [ 35.417518] do_filp_open+0x18c/0x3f0 [ 35.421294] ? may_open_dev+0xf0/0xf0 [ 35.425079] ? lock_downgrade+0x720/0x720 [ 35.429210] ? lock_acquire+0x170/0x3c0 [ 35.433182] ? __alloc_fd+0x34/0x570 [ 35.436877] ? do_raw_spin_unlock+0x171/0x230 [ 35.441352] ? _raw_spin_unlock+0x29/0x40 [ 35.445475] ? __alloc_fd+0x28d/0x570 [ 35.449265] do_sys_open+0x3b3/0x520 [ 35.452960] ? filp_open+0x70/0x70 [ 35.456484] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 35.461856] ? trace_hardirqs_off_caller+0x6e/0x210 [ 35.466852] ? do_syscall_64+0x21/0x620 [ 35.471069] do_syscall_64+0xf9/0x620 [ 35.474855] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 35.480027] RIP: 0033:0x7f8741b20779 [ 35.483725] 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 [ 35.502602] RSP: 002b:00007ffeaab606a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 [ 35.510285] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f8741b20779 [ 35.517541] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000 [ 35.524789] RBP: 00007f8741ae0010 R08: 0000000000009e07 R09: 0000000000000000 [ 35.532037] R10: 00007ffeaab60570 R11: 0000000000000246 R12: 00007f8741ae00a0 [ 35.539284] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 35.547128] attempt to access beyond end of device [ 35.552119] loop0: rw=0, want=3245519, limit=128 [ 35.556901] Buffer I/O error on dev loop0, logical block 3245518, async page read [ 35.564645] attempt to access beyond end of device [ 35.569919] loop0: rw=0, want=8769404, limit=128 [ 35.574750] Buffer I/O error on dev loop0, logical block 8769403, async page read [ 35.582706] attempt to access beyond end of device [ 35.587617] loop0: rw=0, want=3245513, limit=128 [ 35.592439] attempt to access beyond end of device [ 35.597360] loop0: rw=0, want=8767868, limit=128 [ 35.602237] attempt to access beyond end of device [ 35.607159] loop0: rw=0, want=13269810, limit=128 [ 35.612084] attempt to access beyond end of device [ 35.617003] loop0: rw=0, want=8073606, limit=128 [ 35.621862] attempt to access beyond end of device [ 35.626783] loop0: rw=0, want=3245516, limit=128 [ 35.631610] attempt to access beyond end of device [ 35.636527] loop0: rw=0, want=8768636, limit=128 [ 35.641384] attempt to access beyond end of device [ 35.646305] loop0: rw=0, want=13466418, limit=128 [ 35.651154] attempt to access beyond end of device [ 35.656146]