device veth0_macvtap entered promiscuous mode wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_UP): macvtap0: link is not ready ================================================================== BUG: KASAN: slab-out-of-bounds in squashfs_get_id+0x1af/0x1f0 fs/squashfs/id.c:51 Read of size 8 at addr ffff8880ad605ba0 by task syz-executor.3/7928 IPv6: ADDRCONF(NETDEV_UP): veth0_macvtap: link is not ready CPU: 0 PID: 7928 Comm: syz-executor.3 Not tainted 4.14.203-syzkaller #0 IPv6: ADDRCONF(NETDEV_UP): veth1_macvtap: link is not ready 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+0x14b/0x1f1 lib/dump_stack.c:58 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+0x1a0/0x1860 fs/squashfs/inode.c:133 squashfs_fill_super+0x1081/0x1700 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:0x4608da RSP: 002b:00007f107fdf4a88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f107fdf4b20 RCX: 00000000004608da RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f107fdf4ae0 RBP: 00007f107fdf4ae0 R08: 00007f107fdf4b20 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000000 R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020010300 Allocated by task 1: 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 __do_kmalloc mm/slab.c:3720 [inline] __kmalloc_track_caller+0x159/0x410 mm/slab.c:3735 kstrdup+0x2c/0x60 mm/util.c:56 kstrdup_const+0x1f/0x30 mm/util.c:77 __kernfs_new_node+0x27/0x470 fs/kernfs/dir.c:628 kernfs_new_node+0x5e/0xe0 fs/kernfs/dir.c:677 kernfs_create_dir_ns+0x2b/0x120 fs/kernfs/dir.c:998 sysfs_create_dir_ns+0xa2/0x1b0 fs/sysfs/dir.c:55 create_dir lib/kobject.c:71 [inline] kobject_add_internal+0x252/0x7c0 lib/kobject.c:229 kobject_add_varg lib/kobject.c:364 [inline] kobject_init_and_add+0xc8/0x110 lib/kobject.c:436 rx_queue_add_kobject net/core/net-sysfs.c:920 [inline] net_rx_queue_update_kobjects+0x162/0x380 net/core/net-sysfs.c:953 register_queue_kobjects net/core/net-sysfs.c:1401 [inline] netdev_register_kobject+0x24d/0x360 net/core/net-sysfs.c:1612 register_netdevice+0x7b5/0xe50 net/core/dev.c:7660 bond_create+0xdb/0x13e drivers/net/bonding/bond_main.c:4806 bonding_init+0xfbf/0x10bb drivers/net/bonding/bond_main.c:4882 do_one_initcall+0x87/0x1c5 init/main.c:826 do_initcall_level init/main.c:892 [inline] do_initcalls init/main.c:900 [inline] do_basic_setup init/main.c:918 [inline] kernel_init_freeable+0x4db/0x575 init/main.c:1075 kernel_init+0xc/0x105 init/main.c:1000 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404 Freed by task 0: (stack is not available) The buggy address belongs to the object at ffff8880ad605b80 which belongs to the cache kmalloc-32 of size 32 The buggy address is located 0 bytes to the right of 32-byte region [ffff8880ad605b80, ffff8880ad605ba0) The buggy address belongs to the page: page:ffffea0002b58140 count:1 mapcount:0 mapping:ffff8880ad605000 index:0xffff8880ad605fc1 flags: 0xfffe0000000100(slab) raw: 00fffe0000000100 ffff8880ad605000 ffff8880ad605fc1 000000010000003f raw: ffffea0002b588a0 ffff8880b6401248 ffff8880b64001c0 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880ad605a80: 06 fc fc fc fc fc fc fc fb fb fb fb fc fc fc fc ffff8880ad605b00: 06 fc fc fc fc fc fc fc 00 fc fc fc fc fc fc fc >ffff8880ad605b80: 06 fc fc fc fc fc fc fc fb fb fb fb fc fc fc fc ^ ffff8880ad605c00: 06 fc fc fc fc fc fc fc fb fb fb fb fc fc fc fc ffff8880ad605c80: 05 fc fc fc fc fc fc fc fb fb fb fb fc fc fc fc ==================================================================