Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.0.230' (ECDSA) to the list of known hosts. executing program executing program executing program executing program executing program executing program syzkaller login: [ 33.105149] hfsplus: unable to set blocksize to 1024! [ 33.110867] hfsplus: unable to find HFS+ superblock executing program executing program executing program executing program executing program executing program [ 33.635550] hfsplus: unable to set blocksize to 1024! [ 33.641107] hfsplus: unable to find HFS+ superblock executing program executing program executing program executing program executing program executing program executing program [ 34.075595] hfsplus: unable to find HFS+ superblock executing program executing program executing program executing program executing program [ 34.486666] hfsplus: unable to set blocksize to 1024! [ 34.492128] hfsplus: unable to find HFS+ superblock executing program executing program executing program executing program executing program [ 34.944740] hfsplus: unable to find HFS+ superblock executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 35.584281] loop_set_block_size: loop5 () has still dirty pages (nrpages=1) executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 36.273474] loop_set_block_size: loop5 () has still dirty pages (nrpages=1) [ 36.323437] loop_set_block_size: loop5 () has still dirty pages (nrpages=1) executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 37.423327] loop_set_block_size: loop5 () has still dirty pages (nrpages=2) [ 37.462715] loop_set_block_size: loop5 () has still dirty pages (nrpages=2) executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 37.992538] loop_set_block_size: loop5 () has still dirty pages (nrpages=1) [ 38.032399] loop_set_block_size: loop5 () has still dirty pages (nrpages=1) [ 38.062855] loop_set_block_size: loop5 () has still dirty pages (nrpages=3) [ 38.102610] loop_set_block_size: loop5 () has still dirty pages (nrpages=2) executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 38.804123] ================================================================== [ 38.811623] BUG: KASAN: slab-out-of-bounds in memcpy_from_page+0x8c/0x120 [ 38.818531] Read of size 2048 at addr ffff88809cd41540 by task loop5/8413 [ 38.825434] [ 38.827048] CPU: 0 PID: 8413 Comm: loop5 Not tainted 4.19.211-syzkaller #0 [ 38.834048] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 38.843392] Call Trace: [ 38.845983] dump_stack+0x1fc/0x2ef [ 38.849595] print_address_description.cold+0x54/0x219 [ 38.854854] kasan_report_error.cold+0x8a/0x1b9 [ 38.859509] ? memcpy_from_page+0x8c/0x120 [ 38.863722] kasan_report+0x8f/0xa0 [ 38.867330] ? memcpy_from_page+0x8c/0x120 [ 38.871545] memcpy+0x20/0x50 [ 38.874633] memcpy_from_page+0x8c/0x120 [ 38.878673] iov_iter_copy_from_user_atomic+0x701/0xaa0 [ 38.884065] generic_perform_write+0x265/0x4d0 [ 38.888723] ? __mnt_drop_write_file+0x6f/0xa0 [ 38.893293] ? filemap_page_mkwrite+0x2f0/0x2f0 [ 38.897940] ? current_time+0x1c0/0x1c0 [ 38.901900] ? lock_acquire+0x170/0x3c0 [ 38.905862] __generic_file_write_iter+0x24b/0x610 [ 38.910778] generic_file_write_iter+0x3f8/0x730 [ 38.915527] ? common_file_perm+0x4e5/0x850 [ 38.919834] do_iter_readv_writev+0x668/0x790 [ 38.924330] ? clone_verify_area+0x240/0x240 [ 38.928735] ? lock_acquire+0x170/0x3c0 [ 38.932704] ? security_file_permission+0x1c0/0x220 [ 38.937707] do_iter_write+0x182/0x5d0 [ 38.941582] vfs_iter_write+0x70/0xa0 [ 38.945373] lo_write_bvec+0x141/0x370 [ 38.949252] ? lo_rw_aio_do_completion+0xb0/0xb0 [ 38.953994] loop_queue_work+0xa1c/0x20c0 [ 38.958125] ? finish_task_switch+0x146/0x760 [ 38.962600] ? finish_task_switch+0x118/0x760 [ 38.967073] ? switch_mm_irqs_off+0x2e5/0x1340 [ 38.971722] ? lo_fallocate.isra.0+0x170/0x170 [ 38.976292] ? kthread_worker_fn+0x217/0x730 [ 38.980693] ? lock_downgrade+0x720/0x720 [ 38.984829] ? lock_acquire+0x170/0x3c0 [ 38.988796] ? kthread_worker_fn+0x3e4/0x730 [ 38.993203] ? _raw_spin_unlock_irq+0x24/0x80 [ 38.997706] kthread_worker_fn+0x292/0x730 [ 39.001929] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 39.006501] ? __kthread_init_worker+0xf0/0xf0 [ 39.011077] ? __kthread_parkme+0x133/0x1e0 [ 39.015396] ? loop_info64_to_compat+0x5e0/0x5e0 [ 39.020137] kthread+0x33f/0x460 [ 39.023484] ? kthread_park+0x180/0x180 [ 39.027452] ret_from_fork+0x24/0x30 [ 39.031156] [ 39.032763] Allocated by task 8405: [ 39.036370] __kmalloc+0x15a/0x3c0 [ 39.039894] hfsplus_read_wrapper+0x2c7/0xf00 [ 39.044399] hfsplus_fill_super+0x30a/0x19e0 [ 39.048800] mount_bdev+0x2fc/0x3b0 [ 39.052415] mount_fs+0xa3/0x310 [ 39.055763] vfs_kern_mount.part.0+0x68/0x470 [ 39.060235] do_mount+0x115c/0x2f50 [ 39.063844] ksys_mount+0xcf/0x130 [ 39.067366] __x64_sys_mount+0xba/0x150 [ 39.071318] do_syscall_64+0xf9/0x620 [ 39.075100] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 39.080352] [ 39.081961] Freed by task 8032: [ 39.085222] kfree+0xcc/0x210 [ 39.088347] skb_release_data+0x6de/0x920 [ 39.092472] kfree_skb_partial+0x7e/0xa0 [ 39.096512] tcp_rcv_established+0x1b89/0x1ef0 [ 39.101073] tcp_v4_do_rcv+0x5d6/0x870 [ 39.104940] tcp_v4_rcv+0x2c03/0x3b80 [ 39.108721] ip_local_deliver_finish+0x495/0xc00 [ 39.113462] ip_local_deliver+0x188/0x500 [ 39.117587] ip_rcv_finish+0x1ca/0x2e0 [ 39.121450] ip_rcv+0xca/0x3c0 [ 39.124623] __netif_receive_skb_one_core+0x114/0x180 [ 39.129794] __netif_receive_skb+0x27/0x1c0 [ 39.134102] netif_receive_skb_internal+0xf0/0x3f0 [ 39.139018] napi_gro_receive+0x2e6/0x450 [ 39.143148] receive_buf+0xc2c/0x6780 [ 39.146932] virtnet_poll+0x568/0xe00 [ 39.150802] net_rx_action+0x4ac/0xfb0 [ 39.154676] __do_softirq+0x265/0x980 [ 39.158454] [ 39.160073] The buggy address belongs to the object at ffff88809cd41540 [ 39.160073] which belongs to the cache kmalloc-512 of size 512 [ 39.172712] The buggy address is located 0 bytes inside of [ 39.172712] 512-byte region [ffff88809cd41540, ffff88809cd41740) [ 39.184396] The buggy address belongs to the page: [ 39.189305] page:ffffea0002735040 count:1 mapcount:0 mapping:ffff88813bff0940 index:0xffff88809cd41a40 [ 39.198732] flags: 0xfff00000000100(slab) [ 39.202863] raw: 00fff00000000100 ffffea0002a9bb08 ffffea00026c9908 ffff88813bff0940 [ 39.210731] raw: ffff88809cd41a40 ffff88809cd41040 0000000100000001 0000000000000000 [ 39.218583] page dumped because: kasan: bad access detected [ 39.224268] [ 39.225872] Memory state around the buggy address: [ 39.230787] ffff88809cd41600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 39.238134] ffff88809cd41680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [ 39.245479] >ffff88809cd41700: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 39.252829] ^ [ 39.258269] ffff88809cd41780: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 39.265612] ffff88809cd41800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 39.272950] ================================================================== [ 39.280293] Disabling lock debugging due to kernel taint [ 39.285845] Kernel panic - not syncing: panic_on_warn set ... [ 39.285845] [ 39.293208] CPU: 0 PID: 8413 Comm: loop5 Tainted: G B 4.19.211-syzkaller #0 [ 39.301584] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 39.310915] Call Trace: [ 39.313485] dump_stack+0x1fc/0x2ef [ 39.317092] panic+0x26a/0x50e [ 39.320356] ? __warn_printk+0xf3/0xf3 [ 39.324220] ? retint_kernel+0x2d/0x2d [ 39.328088] ? trace_hardirqs_on+0x55/0x210 [ 39.332391] kasan_end_report+0x43/0x49 [ 39.336433] kasan_report_error.cold+0xa7/0x1b9 [ 39.341079] ? memcpy_from_page+0x8c/0x120 [ 39.345302] kasan_report+0x8f/0xa0 [ 39.348908] ? memcpy_from_page+0x8c/0x120 [ 39.353123] memcpy+0x20/0x50 [ 39.356207] memcpy_from_page+0x8c/0x120 [ 39.360248] iov_iter_copy_from_user_atomic+0x701/0xaa0 [ 39.365595] generic_perform_write+0x265/0x4d0 [ 39.370157] ? __mnt_drop_write_file+0x6f/0xa0 [ 39.374720] ? filemap_page_mkwrite+0x2f0/0x2f0 [ 39.379372] ? current_time+0x1c0/0x1c0 [ 39.383324] ? lock_acquire+0x170/0x3c0 [ 39.387285] __generic_file_write_iter+0x24b/0x610 [ 39.392198] generic_file_write_iter+0x3f8/0x730 [ 39.397024] ? common_file_perm+0x4e5/0x850 [ 39.401339] do_iter_readv_writev+0x668/0x790 [ 39.405830] ? clone_verify_area+0x240/0x240 [ 39.410255] ? lock_acquire+0x170/0x3c0 [ 39.414209] ? security_file_permission+0x1c0/0x220 [ 39.419208] do_iter_write+0x182/0x5d0 [ 39.423082] vfs_iter_write+0x70/0xa0 [ 39.426863] lo_write_bvec+0x141/0x370 [ 39.430728] ? lo_rw_aio_do_completion+0xb0/0xb0 [ 39.435475] loop_queue_work+0xa1c/0x20c0 [ 39.439604] ? finish_task_switch+0x146/0x760 [ 39.444082] ? finish_task_switch+0x118/0x760 [ 39.448566] ? switch_mm_irqs_off+0x2e5/0x1340 [ 39.453131] ? lo_fallocate.isra.0+0x170/0x170 [ 39.457700] ? kthread_worker_fn+0x217/0x730 [ 39.462088] ? lock_downgrade+0x720/0x720 [ 39.466216] ? lock_acquire+0x170/0x3c0 [ 39.470179] ? kthread_worker_fn+0x3e4/0x730 [ 39.474578] ? _raw_spin_unlock_irq+0x24/0x80 [ 39.479057] kthread_worker_fn+0x292/0x730 [ 39.483275] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 39.487838] ? __kthread_init_worker+0xf0/0xf0 [ 39.492409] ? __kthread_parkme+0x133/0x1e0 [ 39.496714] ? loop_info64_to_compat+0x5e0/0x5e0 [ 39.501463] kthread+0x33f/0x460 [ 39.504922] ? kthread_park+0x180/0x180 [ 39.508877] ret_from_fork+0x24/0x30 [ 39.512749] Kernel Offset: disabled [ 39.516358] Rebooting in 86400 seconds..