[ 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.15.201' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 28.351148] ================================================================== [ 28.358596] BUG: KASAN: slab-out-of-bounds in find_first_zero_bit+0x84/0x90 [ 28.365669] Read of size 8 at addr ffff8880b5453e00 by task syz-executor132/7972 [ 28.373181] [ 28.374803] CPU: 0 PID: 7972 Comm: syz-executor132 Not tainted 4.14.295-syzkaller #0 [ 28.382666] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 [ 28.391995] Call Trace: [ 28.394565] dump_stack+0x1b2/0x281 [ 28.398178] print_address_description.cold+0x54/0x1d3 [ 28.403466] kasan_report_error.cold+0x8a/0x191 [ 28.408107] ? find_first_zero_bit+0x84/0x90 [ 28.412499] __asan_report_load8_noabort+0x68/0x70 [ 28.417403] ? do_raw_spin_unlock+0xc0/0x220 [ 28.421784] ? find_first_zero_bit+0x84/0x90 [ 28.426165] find_first_zero_bit+0x84/0x90 [ 28.430375] bfs_create+0xfb/0x620 [ 28.433892] ? bfs_find_entry.part.0.constprop.0+0x370/0x370 [ 28.439667] ? bfs_link+0x220/0x220 [ 28.443271] lookup_open+0x77a/0x1750 [ 28.447052] ? vfs_mkdir+0x6e0/0x6e0 [ 28.450748] path_openat+0xe08/0x2970 [ 28.454530] ? path_lookupat+0x780/0x780 [ 28.458565] ? trace_hardirqs_on+0x10/0x10 [ 28.462778] ? __lock_acquire+0x5fc/0x3f20 [ 28.466996] do_filp_open+0x179/0x3c0 [ 28.470772] ? may_open_dev+0xe0/0xe0 [ 28.474552] ? lock_downgrade+0x740/0x740 [ 28.478674] ? do_raw_spin_unlock+0x164/0x220 [ 28.483147] ? _raw_spin_unlock+0x29/0x40 [ 28.487272] ? __alloc_fd+0x1be/0x490 [ 28.491050] do_sys_open+0x296/0x410 [ 28.494738] ? filp_open+0x60/0x60 [ 28.498254] ? __close_fd+0x159/0x230 [ 28.502032] ? do_syscall_64+0x4c/0x640 [ 28.505986] ? compat_SyS_openat+0x30/0x30 [ 28.510209] do_syscall_64+0x1d5/0x640 [ 28.514072] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 28.519235] RIP: 0033:0x7fe978b9b0c9 [ 28.522919] RSP: 002b:00007ffd42be10e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 [ 28.530605] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe978b9b0c9 [ 28.537849] RDX: 00007fe978b593d3 RSI: 0000000000000000 RDI: 0000000020000940 [ 28.545093] RBP: 00007fe978b5a6a0 R08: 00005555566bd2c0 R09: 0000000000000000 [ 28.552338] R10: 00007ffd42be0fb0 R11: 0000000000000246 R12: 00007fe978b5a730 [ 28.559582] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 28.566832] [ 28.568434] Allocated by task 7972: [ 28.572040] kasan_kmalloc+0xeb/0x160 [ 28.575815] __kmalloc+0x15a/0x400 [ 28.579328] bfs_fill_super+0x3d5/0xd80 [ 28.583274] mount_bdev+0x2b3/0x360 [ 28.586874] mount_fs+0x92/0x2a0 [ 28.590229] vfs_kern_mount.part.0+0x5b/0x470 [ 28.594716] do_mount+0xe65/0x2a30 [ 28.598245] SyS_mount+0xa8/0x120 [ 28.601676] do_syscall_64+0x1d5/0x640 [ 28.605541] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 28.610700] [ 28.612302] Freed by task 6217: [ 28.615558] kasan_slab_free+0xc3/0x1a0 [ 28.619560] kfree+0xc9/0x250 [ 28.622644] aa_free_task_context+0xda/0x130 [ 28.627027] apparmor_cred_free+0x34/0x70 [ 28.631150] security_cred_free+0x71/0xb0 [ 28.635272] put_cred_rcu+0xe3/0x300 [ 28.638964] __put_cred+0x1a1/0x210 [ 28.642565] SyS_faccessat+0x52a/0x680 [ 28.646425] do_syscall_64+0x1d5/0x640 [ 28.650286] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 28.655516] [ 28.657119] The buggy address belongs to the object at ffff8880b5453e00 [ 28.657119] which belongs to the cache kmalloc-32 of size 32 [ 28.669578] The buggy address is located 0 bytes inside of [ 28.669578] 32-byte region [ffff8880b5453e00, ffff8880b5453e20) [ 28.681342] The buggy address belongs to the page: [ 28.686248] page:ffffea0002d514c0 count:1 mapcount:0 mapping:ffff8880b5453000 index:0xffff8880b5453fc1 [ 28.695669] flags: 0xfff00000000100(slab) [ 28.699792] raw: 00fff00000000100 ffff8880b5453000 ffff8880b5453fc1 0000000100000031 [ 28.707653] raw: ffffea0002c468a0 ffffea0002c13520 ffff88813fe741c0 0000000000000000 [ 28.715511] page dumped because: kasan: bad access detected [ 28.721215] [ 28.722817] Memory state around the buggy address: [ 28.727722] ffff8880b5453d00: fb fb fb fb fc fc fc fc 00 01 fc fc fc fc fc fc [ 28.735060] ffff8880b5453d80: 00 01 fc fc fc fc fc fc fb fb fb fb fc fc fc fc [ 28.742393] >ffff8880b5453e00: 07 fc fc fc fc fc fc fc fb fb fb fb fc fc fc fc [ 28.749726] ^ [ 28.753076] ffff8880b5453e80: 00 00 fc fc fc fc fc fc fb fb fb fb fc fc fc fc [ 28.760409] ffff8880b5453f00: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 28.767737] ================================================================== [ 28.775066] Disabling lock debugging due to kernel taint [ 28.780788] Kernel panic - not syncing: panic_on_warn set ... [ 28.780788] [ 28.788152] CPU: 0 PID: 7972 Comm: syz-executor132 Tainted: G B 4.14.295-syzkaller #0 [ 28.797323] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 [ 28.806661] Call Trace: [ 28.809229] dump_stack+0x1b2/0x281 [ 28.812831] panic+0x1f9/0x42d [ 28.815996] ? add_taint.cold+0x16/0x16 [ 28.819944] ? ___preempt_schedule+0x16/0x18 [ 28.824330] kasan_end_report+0x43/0x49 [ 28.828278] kasan_report_error.cold+0xa7/0x191 [ 28.832921] ? find_first_zero_bit+0x84/0x90 [ 28.837427] __asan_report_load8_noabort+0x68/0x70 [ 28.842348] ? do_raw_spin_unlock+0xc0/0x220 [ 28.846738] ? find_first_zero_bit+0x84/0x90 [ 28.851125] find_first_zero_bit+0x84/0x90 [ 28.855342] bfs_create+0xfb/0x620 [ 28.858858] ? bfs_find_entry.part.0.constprop.0+0x370/0x370 [ 28.864629] ? bfs_link+0x220/0x220 [ 28.868233] lookup_open+0x77a/0x1750 [ 28.872009] ? vfs_mkdir+0x6e0/0x6e0 [ 28.875698] path_openat+0xe08/0x2970 [ 28.879473] ? path_lookupat+0x780/0x780 [ 28.883510] ? trace_hardirqs_on+0x10/0x10 [ 28.887718] ? __lock_acquire+0x5fc/0x3f20 [ 28.891926] do_filp_open+0x179/0x3c0 [ 28.895697] ? may_open_dev+0xe0/0xe0 [ 28.899484] ? lock_downgrade+0x740/0x740 [ 28.903606] ? do_raw_spin_unlock+0x164/0x220 [ 28.908074] ? _raw_spin_unlock+0x29/0x40 [ 28.912193] ? __alloc_fd+0x1be/0x490 [ 28.915969] do_sys_open+0x296/0x410 [ 28.919676] ? filp_open+0x60/0x60 [ 28.923190] ? __close_fd+0x159/0x230 [ 28.926961] ? do_syscall_64+0x4c/0x640 [ 28.930909] ? compat_SyS_openat+0x30/0x30 [ 28.935132] do_syscall_64+0x1d5/0x640 [ 28.939000] entry_SYSCALL_64_after_hwframe+0x46/0xbb [ 28.944196] RIP: 0033:0x7fe978b9b0c9 [ 28.947884] RSP: 002b:00007ffd42be10e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 [ 28.955592] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe978b9b0c9 [ 28.962845] RDX: 00007fe978b593d3 RSI: 0000000000000000 RDI: 0000000020000940 [ 28.970091] RBP: 00007fe978b5a6a0 R08: 00005555566bd2c0 R09: 0000000000000000 [ 28.977341] R10: 00007ffd42be0fb0 R11: 0000000000000246 R12: 00007fe978b5a730 [ 28.984586] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 28.992011] Kernel Offset: disabled [ 28.995615] Rebooting in 86400 seconds..