syz.0.0: attempt to access beyond end of device loop0: rw=8400896, sector=16678, nr_sectors = 2 limit=64 gfs2: fsid=syz:syz.0: dirty_inode: glock -5 gfs2: fsid=syz:syz.0: G: s:EX n:2/24a2 f:yfao t:EX d:EX/0 a:0 v:0 r:1 m:20 p:54 gfs2: fsid=syz:syz.0: H: s:EX f:aH e:0 p:5347 [syz.0.0] vfs_rename+0xbb6/0xee0 fs/namei.c:5929 gfs2: fsid=syz:syz.0: H: s:?? f: e:-14080 p:0 [(ended)] 0x100000000 Oops: general protection fault, probably for non-canonical address 0xdffffc0000010004: 0000 [#1] SMP KASAN NOPTI KASAN: probably user-memory-access in range [0x0000000000080020-0x0000000000080027] CPU: 0 UID: 0 PID: 5348 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~bpo12+1 04/01/2014 RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1403 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2201 [inline] RIP: 0010:gfs2_dump_glock+0xdae/0x1990 fs/gfs2/glock.c:2319 Code: c0 b1 b2 8b be 65 03 00 00 48 c7 c2 00 b2 b2 8b e8 17 9f 9d 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:ffffc9000c12e300 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000080020 RCX: 0000000000100000 RDX: ffffc90021332000 RSI: 000000000000343d RDI: 000000000000343e RBP: ffffc9000c12e5f0 R08: ffffffff8400983e R09: ffffffff8df41aa0 R10: dffffc0000000000 R11: fffffbfff1f0484f R12: ffffffff8400983e R13: 0000000000080000 R14: 0000000000010004 R15: 0000000000000000 FS: 00007f1f955a66c0(0000) GS:ffff88808d416000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1f95563fc8 CR3: 000000001f8e5000 CR4: 0000000000352ef0 Call Trace: gfs2_dirty_inode+0x4fc/0x5b0 fs/gfs2/super.c:500 __mark_inode_dirty+0x390/0x1330 fs/fs-writeback.c:2587 generic_update_time+0xc2/0xd0 fs/inode.c:2155 gfs2_update_time+0x138/0x1f0 fs/gfs2/inode.c:2260 inode_update_time fs/inode.c:2167 [inline] touch_atime+0x2f9/0x6d0 fs/inode.c:2240 file_accessed include/linux/fs.h:2254 [inline] filemap_read+0x1002/0x11a0 mm/filemap.c:2872 gfs2_file_read_iter+0x13b/0xc60 fs/gfs2/file.c:969 __kernel_read+0x4cf/0x960 fs/read_write.c:530 integrity_kernel_read+0x89/0xd0 security/integrity/iint.c:28 ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:480 [inline] ima_calc_file_shash security/integrity/ima/ima_crypto.c:511 [inline] ima_calc_file_hash+0x85e/0x16f0 security/integrity/ima/ima_crypto.c:568 ima_collect_measurement+0x428/0x8f0 security/integrity/ima/ima_api.c:293 process_measurement+0x111e/0x1a70 security/integrity/ima/ima_main.c:406 ima_file_check+0xd9/0x130 security/integrity/ima/ima_main.c:663 security_file_post_open+0xbb/0x290 security/security.c:2652 do_open fs/namei.c:4630 [inline] path_openat+0x3456/0x3dd0 fs/namei.c:4787 do_filp_open+0x1fa/0x410 fs/namei.c:4814 do_sys_openat2+0x121/0x200 fs/open.c:1430 do_sys_open fs/open.c:1436 [inline] __do_sys_openat fs/open.c:1452 [inline] __se_sys_openat fs/open.c:1447 [inline] __x64_sys_openat+0x138/0x170 fs/open.c:1447 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1f9478f7c9 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:00007f1f955a6038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f1f949e6090 RCX: 00007f1f9478f7c9 RDX: 0000000000000042 RSI: 00002000000002c0 RDI: ffffffffffffff9c RBP: 00007f1f94813f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f1f949e6128 R14: 00007f1f949e6090 R15: 00007fffd30d1698 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:pid_is_meaningful fs/gfs2/glock.c:1403 [inline] RIP: 0010:dump_holder fs/gfs2/glock.c:2201 [inline] RIP: 0010:gfs2_dump_glock+0xdae/0x1990 fs/gfs2/glock.c:2319 Code: c0 b1 b2 8b be 65 03 00 00 48 c7 c2 00 b2 b2 8b e8 17 9f 9d 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:ffffc9000c12e300 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000080020 RCX: 0000000000100000 RDX: ffffc90021332000 RSI: 000000000000343d RDI: 000000000000343e RBP: ffffc9000c12e5f0 R08: ffffffff8400983e R09: ffffffff8df41aa0 R10: dffffc0000000000 R11: fffffbfff1f0484f R12: ffffffff8400983e R13: 0000000000080000 R14: 0000000000010004 R15: 0000000000000000 FS: 00007f1f955a66c0(0000) GS:ffff88808d416000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1f95563fc8 CR3: 000000001f8e5000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: c0 b1 b2 8b be 65 03 shlb $0x3,0x65be8bb2(%rcx) 7: 00 00 add %al,(%rax) 9: 48 c7 c2 00 b2 b2 8b mov $0xffffffff8bb2b200,%rdx 10: e8 17 9f 9d fd call 0xfd9d9f2c 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