syz.0.0: attempt to access beyond end of device loop0: rw=12288, sector=16648, nr_sectors = 8 limit=64 gfs2: fsid=syz:syz.0: dirty_inode: glock -5 gfs2: fsid=syz:syz.0: G: s:EX n:2/946 f:yfaqob t:EX d:EX/0 a:0 v:0 r:2 m:20 p:3 gfs2: fsid=syz:syz.0: H: s:EX f:H e:0 p:5360 [syz.0.0] __mark_inode_dirty+0x2d1/0xdf0 fs/fs-writeback.c:2527 gfs2: fsid=syz:syz.0: H: s:EX f: e:-5 p:5360 [syz.0.0] 0x0 gfs2: fsid=syz:syz.0: H: s:EX f: e:-5 p:5360 [syz.0.0] 0x0 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000004: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000020-0x0000000000000027] CPU: 0 UID: 0 PID: 5361 Comm: syz.0.0 Not tainted 6.17.0-rc1-syzkaller-00150-g8d084337a32f #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1467 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2291 [inline] RIP: 0010:gfs2_dump_glock+0x1033/0x1c50 fs/gfs2/glock.c:2413 Code: 40 b4 d0 8b be 4b 03 00 00 48 c7 c2 80 b4 d0 8b e8 c2 d8 a6 fd 49 8d 5d 20 49 89 de 49 c1 ee 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 06 84 c0 0f 85 28 06 00 00 48 89 5c 24 28 0f b7 1b 89 RSP: 0018:ffffc9000d5070e0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000020 RCX: ffff888000cd4880 RDX: 0000000000000000 RSI: ffffffff8be345e0 RDI: ffffffff8be345a0 RBP: ffffc9000d5073d0 R08: 0000000000000000 R09: ffffffff83f6aca3 R10: dffffc0000000000 R11: fffffbfff1f47407 R12: ffffffff83f6aca3 R13: 0000000000000000 R14: 0000000000000004 R15: 0000000000000000 FS: 00007fc9e3fd76c0(0000) GS:ffff88808d210000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000000 CR3: 0000000043472000 CR4: 0000000000352ef0 Call Trace: gfs2_dirty_inode+0x58e/0x600 fs/gfs2/super.c:500 __mark_inode_dirty+0x2d1/0xdf0 fs/fs-writeback.c:2527 generic_update_time+0xc2/0xd0 fs/inode.c:2063 gfs2_update_time+0x138/0x1f0 fs/gfs2/inode.c:2253 inode_update_time fs/inode.c:2075 [inline] touch_atime+0x2f6/0x6d0 fs/inode.c:2148 file_accessed include/linux/fs.h:2663 [inline] gfs2_mmap+0x296/0x2f0 fs/gfs2/file.c:606 vfs_mmap include/linux/fs.h:2289 [inline] mmap_file mm/internal.h:167 [inline] __mmap_new_file_vma mm/vma.c:2413 [inline] __mmap_new_vma mm/vma.c:2476 [inline] __mmap_region mm/vma.c:2669 [inline] mmap_region+0x18ae/0x20c0 mm/vma.c:2739 do_mmap+0xc45/0x10d0 mm/mmap.c:558 vm_mmap_pgoff+0x2a6/0x4d0 mm/util.c:580 ksys_mmap_pgoff+0x51f/0x760 mm/mmap.c:604 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc9e318ebe9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fc9e3fd7038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007fc9e33b6090 RCX: 00007fc9e318ebe9 RDX: 0000000000000002 RSI: 0000000000b36000 RDI: 0000200000000000 RBP: 00007fc9e3211e19 R08: 0000000000000008 R09: 0000000000000000 R10: 0000000000028011 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc9e33b6128 R14: 00007fc9e33b6090 R15: 00007ffdfb6e1c08 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1467 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2291 [inline] RIP: 0010:gfs2_dump_glock+0x1033/0x1c50 fs/gfs2/glock.c:2413 Code: 40 b4 d0 8b be 4b 03 00 00 48 c7 c2 80 b4 d0 8b e8 c2 d8 a6 fd 49 8d 5d 20 49 89 de 49 c1 ee 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 06 84 c0 0f 85 28 06 00 00 48 89 5c 24 28 0f b7 1b 89 RSP: 0018:ffffc9000d5070e0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000020 RCX: ffff888000cd4880 RDX: 0000000000000000 RSI: ffffffff8be345e0 RDI: ffffffff8be345a0 RBP: ffffc9000d5073d0 R08: 0000000000000000 R09: ffffffff83f6aca3 R10: dffffc0000000000 R11: fffffbfff1f47407 R12: ffffffff83f6aca3 R13: 0000000000000000 R14: 0000000000000004 R15: 0000000000000000 FS: 00007fc9e3fd76c0(0000) GS:ffff88808d210000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000000 CR3: 0000000043472000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 40 b4 d0 mov $0xd0,%spl 3: 8b be 4b 03 00 00 mov 0x34b(%rsi),%edi 9: 48 c7 c2 80 b4 d0 8b mov $0xffffffff8bd0b480,%rdx 10: e8 c2 d8 a6 fd call 0xfda6d8d7 15: 49 8d 5d 20 lea 0x20(%r13),%rbx 19: 49 89 de mov %rbx,%r14 1c: 49 c1 ee 03 shr $0x3,%r14 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 41 0f b6 04 06 movzbl (%r14,%rax,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 28 06 00 00 jne 0x65f 37: 48 89 5c 24 28 mov %rbx,0x28(%rsp) 3c: 0f b7 1b movzwl (%rbx),%ebx 3f: 89 .byte 0x89