loop0: detected capacity change from 0 to 32768 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] CPU: 1 UID: 0 PID: 6036 Comm: syz-executor802 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 RIP: 0010:dbDiscardAG+0x648/0x8f0 fs/jfs/jfs_dmap.c:1726 Code: e2 cd 8b e8 ca d3 b4 fd 4c 89 f7 e8 b2 50 2e fe 4c 8b 74 24 10 49 83 c6 08 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 f7 e8 7a 97 c7 fe 49 c7 06 00 00 00 00 48 RSP: 0018:ffffc900045dfcb0 EFLAGS: 00010206 RAX: 0000000000000003 RBX: ffff888033c86000 RCX: dffffc0000000000 RDX: 0000000000000001 RSI: ffffffff8dafc369 RDI: 00000000ffffffff RBP: 0000000000000001 R08: ffffffff90d5c8bf R09: 1ffffffff21ab917 R10: dffffc0000000000 R11: fffffbfff21ab918 R12: ffffffffffffffff R13: 0000000000000001 R14: 0000000000000018 R15: ffff88805b83d7f0 FS: 000055555cc9f400(0000) GS:ffff888124801000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8926b53000 CR3: 00000000416f4000 CR4: 00000000003526f0 Call Trace: jfs_ioc_trim+0x436/0x680 fs/jfs/jfs_discard.c:106 jfs_ioctl+0x291/0x3b0 fs/jfs/ioctl.c:131 vfs_ioctl fs/ioctl.c:52 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl+0xff/0x170 fs/ioctl.c:584 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc8f47440fb Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007fffcecef320 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fc8f47440fb RDX: 00007fffcecef380 RSI: 00000000c0185879 RDI: 0000000000000004 RBP: 00007fc8f47a0c12 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc8f47a0b8e R13: 0000000000000004 R14: 0000000200000004 R15: 0000000000000002 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dbDiscardAG+0x648/0x8f0 fs/jfs/jfs_dmap.c:1726 Code: e2 cd 8b e8 ca d3 b4 fd 4c 89 f7 e8 b2 50 2e fe 4c 8b 74 24 10 49 83 c6 08 4c 89 f0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 4c 89 f7 e8 7a 97 c7 fe 49 c7 06 00 00 00 00 48 RSP: 0018:ffffc900045dfcb0 EFLAGS: 00010206 RAX: 0000000000000003 RBX: ffff888033c86000 RCX: dffffc0000000000 RDX: 0000000000000001 RSI: ffffffff8dafc369 RDI: 00000000ffffffff RBP: 0000000000000001 R08: ffffffff90d5c8bf R09: 1ffffffff21ab917 R10: dffffc0000000000 R11: fffffbfff21ab918 R12: ffffffffffffffff R13: 0000000000000001 R14: 0000000000000018 R15: ffff88805b83d7f0 FS: 000055555cc9f400(0000) GS:ffff888124801000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4008a5d708 CR3: 00000000416f4000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: e2 cd loop 0xffffffcf 2: 8b e8 mov %eax,%ebp 4: ca d3 b4 lret $0xb4d3 7: fd std 8: 4c 89 f7 mov %r14,%rdi b: e8 b2 50 2e fe call 0xfe2e50c2 10: 4c 8b 74 24 10 mov 0x10(%rsp),%r14 15: 49 83 c6 08 add $0x8,%r14 19: 4c 89 f0 mov %r14,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 4c 89 f7 mov %r14,%rdi 33: e8 7a 97 c7 fe call 0xfec797b2 38: 49 c7 06 00 00 00 00 movq $0x0,(%r14) 3f: 48 rex.W