gfs2: fsid=loop2: Trying to join cluster "lock_nolock", "loop2" gfs2: fsid=loop5: Now mounting FS... wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 ================================================================== BUG: KASAN: slab-out-of-bounds in gfs2_read_sb fs/gfs2/ops_fstype.c:332 [inline] BUG: KASAN: slab-out-of-bounds in init_sb+0xbf2/0xd30 fs/gfs2/ops_fstype.c:469 wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 Write of size 8 at addr ffff8880a9611720 by task syz-executor.5/8172 CPU: 0 PID: 8172 Comm: syz-executor.5 Not tainted 5.0.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x165/0x21a lib/dump_stack.c:113 print_address_description.cold.3+0x9/0x211 mm/kasan/report.c:187 gfs2: fsid=loop2: Now mounting FS... kasan_report.cold.4+0x1b/0x37 mm/kasan/report.c:317 IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready __asan_report_store8_noabort+0x17/0x20 mm/kasan/generic_report.c:140 gfs2_read_sb fs/gfs2/ops_fstype.c:332 [inline] init_sb+0xbf2/0xd30 fs/gfs2/ops_fstype.c:469 fill_super+0x1560/0x23d0 fs/gfs2/ops_fstype.c:1120 gfs2_mount+0x406/0x4d1 fs/gfs2/ops_fstype.c:1302 gfs2: fsid=loop4: Trying to join cluster "lock_nolock", "loop4" mount_fs+0xce/0x33c fs/super.c:1258 vfs_kern_mount.part.11+0x58/0x3d0 fs/namespace.c:959 vfs_kern_mount fs/namespace.c:949 [inline] do_new_mount fs/namespace.c:2513 [inline] do_mount+0x3ba/0x29e0 fs/namespace.c:2845 ksys_mount+0xba/0xe0 fs/namespace.c:3061 __do_sys_mount fs/namespace.c:3075 [inline] __se_sys_mount fs/namespace.c:3072 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3072 do_syscall_64+0xd0/0x4d0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4608aa Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ad 89 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 8a 89 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007f92a5668a88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f92a5668b20 RCX: 00000000004608aa RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f92a5668ae0 RBP: 00007f92a5668ae0 R08: 00007f92a5668b20 R09: 0000000020000000 R10: 0000000002200000 R11: 0000000000000246 R12: 0000000020000000 R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020000080 Allocated by task 8172: save_stack mm/kasan/common.c:73 [inline] set_track mm/kasan/common.c:85 [inline] __kasan_kmalloc.part.0+0x66/0x100 mm/kasan/common.c:495 __kasan_kmalloc.constprop.1+0xb5/0xc0 mm/kasan/common.c:476 kasan_kmalloc+0x9/0x10 mm/kasan/common.c:509 kmem_cache_alloc_trace+0x15b/0x3d0 mm/slab.c:3615 kmalloc include/linux/slab.h:545 [inline] kzalloc include/linux/slab.h:740 [inline] init_sbd fs/gfs2/ops_fstype.c:71 [inline] fill_super+0xc7/0x23d0 fs/gfs2/ops_fstype.c:1041 gfs2_mount+0x406/0x4d1 fs/gfs2/ops_fstype.c:1302 mount_fs+0xce/0x33c fs/super.c:1258 vfs_kern_mount.part.11+0x58/0x3d0 fs/namespace.c:959 vfs_kern_mount fs/namespace.c:949 [inline] do_new_mount fs/namespace.c:2513 [inline] do_mount+0x3ba/0x29e0 fs/namespace.c:2845 ksys_mount+0xba/0xe0 fs/namespace.c:3061 __do_sys_mount fs/namespace.c:3075 [inline] __se_sys_mount fs/namespace.c:3072 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3072 do_syscall_64+0xd0/0x4d0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 0: (stack is not available) The buggy address belongs to the object at ffff8880a96103c0 which belongs to the cache kmalloc-8k of size 8192 The buggy address is located 4960 bytes inside of 8192-byte region [ffff8880a96103c0, ffff8880a96123c0) The buggy address belongs to the page: page:ffffea0002a58400 count:1 mapcount:0 mapping:ffff88812c3f5080 index:0x0 compound_mapcount: 0 flags: 0xfffe0000010200(slab|head) gfs2: fsid=loop4: Now mounting FS... raw: 00fffe0000010200 ffffea00022ee808 ffffea0002084308 ffff88812c3f5080 raw: 0000000000000000 ffff8880a96103c0 0000000100000001 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880a9611600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880a9611680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8880a9611700: 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff8880a9611780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880a9611800: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== ------------[ cut here ]------------ kernel BUG at arch/x86/mm/physaddr.c:27! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 8198 Comm: syz-executor.4 Tainted: G B 5.0.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__phys_addr+0x6b/0xc0 arch/x86/mm/physaddr.c:27 Code: b6 14 11 48 89 f9 83 e1 07 38 ca 7f 04 84 d2 75 1b 0f b6 0d 30 10 39 08 48 89 c2 48 d3 ea 48 85 d2 75 07 48 83 c4 08 5b 5d c3 <0f> 0b 48 89 45 f0 e8 3a ff 67 00 48 8b 45 f0 eb d6 48 c7 c7 10 90 RSP: 0018:ffff88809134f538 EFLAGS: 00010087 RAX: 0000778000000000 RBX: 0000000080000000 RCX: ffffed10152fa987 RDX: 1ffff1101159fa52 RSI: ffffffff87ab46a0 RDI: 0000000000000000 RBP: ffff88809134f548 R08: ffff8880ae92dad0 R09: ffffed1015d25bdf R10: ffffed1015d25bdf R11: ffff8880ae92defb R12: ffff88809542c7c0 R13: ffff88808acfd240 R14: 0000000000000001 R15: ffff888086a4c400 FS: 00007fbb585ec700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc1a30b6020 CR3: 00000000a5032000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: build_cr3 arch/x86/include/asm/tlbflush.h:127 [inline] switch_mm_irqs_off+0x389/0x1420 arch/x86/mm/tlb.c:308 context_switch kernel/sched/core.c:2832 [inline] __schedule+0x8cc/0x1f30 kernel/sched/core.c:3485 preempt_schedule_irq+0xb9/0x140 kernel/sched/core.c:3712 retint_kernel+0x1b/0x2d RIP: 0010:kasan_report+0x48/0x164 mm/kasan/report.c:292 Code: 25 40 ee 01 00 8b 80 c0 12 00 00 85 c0 75 1d 48 8b 05 fc f1 c6 08 48 89 fb 49 89 f4 a8 02 75 28 f0 48 0f ba 2d e8 f1 c6 08 00 <73> 1c 48 8b 45 e8 65 48 33 04 25 28 00 00 00 0f 85 02 01 00 00 48 RSP: 0018:ffff88809134f778 EFLAGS: 00000247 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000001 RBX: ffff88808ad16238 RCX: ffffffff82eb43d2 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffff88808ad16238 RBP: ffff88809134f7d0 R08: 000000000009e32e R09: 0000000000000000 R10: dffffc0000000000 R11: 0000000000000000 R12: 0000000000000008 R13: 1ffff11012269f08 R14: ffff88808b2eee40 R15: 0000000000000000 __asan_report_store8_noabort+0x17/0x20 mm/kasan/generic_report.c:140 gfs2_read_sb fs/gfs2/ops_fstype.c:332 [inline] init_sb+0xbf2/0xd30 fs/gfs2/ops_fstype.c:469 fill_super+0x1560/0x23d0 fs/gfs2/ops_fstype.c:1120 gfs2_mount+0x406/0x4d1 fs/gfs2/ops_fstype.c:1302 mount_fs+0xce/0x33c fs/super.c:1258 vfs_kern_mount.part.11+0x58/0x3d0 fs/namespace.c:959 vfs_kern_mount fs/namespace.c:949 [inline] do_new_mount fs/namespace.c:2513 [inline] do_mount+0x3ba/0x29e0 fs/namespace.c:2845 ksys_mount+0xba/0xe0 fs/namespace.c:3061 __do_sys_mount fs/namespace.c:3075 [inline] __se_sys_mount fs/namespace.c:3072 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3072 do_syscall_64+0xd0/0x4d0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4608aa Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ad 89 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 8a 89 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007fbb585eba88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fbb585ebb20 RCX: 00000000004608aa RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fbb585ebae0 RBP: 00007fbb585ebae0 R08: 00007fbb585ebb20 R09: 0000000020000000 R10: 0000000002200000 R11: 0000000000000246 R12: 0000000020000000 R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020000080 Modules linked in: ======================================================