[ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.36' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 31.909918] BFS-fs: bfs_fill_super(): loop0 is unclean, continuing [ 31.924091] ================================================================== [ 31.931552] BUG: KASAN: slab-out-of-bounds in find_first_zero_bit+0xa8/0xb0 [ 31.938635] Read of size 8 at addr ffff8880b358d300 by task syz-executor111/8109 [ 31.946145] [ 31.947761] CPU: 1 PID: 8109 Comm: syz-executor111 Not tainted 4.19.211-syzkaller #0 [ 31.955628] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 31.964977] Call Trace: [ 31.967548] dump_stack+0x1fc/0x2ef [ 31.971163] print_address_description.cold+0x54/0x219 [ 31.976425] kasan_report_error.cold+0x8a/0x1b9 [ 31.981087] ? find_first_zero_bit+0xa8/0xb0 [ 31.985501] __asan_report_load8_noabort+0x88/0x90 [ 31.990417] ? find_first_zero_bit+0xa8/0xb0 [ 31.994810] find_first_zero_bit+0xa8/0xb0 [ 31.999036] bfs_create+0xfb/0x610 [ 32.002737] ? bfs_add_entry.isra.0+0x520/0x520 [ 32.007392] lookup_open+0x893/0x1a20 [ 32.011216] ? vfs_mkdir+0x7a0/0x7a0 [ 32.014924] ? unlazy_walk+0x1a4/0x540 [ 32.018826] ? check_preemption_disabled+0x41/0x280 [ 32.023839] path_openat+0x1094/0x2df0 [ 32.027719] ? path_lookupat+0x8d0/0x8d0 [ 32.031772] ? mark_held_locks+0xf0/0xf0 [ 32.035835] ? mark_held_locks+0xf0/0xf0 [ 32.039891] do_filp_open+0x18c/0x3f0 [ 32.043792] ? may_open_dev+0xf0/0xf0 [ 32.047583] ? lock_downgrade+0x720/0x720 [ 32.051721] ? lock_acquire+0x170/0x3c0 [ 32.055677] ? __alloc_fd+0x34/0x570 [ 32.059388] ? do_raw_spin_unlock+0x171/0x230 [ 32.063867] ? _raw_spin_unlock+0x29/0x40 [ 32.067996] ? __alloc_fd+0x28d/0x570 [ 32.071783] do_sys_open+0x3b3/0x520 [ 32.075478] ? filp_open+0x70/0x70 [ 32.079001] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 32.084351] ? trace_hardirqs_off_caller+0x6e/0x210 [ 32.089351] ? do_syscall_64+0x21/0x620 [ 32.093307] do_syscall_64+0xf9/0x620 [ 32.097095] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 32.102273] RIP: 0033:0x7f3817dffdb9 [ 32.105970] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 [ 32.124878] RSP: 002b:00007ffe25fc4688 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 [ 32.132576] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f3817dffdb9 [ 32.140273] RDX: 00007f3817dffdb9 RSI: 0000000000000003 RDI: 0000000020000700 [ 32.147531] RBP: 00007f3817dbf650 R08: 0000000000000000 R09: 0000000000000000 [ 32.154794] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3817dbf6e0 [ 32.162056] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 32.169432] [ 32.171045] Allocated by task 8109: [ 32.174666] __kmalloc+0x15a/0x3c0 [ 32.178202] bfs_fill_super+0x447/0xec0 [ 32.182158] mount_bdev+0x2fc/0x3b0 [ 32.185787] mount_fs+0xa3/0x310 [ 32.189148] vfs_kern_mount.part.0+0x68/0x470 [ 32.193630] do_mount+0x115c/0x2f50 [ 32.197239] ksys_mount+0xcf/0x130 [ 32.200767] __x64_sys_mount+0xba/0x150 [ 32.204735] do_syscall_64+0xf9/0x620 [ 32.208613] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 32.213869] [ 32.215477] Freed by task 18: [ 32.218568] kfree+0xcc/0x210 [ 32.221656] apparmor_task_free+0x143/0x1e0 [ 32.225962] security_task_free+0x3e/0x70 [ 32.230096] __put_task_struct+0xea/0x340 [ 32.234399] delayed_put_task_struct+0x1dc/0x320 [ 32.239140] rcu_process_callbacks+0x8ff/0x18b0 [ 32.243788] __do_softirq+0x265/0x980 [ 32.247564] [ 32.249173] The buggy address belongs to the object at ffff8880b358d300 [ 32.249173] which belongs to the cache kmalloc-32 of size 32 [ 32.261647] The buggy address is located 0 bytes inside of [ 32.261647] 32-byte region [ffff8880b358d300, ffff8880b358d320) [ 32.273247] The buggy address belongs to the page: [ 32.278167] page:ffffea0002cd6340 count:1 mapcount:0 mapping:ffff88813bff01c0 index:0xffff8880b358dfc1 [ 32.287615] flags: 0xfff00000000100(slab) [ 32.291750] raw: 00fff00000000100 ffffea0002cefcc8 ffffea0002cac4c8 ffff88813bff01c0 [ 32.299617] raw: ffff8880b358dfc1 ffff8880b358d000 000000010000002e 0000000000000000 [ 32.307474] page dumped because: kasan: bad access detected [ 32.313160] [ 32.314767] Memory state around the buggy address: [ 32.319674] ffff8880b358d200: 00 04 fc fc fc fc fc fc fb fb fb fb fc fc fc fc [ 32.327019] ffff8880b358d280: fb fb fb fb fc fc fc fc 00 01 fc fc fc fc fc fc [ 32.334361] >ffff8880b358d300: 07 fc fc fc fc fc fc fc fb fb fb fb fc fc fc fc [ 32.341699] ^ [ 32.345065] ffff8880b358d380: 00 00 02 fc fc fc fc fc fb fb fb fb fc fc fc fc [ 32.352406] ffff8880b358d400: 00 01 fc fc fc fc fc fc fb fb fb fb fc fc fc fc [ 32.359741] ================================================================== [ 32.367079] Disabling lock debugging due to kernel taint [ 32.373455] Kernel panic - not syncing: panic_on_warn set ... [ 32.373455] [ 32.381515] CPU: 0 PID: 8109 Comm: syz-executor111 Tainted: G B 4.19.211-syzkaller #0 [ 32.390839] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 [ 32.400188] Call Trace: [ 32.402773] dump_stack+0x1fc/0x2ef [ 32.406401] panic+0x26a/0x50e [ 32.409601] ? __warn_printk+0xf3/0xf3 [ 32.413479] ? preempt_schedule_common+0x45/0xc0 [ 32.418215] ? ___preempt_schedule+0x16/0x18 [ 32.422601] ? trace_hardirqs_on+0x55/0x210 [ 32.426996] kasan_end_report+0x43/0x49 [ 32.430951] kasan_report_error.cold+0xa7/0x1b9 [ 32.435623] ? find_first_zero_bit+0xa8/0xb0 [ 32.440019] __asan_report_load8_noabort+0x88/0x90 [ 32.444931] ? find_first_zero_bit+0xa8/0xb0 [ 32.449339] find_first_zero_bit+0xa8/0xb0 [ 32.453560] bfs_create+0xfb/0x610 [ 32.457081] ? bfs_add_entry.isra.0+0x520/0x520 [ 32.461730] lookup_open+0x893/0x1a20 [ 32.465512] ? vfs_mkdir+0x7a0/0x7a0 [ 32.469205] ? unlazy_walk+0x1a4/0x540 [ 32.473078] ? check_preemption_disabled+0x41/0x280 [ 32.478098] path_openat+0x1094/0x2df0 [ 32.481969] ? path_lookupat+0x8d0/0x8d0 [ 32.486043] ? mark_held_locks+0xf0/0xf0 [ 32.490083] ? mark_held_locks+0xf0/0xf0 [ 32.494123] do_filp_open+0x18c/0x3f0 [ 32.497906] ? may_open_dev+0xf0/0xf0 [ 32.501687] ? lock_downgrade+0x720/0x720 [ 32.505833] ? lock_acquire+0x170/0x3c0 [ 32.509785] ? __alloc_fd+0x34/0x570 [ 32.513478] ? do_raw_spin_unlock+0x171/0x230 [ 32.517955] ? _raw_spin_unlock+0x29/0x40 [ 32.522080] ? __alloc_fd+0x28d/0x570 [ 32.525860] do_sys_open+0x3b3/0x520 [ 32.529552] ? filp_open+0x70/0x70 [ 32.533072] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 32.538417] ? trace_hardirqs_off_caller+0x6e/0x210 [ 32.543413] ? do_syscall_64+0x21/0x620 [ 32.547368] do_syscall_64+0xf9/0x620 [ 32.551153] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 32.556319] RIP: 0033:0x7f3817dffdb9 [ 32.560016] Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 [ 32.578896] RSP: 002b:00007ffe25fc4688 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 [ 32.586581] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f3817dffdb9 [ 32.593828] RDX: 00007f3817dffdb9 RSI: 0000000000000003 RDI: 0000000020000700 [ 32.601074] RBP: 00007f3817dbf650 R08: 0000000000000000 R09: 0000000000000000 [ 32.608321] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3817dbf6e0 [ 32.615566] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 32.622997] Kernel Offset: disabled [ 32.626606] Rebooting in 86400 seconds..