loop0: detected capacity change from 0 to 32768 gfs2: fsid=syz:syz: Trying to join cluster "lock_nolock", "syz:syz" gfs2: fsid=syz:syz: Now mounting FS (format 1801)... gfs2: fsid=syz:syz.s: journal 0 mapped with 18 extents in 0ms gfs2: fsid=syz:syz.s: first mount done, others may mount gfs2: fsid=syz:syz.s: gfs2_check_dirent: gfs2_dirent too small (not first in block) gfs2: fsid=syz:syz.s: fatal: filesystem consistency error - inode = 12 2341, function = gfs2_dirent_scan, file = fs/gfs2/dir.c, line = 590 gfs2: fsid=syz:syz.s: G: s:SH n:2/925 f:aqo t:SH d:EX/0 a:0 v:0 r:2 m:20 p:1 gfs2: fsid=syz:syz.s: H: s:SH f:H e:0 p:5317 [syz.0.0] __gfs2_lookup+0xac/0x2b0 fs/gfs2/inode.c:995 gfs2: fsid=syz:syz.s: I: n:12/2341 t:4 f:0x00 d:0x00000001 s:3864 p:0 CPU: 0 UID: 0 PID: 5317 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 gfs2_withdraw+0xc3/0x1b0 fs/gfs2/util.c:249 gfs2_dirent_scan+0x54d/0x690 fs/gfs2/dir.c:-1 gfs2_dirent_search+0x358/0x8e0 fs/gfs2/dir.c:854 gfs2_dir_search+0x4c/0x220 fs/gfs2/dir.c:1649 gfs2_lookupi+0x45b/0x640 fs/gfs2/inode.c:354 __gfs2_lookup+0xac/0x2b0 fs/gfs2/inode.c:995 lookup_one_qstr_excl+0x12d/0x360 fs/namei.c:1810 __start_dirop fs/namei.c:2920 [inline] start_dirop fs/namei.c:2942 [inline] filename_create+0x20e/0x370 fs/namei.c:5092 filename_mkdirat+0xd2/0x510 fs/namei.c:5436 __do_sys_mkdirat fs/namei.c:5464 [inline] __se_sys_mkdirat+0x35/0x150 fs/namei.c:5461 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f742599e159 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7426928fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f7425c25fa0 RCX: 00007f742599e159 RDX: 00000000000001ff RSI: 0000200000000000 RDI: ffffffffffffff9c RBP: 00007f7425a3506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7425c26038 R14: 00007f7425c25fa0 R15: 00007ffdba740028 gfs2: fsid=syz:syz.s: about to withdraw this file system ------------[ cut here ]------------ !(flags & __GFP_NOWARN) WARNING: mm/slub.c:7022 at __kvmalloc_node_noprof+0x798/0x820 mm/slub.c:7022, CPU#0: syz.0.0/5317 Modules linked in: CPU: 0 UID: 0 PID: 5317 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:__kvmalloc_node_noprof+0x798/0x820 mm/slub.c:7022 Code: ff 48 c7 c7 b0 93 e9 8e 48 89 de e8 52 69 f0 02 e9 1b fc ff ff 48 c7 c7 f0 93 e9 8e 48 89 de e8 3e 69 f0 02 e9 4c fc ff ff 90 <0f> 0b 90 31 db e9 06 fe ff ff 90 0f 0b 90 e9 55 ff ff ff 49 83 7f RSP: 0018:ffffc9000ddcfae0 EFLAGS: 00010246 RAX: 0000000000000100 RBX: 0000000000000000 RCX: 8000000000000001 RDX: 0000008002000078 RSI: ffffffff8c6dcd60 RDI: ffffffff8c6dcd20 RBP: 00000000ffffffff R08: 00000000000028c0 R09: 00000000ffffffff R10: 0000000000000006 R11: 0000000000000002 R12: 0000008002000078 R13: 00000000000028c0 R14: 0000001000000000 R15: ffffffff8659c24c FS: 00007f74269296c0(0000) GS:ffff88808c2bc000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001480 CR3: 0000000012e53000 CR4: 0000000000352ef0 Call Trace: init_udmabuf drivers/dma-buf/udmabuf.c:193 [inline] udmabuf_create+0x2dc/0xf50 drivers/dma-buf/udmabuf.c:386 udmabuf_ioctl_create_list drivers/dma-buf/udmabuf.c:484 [inline] udmabuf_ioctl+0x29a/0x300 drivers/dma-buf/udmabuf.c:499 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:583 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f742599e159 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7426928fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f7425c25fa0 RCX: 00007f742599e159 RDX: 0000200000000400 RSI: 0000000040087543 RDI: 0000000000000008 RBP: 00007f7425a3506b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7425c26038 R14: 00007f7425c25fa0 R15: 00007ffdba740028