NILFS (loop5): broken superblock, retrying with spare superblock (blocksize = 1024) UDF-fs: warning (device loop1): udf_load_vrs: No VRS found NILFS (loop3): broken superblock, retrying with spare superblock (blocksize = 4096) UDF-fs: Scanning with blocksize 4096 failed ================================================================== BUG: KASAN: slab-out-of-bounds in squashfs_get_id+0x181/0x1a0 fs/squashfs/id.c:51 Read of size 8 at addr ffff8880af1254f8 by task syz-executor.2/28030 CPU: 0 PID: 28030 Comm: syz-executor.2 Not tainted 4.14.209-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x283 lib/dump_stack.c:58 print_address_description.cold+0x54/0x1d3 mm/kasan/report.c:252 kasan_report_error.cold+0x8a/0x194 mm/kasan/report.c:351 kasan_report mm/kasan/report.c:409 [inline] __asan_report_load8_noabort+0x68/0x70 mm/kasan/report.c:430 squashfs_get_id+0x181/0x1a0 fs/squashfs/id.c:51 squashfs_new_inode fs/squashfs/inode.c:64 [inline] squashfs_read_inode+0x185/0x19e0 fs/squashfs/inode.c:133 squashfs_fill_super+0x1501/0x1aa0 fs/squashfs/super.c:318 mount_bdev+0x2b3/0x360 fs/super.c:1134 mount_fs+0x92/0x2a0 fs/super.c:1237 vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046 vfs_kern_mount fs/namespace.c:1036 [inline] do_new_mount fs/namespace.c:2549 [inline] do_mount+0xe53/0x2a00 fs/namespace.c:2879 SYSC_mount fs/namespace.c:3095 [inline] SyS_mount+0xa8/0x120 fs/namespace.c:3072 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x46090a RSP: 002b:00007fd532664a88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fd532664b20 RCX: 000000000046090a RDX: 0000000020000400 RSI: 0000000020000100 RDI: 00007fd532664ae0 RBP: 00007fd532664ae0 R08: 00007fd532664b20 R09: 0000000020000400 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000400 R13: 0000000020000100 R14: 0000000020000000 R15: 0000000020000500 Allocated by task 4623: save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc+0xeb/0x160 mm/kasan/kasan.c:551 kmem_cache_alloc_trace+0x131/0x3d0 mm/slab.c:3618 kmalloc include/linux/slab.h:488 [inline] kzalloc include/linux/slab.h:661 [inline] aa_alloc_task_context+0x4d/0x90 security/apparmor/context.c:40 apparmor_cred_prepare+0x1a/0xb0 security/apparmor/lsm.c:84 security_prepare_creds+0x76/0xb0 security/security.c:1008 prepare_creds+0x2ef/0x490 kernel/cred.c:282 SYSC_faccessat fs/open.c:365 [inline] SyS_faccessat+0x7b/0x680 fs/open.c:353 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb Freed by task 4623: save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_slab_free+0xc3/0x1a0 mm/kasan/kasan.c:524 __cache_free mm/slab.c:3496 [inline] kfree+0xc9/0x250 mm/slab.c:3815 aa_free_task_context+0xda/0x130 security/apparmor/context.c:54 apparmor_cred_free+0x34/0x70 security/apparmor/lsm.c:58 security_cred_free+0x71/0xb0 security/security.c:1003 put_cred_rcu+0xe3/0x300 kernel/cred.c:117 __put_cred+0x1a1/0x210 kernel/cred.c:151 put_cred include/linux/cred.h:271 [inline] SYSC_faccessat fs/open.c:444 [inline] SyS_faccessat+0x52a/0x680 fs/open.c:353 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb The buggy address belongs to the object at ffff8880af1254c0 which belongs to the cache kmalloc-32 of size 32 The buggy address is located 24 bytes to the right of 32-byte region [ffff8880af1254c0, ffff8880af1254e0) The buggy address belongs to the page: page:ffffea0002bc4940 count:1 mapcount:0 mapping:ffff8880af125000 index:0xffff8880af125fc1 flags: 0xfff00000000100(slab) raw: 00fff00000000100 ffff8880af125000 ffff8880af125fc1 0000000100000039 raw: ffffea0002a34ca0 ffffea0002a1d4a0 ffff88813fe821c0 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880af125380: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc ffff8880af125400: fb fb fb fb fc fc fc fc 00 fc fc fc fc fc fc fc >ffff8880af125480: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc ^ ffff8880af125500: 00 00 00 00 fc fc fc fc fb fb fb fb fc fc fc fc ffff8880af125580: 05 fc fc fc fc fc fc fc fb fb fb fb fc fc fc fc ================================================================== NILFS (loop3): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds NILFS (loop5): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds UDF-fs: warning (device loop1): udf_load_vrs: No anchor found NILFS (loop5): broken superblock, retrying with spare superblock (blocksize = 1024) UDF-fs: Scanning with blocksize 512 failed NILFS (loop5): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds UDF-fs: warning (device loop1): udf_load_vrs: No anchor found UDF-fs: Scanning with blocksize 1024 failed UDF-fs: warning (device loop1): udf_load_vrs: No anchor found UDF-fs: Scanning with blocksize 2048 failed UDF-fs: warning (device loop1): udf_load_vrs: No VRS found NILFS (loop5): broken superblock, retrying with spare superblock (blocksize = 1024) UDF-fs: Scanning with blocksize 4096 failed NILFS (loop5): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds NILFS (loop3): couldn't find nilfs on the device UDF-fs: warning (device loop1): udf_load_vrs: No anchor found NILFS (loop3): couldn't find nilfs on the device NILFS (loop5): broken superblock, retrying with spare superblock (blocksize = 1024) UDF-fs: Scanning with blocksize 512 failed NILFS (loop5): segctord starting. Construction interval = 5 seconds, CP frequency < 30 seconds UDF-fs: warning (device loop1): udf_load_vrs: No anchor found UDF-fs: Scanning with blocksize 1024 failed UDF-fs: warning (device loop1): udf_load_vrs: No anchor found UDF-fs: Scanning with blocksize 2048 failed UDF-fs: warning (device loop1): udf_load_vrs: No VRS found UDF-fs: Scanning with blocksize 4096 failed NILFS (loop5): broken superblock, retrying with spare superblock (blocksize = 1024)