9p: Unknown uid 00000000004294967295 9pnet: Tag 65535 still in use ------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 2 PID: 10547 at lib/refcount.c:28 refcount_warn_saturate+0x14a/0x210 lib/refcount.c:28 Modules linked in: CPU: 2 UID: 0 PID: 10547 Comm: syz.4.1294 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:refcount_warn_saturate+0x14a/0x210 lib/refcount.c:28 Code: ff 89 de e8 98 b6 1c fd 84 db 0f 85 66 ff ff ff e8 ab bb 1c fd c6 05 fe 6e a9 0b 01 90 48 c7 c7 e0 4a cf 8b e8 07 47 db fc 90 <0f> 0b 90 90 e9 43 ff ff ff e8 88 bb 1c fd 0f b6 1d d9 6e a9 0b 31 RSP: 0018:ffffc900035bf980 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffc9002f7d5000 RDX: 0000000000080000 RSI: ffffffff8179a1f5 RDI: 0000000000000001 RBP: ffff8880346cfdc8 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880346cfdc8 R13: ffff88804681a400 R14: dffffc0000000000 R15: 1ffff920006b7f3b FS: 00007f25186336c0(0000) GS:ffff8880d7076000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2518611f98 CR3: 000000004da3e000 CR4: 0000000000352ef0 Call Trace: __refcount_sub_and_test include/linux/refcount.h:400 [inline] __refcount_dec_and_test include/linux/refcount.h:432 [inline] refcount_dec_and_test include/linux/refcount.h:450 [inline] p9_req_put+0x1ec/0x250 net/9p/client.c:404 p9_tag_cleanup net/9p/client.c:431 [inline] p9_client_destroy+0x22b/0x480 net/9p/client.c:1086 v9fs_session_init+0xbab/0x1a80 fs/9p/v9fs.c:490 v9fs_mount+0xc5/0xa90 fs/9p/vfs_super.c:122 legacy_get_tree+0x109/0x220 fs/fs_context.c:666 vfs_get_tree+0x8b/0x340 fs/super.c:1752 do_new_mount fs/namespace.c:3750 [inline] path_mount+0x1516/0x2060 fs/namespace.c:4065 do_mount fs/namespace.c:4078 [inline] __do_sys_mount fs/namespace.c:4278 [inline] __se_sys_mount fs/namespace.c:4255 [inline] __x64_sys_mount+0x28d/0x310 fs/namespace.c:4255 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4e0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f251778eec9 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:00007f2518633038 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f25179e5fa0 RCX: 00007f251778eec9 RDX: 00002000000000c0 RSI: 0000200000000080 RDI: 0000200000000040 RBP: 00007f2517811f91 R08: 0000200000000400 R09: 0000000000000000 R10: 0000000002000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f25179e6038 R14: 00007f25179e5fa0 R15: 00007ffef05d6b98