------------[ cut here ]------------ server->in_flight == 0 WARNING: fs/smb/client/smb2ops.c:104 at smb2_add_credits+0x125b/0x2b90 fs/smb/client/smb2ops.c:104, CPU#0: cifsd/5902 Modules linked in: CPU: 0 UID: 0 PID: 5902 Comm: cifsd Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:smb2_add_credits+0x125b/0x2b90 fs/smb/client/smb2ops.c:104 Code: de 83 e6 01 31 ff e8 c4 16 c7 fe f6 c3 01 75 0a e8 0a 12 c7 fe e9 22 13 00 00 0f 1f 44 00 00 e8 fb 11 c7 fe e9 13 13 00 00 90 <0f> 0b 90 80 3d d9 82 9a 0c 01 0f 85 9e 03 00 00 e8 e0 11 c7 fe 49 RSP: 0018:ffffc900061e7458 EFLAGS: 00010246 RAX: ffffffff82feb8ee RBX: 1ffff110054cfc89 RCX: ffff8880278f8000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000200 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff82fee660 R12: ffff88802a67e448 R13: ffffc900061e7520 R14: ffff88802a67e000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888125c3e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005629082c4780 CR3: 0000000034700000 CR4: 00000000003526f0 Call Trace: add_credits fs/smb/client/cifsglob.h:894 [inline] cifs_compound_callback fs/smb/client/transport.c:789 [inline] cifs_compound_last_callback+0x181/0x2d0 fs/smb/client/transport.c:798 mid_execute_callback fs/smb/client/cifsglob.h:2319 [inline] cifs_abort_connection+0x949/0xf60 fs/smb/client/connect.c:343 __cifs_reconnect fs/smb/client/connect.c:398 [inline] _cifs_reconnect+0xbba/0x1670 fs/smb/client/connect.c:590 cifs_readv_from_socket+0x78b/0x8e0 include/linux/spinlock_rt.h:-1 cifs_read_from_socket fs/smb/client/connect.c:798 [inline] cifs_demultiplex_thread+0x53d/0x3310 fs/smb/client/connect.c:1288 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245