------------[ cut here ]------------
WARNING: CPU: 1 PID: 7385 at fs/namespace.c:163 mnt_ns_release+0x15d/0x1c0 fs/namespace.c:163
Modules linked in:
CPU: 1 UID: 0 PID: 7385 Comm: syz.4.283 Not tainted 6.13.0-rc3-next-20241220-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:mnt_ns_release+0x15d/0x1c0 fs/namespace.c:163
Code: 15 bf 01 00 00 00 89 ee e8 d0 e8 7d ff 85 ed 7e 39 e8 87 e4 7d ff 4c 89 ff 5b 41 5e 41 5f 5d e9 39 be d8 ff e8 74 e4 7d ff 90 <0f> 0b 90 e9 12 ff ff ff e8 66 e4 7d ff 48 89 df be 03 00 00 00 5b
RSP: 0018:ffffc90000a18bb8 EFLAGS: 00010246
RAX: ffffffff82413fac RBX: 0000000000000001 RCX: ffff8880297c3c00
RDX: 0000000000000100 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffc90000a18e10 R08: ffffffff82413eb2 R09: 1ffffffff285af0b
R10: dffffc0000000000 R11: ffffffff82424530 R12: ffffffff81a6a6d7
R13: ffff888030036858 R14: dffffc0000000000 R15: ffff888030036800
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055fbb0450950 CR3: 0000000011c9a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
rcu_do_batch kernel/rcu/tree.c:2546 [inline]
rcu_core+0xaaa/0x17a0 kernel/rcu/tree.c:2802
handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561
__do_softirq kernel/softirq.c:595 [inline]
invoke_softirq kernel/softirq.c:435 [inline]
__irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662
irq_exit_rcu+0x9/0x30 kernel/softirq.c:678
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__rb_erase_augmented include/linux/rbtree_augmented.h:309 [inline]
RIP: 0010:rb_erase+0x3d4/0xe70 lib/rbtree.c:443
Code: 00 74 08 4c 89 f7 e8 1b 98 38 f6 49 8d 6c 24 08 4d 39 7c 24 10 49 0f 44 ee 4c 8b 7c 24 10 48 89 e8 48 c1 e8 03 42 80 3c 28 00 <74> 08 48 89 ef e8 e2 98 38 f6 48 89 5d 00 48 8b 6c 24 08 48 85 ed
RSP: 0018:ffffc9000c0af9f8 EFLAGS: 00000246
RAX: 1ffffffff348a434 RBX: ffff888060f1b0b0 RCX: dffffc0000000000
RDX: dffffc0000000000 RSI: ffffffff9a4521a0 RDI: ffff888060f1a2b8
RBP: ffffffff9a4521a0 R08: ffffffff942d7857 R09: 1ffffffff285af0a
R10: dffffc0000000000 R11: fffffbfff285af0b R12: 0000000000000000
R13: dffffc0000000000 R14: ffff888060f1a2b0 R15: 0000000000000001
mnt_ns_tree_remove fs/namespace.c:183 [inline]
free_mnt_ns+0x10f/0x210 fs/namespace.c:3916
free_nsproxy+0x4d/0x3c0 kernel/nsproxy.c:193
do_exit+0xa2a/0x28e0 kernel/exit.c:937
do_group_exit+0x207/0x2c0 kernel/exit.c:1087
get_signal+0x16b2/0x1750 kernel/signal.c:3017
arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0xce/0x340 kernel/entry/common.c:218
do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f07f1785d29
Code: Unable to access opcode bytes at 0x7f07f1785cff.
RSP: 002b:00007ffe24edc0f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffdfc RBX: 00007ffe24edc220 RCX: 00007f07f1785d29
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f07f1975fac
RBP: 00007f07f1975fac R08: 7fffffffffffffff R09: 00007ffe24edc3ef
R10: 00007ffe24edc200 R11: 0000000000000246 R12: 0000000000030e72
R13: 00007ffe24edc200 R14: 0000000000000fd2 R15: 000000000002fea0
----------------
Code disassembly (best guess):
0: 00 74 08 4c add %dh,0x4c(%rax,%rcx,1)
4: 89 f7 mov %esi,%edi
6: e8 1b 98 38 f6 call 0xf6389826
b: 49 8d 6c 24 08 lea 0x8(%r12),%rbp
10: 4d 39 7c 24 10 cmp %r15,0x10(%r12)
15: 49 0f 44 ee cmove %r14,%rbp
19: 4c 8b 7c 24 10 mov 0x10(%rsp),%r15
1e: 48 89 e8 mov %rbp,%rax
21: 48 c1 e8 03 shr $0x3,%rax
25: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1)
* 2a: 74 08 je 0x34 <-- trapping instruction
2c: 48 89 ef mov %rbp,%rdi
2f: e8 e2 98 38 f6 call 0xf6389916
34: 48 89 5d 00 mov %rbx,0x0(%rbp)
38: 48 8b 6c 24 08 mov 0x8(%rsp),%rbp
3d: 48 85 ed test %rbp,%rbp