IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready ================================================================== SQUASHFS error: squashfs_read_data failed to read block 0xffff8881ed88c680 BUG: KASAN: use-after-free in squashfs_get_id+0x1af/0x1f0 fs/squashfs/id.c:51 Read of size 8 at addr ffff8881e79be5c0 by task syz-executor.0/9152 CPU: 0 PID: 9152 Comm: syz-executor.0 Not tainted 4.14.212-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: SQUASHFS error: Unable to read metadata cache entry [ffff8881ed88c680] __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x14b/0x1f1 lib/dump_stack.c:58 SQUASHFS error: Unable to read inode 0x99001a print_address_description.cold.6+0x9/0x1ca mm/kasan/report.c:252 kasan_report_error mm/kasan/report.c:351 [inline] kasan_report.cold.7+0x11a/0x2d4 mm/kasan/report.c:409 __asan_report_load8_noabort+0x14/0x20 mm/kasan/report.c:430 squashfs_get_id+0x1af/0x1f0 fs/squashfs/id.c:51 squashfs_new_inode fs/squashfs/inode.c:64 [inline] squashfs_read_inode+0x1d6/0x1cd0 fs/squashfs/inode.c:133 squashfs_fill_super+0x135d/0x1a20 fs/squashfs/super.c:318 mount_bdev+0x26f/0x330 fs/super.c:1134 squashfs_mount+0x10/0x20 fs/squashfs/super.c:404 mount_fs+0x7f/0x269 fs/super.c:1237 vfs_kern_mount.part.9+0x58/0x3c0 fs/namespace.c:1046 vfs_kern_mount fs/namespace.c:1036 [inline] do_new_mount fs/namespace.c:2549 [inline] do_mount+0x352/0x2af0 fs/namespace.c:2879 SYSC_mount fs/namespace.c:3095 [inline] SyS_mount+0xb1/0xd0 fs/namespace.c:3072 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x46090a RSP: 002b:00007fd53a79da88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fd53a79db20 RCX: 000000000046090a RDX: 0000000020000000 RSI: 00000000200000c0 RDI: 00007fd53a79dae0 RBP: 00007fd53a79dae0 R08: 00007fd53a79db20 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000000 R13: 00000000200000c0 R14: 0000000020000200 R15: 0000000020010200 Allocated by task 22: save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:59 save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_kmalloc.part.1+0x62/0xf0 mm/kasan/kasan.c:551 kasan_kmalloc+0xaf/0xc0 mm/kasan/kasan.c:536 kmem_cache_alloc_trace+0x152/0x3f0 mm/slab.c:3618 kmalloc include/linux/slab.h:488 [inline] kzalloc include/linux/slab.h:661 [inline] aa_alloc_task_context+0x44/0x60 security/apparmor/context.c:40 apparmor_cred_prepare+0x16/0x90 security/apparmor/lsm.c:84 security_prepare_creds+0x6a/0xa0 security/security.c:1008 prepare_creds+0x29e/0x350 kernel/cred.c:282 copy_creds+0x6c/0x470 kernel/cred.c:348 copy_process.part.5+0x758/0x6e70 kernel/fork.c:1663 copy_process kernel/fork.c:1614 [inline] _do_fork+0x162/0xc70 kernel/fork.c:2091 kernel_thread+0x24/0x30 kernel/fork.c:2153 call_usermodehelper_exec_work+0x17b/0x200 kernel/umh.c:192 process_one_work+0x74f/0x1620 kernel/workqueue.c:2116 worker_thread+0xcc/0xed0 kernel/workqueue.c:2250 kthread+0x338/0x400 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Freed by task 7723: save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:59 save_stack mm/kasan/kasan.c:447 [inline] set_track mm/kasan/kasan.c:459 [inline] kasan_slab_free+0xab/0x190 mm/kasan/kasan.c:524 __cache_free mm/slab.c:3496 [inline] kfree+0xcc/0x270 mm/slab.c:3815 kzfree+0x26/0x30 mm/slab_common.c:1453 aa_free_task_context+0xa5/0xe0 security/apparmor/context.c:54 apparmor_cred_free+0x34/0x70 security/apparmor/lsm.c:58 security_cred_free+0x66/0xa0 security/security.c:1003 put_cred_rcu+0xd0/0x2d0 kernel/cred.c:117 __rcu_reclaim kernel/rcu/rcu.h:195 [inline] rcu_do_batch kernel/rcu/tree.c:2699 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2962 [inline] __rcu_process_callbacks kernel/rcu/tree.c:2929 [inline] rcu_process_callbacks+0x7a5/0x11e0 kernel/rcu/tree.c:2946 __do_softirq+0x246/0x9b5 kernel/softirq.c:288 The buggy address belongs to the object at ffff8881e79be5c0 which belongs to the cache kmalloc-32 of size 32 The buggy address is located 0 bytes inside of 32-byte region [ffff8881e79be5c0, ffff8881e79be5e0) The buggy address belongs to the page: page:ffffea00079e6f80 count:1 mapcount:0 mapping:ffff8881e79be000 index:0xffff8881e79befc1 flags: 0x17ff00000000100(slab) raw: 017ff00000000100 ffff8881e79be000 ffff8881e79befc1 000000010000003f raw: ffffea0007b0e1e0 ffffea0007a1c060 ffff8881f60001c0 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8881e79be480: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc ffff8881e79be500: 00 fc fc fc fc fc fc fc fb fb fb fb fc fc fc fc >ffff8881e79be580: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc ^ ffff8881e79be600: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc ffff8881e79be680: fb fb fb fb fc fc fc fc fb fb fb fb fc fc fc fc ==================================================================