[ 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.1.14' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 39.282018] audit: type=1400 audit(1601513215.566:8): avc: denied { execmem } for pid=6467 comm="syz-executor188" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=process permissive=1 [ 39.298388] ================================================================== [ 39.309375] BUG: KASAN: slab-out-of-bounds in squashfs_get_id+0x1bc/0x1f0 [ 39.316309] Read of size 8 at addr ffff8880a4650938 by task syz-executor188/6467 [ 39.323839] [ 39.325490] CPU: 0 PID: 6467 Comm: syz-executor188 Not tainted 4.19.148-syzkaller #0 [ 39.333478] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 39.342810] Call Trace: [ 39.345381] dump_stack+0x22c/0x33e [ 39.348993] print_address_description.cold+0x56/0x25c [ 39.354250] kasan_report_error.cold+0x66/0xb9 [ 39.358813] ? squashfs_get_id+0x1bc/0x1f0 [ 39.363029] __asan_report_load8_noabort+0x88/0x90 [ 39.367940] ? squashfs_get_id+0x1bc/0x1f0 [ 39.372152] squashfs_get_id+0x1bc/0x1f0 [ 39.376219] ? squashfs_read_fragment_index_table+0xf0/0xf0 [ 39.381909] ? squashfs_read_metadata+0x2e5/0x3b0 [ 39.386763] squashfs_read_inode+0x1d3/0x1940 [ 39.391328] ? squashfs_read_id_index_table+0xf0/0xf0 [ 39.396498] ? find_held_lock+0x2d/0x110 [ 39.400539] ? new_inode+0xc7/0xf0 [ 39.404060] ? do_raw_spin_lock+0xcb/0x220 [ 39.408274] ? do_raw_spin_unlock+0x171/0x240 [ 39.412853] squashfs_fill_super+0x1277/0x190a [ 39.417432] mount_bdev+0x2fc/0x3b0 [ 39.421057] ? squashfs_remount+0x50/0x50 [ 39.425195] mount_fs+0xa3/0x318 [ 39.428546] vfs_kern_mount.part.0+0x68/0x470 [ 39.433030] do_mount+0x51c/0x2f10 [ 39.436552] ? __do_page_fault+0x1ca/0xe00 [ 39.440765] ? copy_mount_string+0x40/0x40 [ 39.444979] ? copy_mount_options+0x1c3/0x370 [ 39.449456] ? copy_mount_options+0x1d0/0x370 [ 39.453930] ? memset+0x20/0x40 [ 39.457200] ? copy_mount_options+0x261/0x370 [ 39.461673] ksys_mount+0xcf/0x130 [ 39.465191] __x64_sys_mount+0xba/0x150 [ 39.469143] ? lockdep_hardirqs_on+0x3c1/0x5e0 [ 39.473705] do_syscall_64+0xf9/0x670 [ 39.477484] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 39.482651] RIP: 0033:0x446d2a [ 39.485822] Code: b8 08 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 fd ad fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 da ad fb ff c3 66 0f 1f 84 00 00 00 00 00 [ 39.504722] RSP: 002b:00007ffcf85de1a8 EFLAGS: 00000293 ORIG_RAX: 00000000000000a5 [ 39.512417] RAX: ffffffffffffffda RBX: 00007ffcf85de200 RCX: 0000000000446d2a [ 39.519669] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffcf85de1c0 [ 39.526930] RBP: 00007ffcf85de1c0 R08: 00007ffcf85de200 R09: 00007ffc00000015 [ 39.534179] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001 [ 39.541442] R13: 0000000000000004 R14: 0000000000000003 R15: 0000000000000003 [ 39.548699] [ 39.550304] Allocated by task 4689: [ 39.553924] __kmalloc_track_caller+0x155/0x4e0 [ 39.558570] kmemdup_nul+0x2d/0xa0 [ 39.562092] security_context_to_sid_core+0xb2/0x610 [ 39.567173] security_context_to_sid+0x35/0x40 [ 39.571732] selinux_inode_setsecurity+0x197/0x3d0 [ 39.576639] selinux_inode_notifysecctx+0x2b/0x60 [ 39.581458] security_inode_notifysecctx+0x50/0xb0 [ 39.586428] kernfs_refresh_inode+0x328/0x4b0 [ 39.590918] kernfs_iop_permission+0x6a/0xb0 [ 39.595372] inode_permission+0x34e/0x540 [ 39.599503] link_path_walk.part.0+0x952/0x1230 [ 39.604192] path_lookupat+0xe4/0x8d0 [ 39.607973] filename_lookup+0x1ac/0x5a0 [ 39.612012] do_faccessat+0x262/0x7f0 [ 39.615803] do_syscall_64+0xf9/0x670 [ 39.619585] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 39.624747] [ 39.626353] Freed by task 4689: [ 39.629617] kfree+0xcc/0x250 [ 39.632712] security_context_to_sid_core+0x2ed/0x610 [ 39.637882] security_context_to_sid+0x35/0x40 [ 39.642443] selinux_inode_setsecurity+0x197/0x3d0 [ 39.647359] selinux_inode_notifysecctx+0x2b/0x60 [ 39.652179] security_inode_notifysecctx+0x50/0xb0 [ 39.657086] kernfs_refresh_inode+0x328/0x4b0 [ 39.661558] kernfs_iop_permission+0x6a/0xb0 [ 39.665944] inode_permission+0x34e/0x540 [ 39.670069] link_path_walk.part.0+0x952/0x1230 [ 39.674714] path_lookupat+0xe4/0x8d0 [ 39.678492] filename_lookup+0x1ac/0x5a0 [ 39.682539] do_faccessat+0x262/0x7f0 [ 39.686321] do_syscall_64+0xf9/0x670 [ 39.690110] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 39.695271] [ 39.696877] The buggy address belongs to the object at ffff8880a4650900 [ 39.696877] which belongs to the cache kmalloc-32 of size 32 [ 39.709350] The buggy address is located 24 bytes to the right of [ 39.709350] 32-byte region [ffff8880a4650900, ffff8880a4650920) [ 39.721545] The buggy address belongs to the page: [ 39.726456] page:ffffea0002919400 count:1 mapcount:0 mapping:ffff88812c3f61c0 index:0xffff8880a4650fc1 [ 39.735884] flags: 0xfffe0000000100(slab) [ 39.740014] raw: 00fffe0000000100 ffffea0002918c88 ffffea0002a06bc8 ffff88812c3f61c0 [ 39.747875] raw: ffff8880a4650fc1 ffff8880a4650000 0000000100000039 0000000000000000 [ 39.755740] page dumped because: kasan: bad access detected [ 39.761430] [ 39.763033] Memory state around the buggy address: [ 39.767945] ffff8880a4650800: fb fb fb fb fc fc fc fc 00 fc fc fc fc fc fc fc [ 39.775329] ffff8880a4650880: 00 00 01 fc fc fc fc fc 00 03 fc fc fc fc fc fc [ 39.782667] >ffff8880a4650900: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 39.790002] ^ [ 39.795168] ffff8880a4650980: 00 03 fc fc fc fc fc fc fb fb fb fb fc fc fc fc [ 39.802505] ffff8880a4650a00: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc [ 39.809836] ================================================================== [ 39.817170] Disabling lock debugging due to kernel taint [ 39.824837] Kernel panic - not syncing: panic_on_warn set ... [ 39.824837] [ 39.832215] CPU: 0 PID: 6467 Comm: syz-executor188 Tainted: G B 4.19.148-syzkaller #0 [ 39.841482] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 39.850850] Call Trace: [ 39.853438] dump_stack+0x22c/0x33e [ 39.857067] panic+0x2ac/0x565 [ 39.860249] ? __warn_printk+0xf3/0xf3 [ 39.864117] ? preempt_schedule_common+0x45/0xc0 [ 39.868866] ? ___preempt_schedule+0x16/0x18 [ 39.873254] ? trace_hardirqs_on+0x55/0x210 [ 39.877553] kasan_end_report+0x43/0x49 [ 39.881515] kasan_report_error.cold+0x83/0xb9 [ 39.886072] ? squashfs_get_id+0x1bc/0x1f0 [ 39.890285] __asan_report_load8_noabort+0x88/0x90 [ 39.895303] ? squashfs_get_id+0x1bc/0x1f0 [ 39.899520] squashfs_get_id+0x1bc/0x1f0 [ 39.903567] ? squashfs_read_fragment_index_table+0xf0/0xf0 [ 39.909262] ? squashfs_read_metadata+0x2e5/0x3b0 [ 39.914087] squashfs_read_inode+0x1d3/0x1940 [ 39.918608] ? squashfs_read_id_index_table+0xf0/0xf0 [ 39.923779] ? find_held_lock+0x2d/0x110 [ 39.927829] ? new_inode+0xc7/0xf0 [ 39.931352] ? do_raw_spin_lock+0xcb/0x220 [ 39.935567] ? do_raw_spin_unlock+0x171/0x240 [ 39.940040] squashfs_fill_super+0x1277/0x190a [ 39.944690] mount_bdev+0x2fc/0x3b0 [ 39.948296] ? squashfs_remount+0x50/0x50 [ 39.952447] mount_fs+0xa3/0x318 [ 39.955795] vfs_kern_mount.part.0+0x68/0x470 [ 39.960269] do_mount+0x51c/0x2f10 [ 39.963797] ? __do_page_fault+0x1ca/0xe00 [ 39.968019] ? copy_mount_string+0x40/0x40 [ 39.972316] ? copy_mount_options+0x1c3/0x370 [ 39.976786] ? copy_mount_options+0x1d0/0x370 [ 39.981273] ? memset+0x20/0x40 [ 39.984529] ? copy_mount_options+0x261/0x370 [ 39.989001] ksys_mount+0xcf/0x130 [ 39.992517] __x64_sys_mount+0xba/0x150 [ 39.996480] ? lockdep_hardirqs_on+0x3c1/0x5e0 [ 40.001046] do_syscall_64+0xf9/0x670 [ 40.004842] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 40.010006] RIP: 0033:0x446d2a [ 40.013176] Code: b8 08 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 fd ad fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 da ad fb ff c3 66 0f 1f 84 00 00 00 00 00 [ 40.032052] RSP: 002b:00007ffcf85de1a8 EFLAGS: 00000293 ORIG_RAX: 00000000000000a5 [ 40.039752] RAX: ffffffffffffffda RBX: 00007ffcf85de200 RCX: 0000000000446d2a [ 40.046999] RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffcf85de1c0 [ 40.054244] RBP: 00007ffcf85de1c0 R08: 00007ffcf85de200 R09: 00007ffc00000015 [ 40.061490] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000001 [ 40.068736] R13: 0000000000000004 R14: 0000000000000003 R15: 0000000000000003 [ 40.077272] Kernel Offset: disabled [ 40.081149] Rebooting in 86400 seconds..