loop2: detected capacity change from 0 to 32768 general protection fault, probably for non-canonical address 0xdffffc00000000ba: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x00000000000005d0-0x00000000000005d7] CPU: 0 PID: 4481 Comm: syz.2.36 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:blkg_tryget_closest block/blk-cgroup.c:1831 [inline] RIP: 0010:bio_associate_blkg_from_css+0x293/0x960 block/blk-cgroup.c:1865 Code: c1 e8 03 80 3c 28 00 74 08 4c 89 f7 e8 c6 4b d3 fd bd d0 05 00 00 49 03 2e 48 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 ef e8 9f 4b d3 fd bb 90 00 00 00 48 03 5d RSP: 0018:ffffc9000495f620 EFLAGS: 00010202 RAX: 00000000000000ba RBX: 0000000000000001 RCX: dffffc0000000000 RDX: ffffc90005a61000 RSI: 0000000000019716 RDI: 0000000000019717 RBP: 00000000000005d0 R08: ffffffff83f6fe4b R09: fffffbfff20ec821 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88814c5d3000 R13: ffff88805eab8000 R14: ffff88805eab8008 R15: ffff88802649596c FS: 00007fa3404356c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020004402 CR3: 00000000583d4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bio_associate_blkg+0x220/0x330 block/blk-cgroup.c:1893 lbmStartIO+0x207/0x4b0 fs/jfs/jfs_logmgr.c:2130 lbmWrite+0x379/0x4a0 fs/jfs/jfs_logmgr.c:2079 lmGroupCommit+0x598/0xb60 fs/jfs/jfs_logmgr.c:695 txCommit+0x5fb4/0x6ba0 fs/jfs/jfs_txnmgr.c:1304 jfs_commit_inode+0x362/0x580 fs/jfs/inode.c:108 jfs_fsync+0x188/0x1c0 fs/jfs/file.c:37 generic_write_sync include/linux/fs.h:2991 [inline] generic_file_write_iter+0x15e/0x1b0 mm/filemap.c:3948 call_write_iter include/linux/fs.h:2174 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0xacd/0xe50 fs/read_write.c:594 ksys_write+0x1a2/0x2c0 fs/read_write.c:647 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fa3425bd819 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:00007fa340435038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fa342774fa0 RCX: 00007fa3425bd819 RDX: 0000000000000003 RSI: 0000000020000340 RDI: 0000000000000006 RBP: 00007fa34263075e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa342774fa0 R15: 00007ffc0d8cb058 Modules linked in: ---[ end trace 3e7fa8a041fc2b7d ]--- RIP: 0010:blkg_tryget_closest block/blk-cgroup.c:1831 [inline] RIP: 0010:bio_associate_blkg_from_css+0x293/0x960 block/blk-cgroup.c:1865 Code: c1 e8 03 80 3c 28 00 74 08 4c 89 f7 e8 c6 4b d3 fd bd d0 05 00 00 49 03 2e 48 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 ef e8 9f 4b d3 fd bb 90 00 00 00 48 03 5d RSP: 0018:ffffc9000495f620 EFLAGS: 00010202 RAX: 00000000000000ba RBX: 0000000000000001 RCX: dffffc0000000000 RDX: ffffc90005a61000 RSI: 0000000000019716 RDI: 0000000000019717 RBP: 00000000000005d0 R08: ffffffff83f6fe4b R09: fffffbfff20ec821 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88814c5d3000 R13: ffff88805eab8000 R14: ffff88805eab8008 R15: ffff88802649596c FS: 00007fa3404356c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa3403f2f98 CR3: 00000000583d4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c1 e8 03 shr $0x3,%eax 3: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) 7: 74 08 je 0x11 9: 4c 89 f7 mov %r14,%rdi c: e8 c6 4b d3 fd call 0xfdd34bd7 11: bd d0 05 00 00 mov $0x5d0,%ebp 16: 49 03 2e add (%r14),%rbp 19: 48 89 e8 mov %rbp,%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: 48 89 ef mov %rbp,%rdi 33: e8 9f 4b d3 fd call 0xfdd34bd7 38: bb 90 00 00 00 mov $0x90,%ebx 3d: 48 rex.W 3e: 03 .byte 0x3 3f: 5d pop %rbp