[ 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.0.53' (ECDSA) to the list of known hosts. syzkaller login: [ 290.288453] IPVS: ftp: loaded support on port[0] = 21 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 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 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 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 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 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 324.071912] ================================================================== [ 324.079344] BUG: KASAN: use-after-free in fuse_copy_do+0x32f/0x430 [ 324.085724] Read of size 256 at addr ffff8880a91d62d0 by task syz-executor280/8941 [ 324.093399] [ 324.095010] CPU: 0 PID: 8941 Comm: syz-executor280 Not tainted 4.14.299-syzkaller #0 [ 324.102858] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 324.112269] Call Trace: [ 324.114849] dump_stack+0x1b2/0x281 [ 324.118453] print_address_description.cold+0x54/0x1d3 [ 324.123706] kasan_report_error.cold+0x8a/0x191 [ 324.128348] ? fuse_copy_do+0x32f/0x430 [ 324.132295] kasan_report+0x6f/0x80 [ 324.135899] ? fuse_copy_do+0x32f/0x430 [ 324.139850] memcpy+0x20/0x50 [ 324.142929] fuse_copy_do+0x32f/0x430 [ 324.146756] fuse_copy_args+0x183/0x420 [ 324.150711] ? do_raw_spin_unlock+0x164/0x220 [ 324.155183] ? fuse_copy_page+0x22a0/0x22a0 [ 324.159476] ? fuse_copy_do+0x264/0x430 [ 324.163432] fuse_dev_do_read+0x161e/0x2150 [ 324.167727] ? fuse_request_send+0x70/0x70 [ 324.171932] ? drop_futex_key_refs+0x2e/0xa0 [ 324.176314] ? aa_file_perm+0x2dd/0xab0 [ 324.180262] ? lock_acquire+0x170/0x3f0 [ 324.184210] ? lock_downgrade+0x740/0x740 [ 324.188329] fuse_dev_read+0x12a/0x1a0 [ 324.192191] ? fuse_dev_splice_read+0x550/0x550 [ 324.196843] ? iov_iter_init+0xa6/0x1c0 [ 324.200797] __vfs_read+0x449/0x620 [ 324.204408] ? vfs_copy_file_range+0x9b0/0x9b0 [ 324.208978] ? rw_verify_area+0xe1/0x2a0 [ 324.213015] vfs_read+0x139/0x340 [ 324.216444] SyS_read+0xf2/0x210 [ 324.221269] ? kernel_write+0x110/0x110 [ 324.225235] ? do_syscall_64+0x4c/0x640 [ 324.229194] ? kernel_write+0x110/0x110 [ 324.233143] do_syscall_64+0x1d5/0x640 [ 324.237006] entry_SYSCALL_64_after_hwframe+0x5e/0xd3 [ 324.242173] [ 324.243773] Allocated by task 8936: [ 324.247373] kasan_kmalloc+0xeb/0x160 [ 324.251143] __kmalloc+0x15a/0x400 [ 324.254652] __d_alloc+0x61f/0xa20 [ 324.258182] d_alloc+0x46/0x240 [ 324.261433] d_alloc_parallel+0xd6/0x16b0 [ 324.265551] lookup_slow+0x175/0x400 [ 324.269236] walk_component+0x6a1/0xbc0 [ 324.273180] path_lookupat+0x1bb/0x780 [ 324.277037] filename_lookup+0x18a/0x510 [ 324.281069] do_mount+0x118/0x2a30 [ 324.284580] SyS_mount+0xa8/0x120 [ 324.288002] do_syscall_64+0x1d5/0x640 [ 324.291864] entry_SYSCALL_64_after_hwframe+0x5e/0xd3 [ 324.297020] [ 324.298618] Freed by task 0: [ 324.301620] kasan_slab_free+0xc3/0x1a0 [ 324.305567] kfree+0xc9/0x250 [ 324.308643] rcu_process_callbacks+0x780/0x1180 [ 324.313281] __do_softirq+0x24d/0x9ff [ 324.317048] [ 324.318646] The buggy address belongs to the object at ffff8880a91d62c0 [ 324.318646] which belongs to the cache kmalloc-512 of size 512 [ 324.331442] The buggy address is located 16 bytes inside of [ 324.331442] 512-byte region [ffff8880a91d62c0, ffff8880a91d64c0) [ 324.343217] The buggy address belongs to the page: [ 324.348119] page:ffffea0002a47580 count:1 mapcount:0 mapping:ffff8880a91d6040 index:0x0 [ 324.356247] flags: 0xfff00000000100(slab) [ 324.360374] raw: 00fff00000000100 ffff8880a91d6040 0000000000000000 0000000100000006 [ 324.368223] raw: ffffea0002aaf3e0 ffffea0002a49a60 ffff88813fe74940 0000000000000000 [ 324.376071] page dumped because: kasan: bad access detected [ 324.381751] [ 324.383347] Memory state around the buggy address: [ 324.388247] ffff8880a91d6180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 324.395594] ffff8880a91d6200: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 324.402922] >ffff8880a91d6280: fc fc fc fc fc fc fc fc fb fb fb fb fb fb fb fb [ 324.410249] ^ [ 324.416205] ffff8880a91d6300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 324.423534] ffff8880a91d6380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 324.430861] ================================================================== [ 324.438188] Disabling lock debugging due to kernel taint [ 324.443695] Kernel panic - not syncing: panic_on_warn set ... [ 324.443695] [ 324.451048] CPU: 0 PID: 8941 Comm: syz-executor280 Tainted: G B 4.14.299-syzkaller #0 [ 324.460126] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 324.469466] Call Trace: [ 324.472040] dump_stack+0x1b2/0x281 [ 324.475640] panic+0x1f9/0x42d [ 324.478805] ? add_taint.cold+0x16/0x16 [ 324.482752] kasan_end_report+0x43/0x49 [ 324.486695] kasan_report_error.cold+0xa7/0x191 [ 324.491337] ? fuse_copy_do+0x32f/0x430 [ 324.495282] kasan_report+0x6f/0x80 [ 324.498891] ? fuse_copy_do+0x32f/0x430 [ 324.502834] memcpy+0x20/0x50 [ 324.505912] fuse_copy_do+0x32f/0x430 [ 324.509683] fuse_copy_args+0x183/0x420 [ 324.513633] ? do_raw_spin_unlock+0x164/0x220 [ 324.518098] ? fuse_copy_page+0x22a0/0x22a0 [ 324.522389] ? fuse_copy_do+0x264/0x430 [ 324.526333] fuse_dev_do_read+0x161e/0x2150 [ 324.530625] ? fuse_request_send+0x70/0x70 [ 324.534832] ? drop_futex_key_refs+0x2e/0xa0 [ 324.539224] ? aa_file_perm+0x2dd/0xab0 [ 324.543179] ? lock_acquire+0x170/0x3f0 [ 324.547128] ? lock_downgrade+0x740/0x740 [ 324.551250] fuse_dev_read+0x12a/0x1a0 [ 324.555128] ? fuse_dev_splice_read+0x550/0x550 [ 324.559768] ? iov_iter_init+0xa6/0x1c0 [ 324.563714] __vfs_read+0x449/0x620 [ 324.567316] ? vfs_copy_file_range+0x9b0/0x9b0 [ 324.571870] ? rw_verify_area+0xe1/0x2a0 [ 324.575900] vfs_read+0x139/0x340 [ 324.579323] SyS_read+0xf2/0x210 [ 324.582658] ? kernel_write+0x110/0x110 [ 324.586601] ? do_syscall_64+0x4c/0x640 [ 324.590543] ? kernel_write+0x110/0x110 [ 324.594487] do_syscall_64+0x1d5/0x640 [ 324.598354] entry_SYSCALL_64_after_hwframe+0x5e/0xd3 [ 324.603684] Kernel Offset: disabled [ 324.607290] Rebooting in 86400 seconds..