syzbot


WARNING in mnt_ns_release

Status: auto-obsoleted due to no activity on 2025/06/07 13:10
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+5b9d613904b2f185f2fe@syzkaller.appspotmail.com
First crash: 175d, last: 162d
Cause bisection: failed (error log, bisect log)
  
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] [jfs?] [nilfs?] WARNING in mnt_ns_release 1 (3) 2025/01/04 09:11
[syzbot] Monthly nilfs report (Dec 2024) 0 (1) 2024/12/30 01:15
Last patch testing requests (6)
Created Duration User Patch Repo Result
2025/06/07 12:19 25m retest repro linux-next OK log
2025/06/07 12:19 24m retest repro linux-next OK log
2025/03/28 12:07 19m retest repro linux-next report log
2025/03/28 12:07 29m retest repro linux-next report log
2025/01/16 04:24 16m retest repro linux-next error
2025/01/16 04:24 17m retest repro linux-next error

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 6171 at fs/namespace.c:163 mnt_ns_release+0x15d/0x1c0 fs/namespace.c:163
Modules linked in:
CPU: 0 UID: 0 PID: 6171 Comm: syz.3.60 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:ffffc90000007bb8 EFLAGS: 00010246
RAX: ffffffff82413fac RBX: 0000000000000001 RCX: ffff88802c830000
RDX: 0000000000000100 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffffc90000007e10 R08: ffffffff82413eb2 R09: 1ffffffff285af0b
R10: dffffc0000000000 R11: ffffffff82424530 R12: ffffffff81a6a6d7
R13: ffff888034295658 R14: dffffc0000000000 R15: ffff888034295600
FS:  0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c491c81 CR3: 000000000e736000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 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
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:kasan_check_range+0x1b8/0x290 mm/kasan/generic.c:189
Code: 4d 01 fb 48 8d 5d 07 48 85 ed 48 0f 49 dd 48 83 e3 f8 48 29 dd 74 12 41 80 3b 00 0f 85 a6 00 00 00 49 ff c3 48 ff cd 75 ee 5b <41> 5c 41 5e 41 5f 5d c3 cc cc cc cc 40 84 ed 75 5f f7 c5 00 ff 00
RSP: 0018:ffffc900054d78f8 EFLAGS: 00000256
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff819ab2c0
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff901ab1f0
RBP: 0000000000000000 R08: ffffffff901ab1f7 R09: 1ffffffff203563e
R10: dffffc0000000000 R11: fffffbfff203563f R12: 1ffff92000a9af30
R13: ffffffff818b3a2d R14: dffffc0000000001 R15: fffffbfff203563f
 instrument_atomic_read include/linux/instrumented.h:68 [inline]
 _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
 cpumask_test_cpu include/linux/cpumask.h:570 [inline]
 cpu_online include/linux/cpumask.h:1117 [inline]
 trace_lock_release include/trace/events/lock.h:69 [inline]
 lock_release+0xb0/0xa30 kernel/locking/lockdep.c:5860
 do_write_seqcount_end include/linux/seqlock.h:522 [inline]
 write_sequnlock include/linux/seqlock.h:888 [inline]
 mnt_ns_tree_write_unlock fs/namespace.c:138 [inline]
 mnt_ns_tree_remove fs/namespace.c:185 [inline]
 free_mnt_ns+0x1b5/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:0x7f2cbad85d29
Code: Unable to access opcode bytes at 0x7f2cbad85cff.
RSP: 002b:00007f2cbbb080e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000001 RBX: 00007f2cbaf75fa8 RCX: 00007f2cbad85d29
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007f2cbaf75fac
RBP: 00007f2cbaf75fa0 R08: 7fffffffffffffff R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 00007f2cbaf75fac
R13: 0000000000000000 R14: 00007ffec2a35800 R15: 00007ffec2a358e8
 </TASK>
----------------
Code disassembly (best guess):
   0:	4d 01 fb             	add    %r15,%r11
   3:	48 8d 5d 07          	lea    0x7(%rbp),%rbx
   7:	48 85 ed             	test   %rbp,%rbp
   a:	48 0f 49 dd          	cmovns %rbp,%rbx
   e:	48 83 e3 f8          	and    $0xfffffffffffffff8,%rbx
  12:	48 29 dd             	sub    %rbx,%rbp
  15:	74 12                	je     0x29
  17:	41 80 3b 00          	cmpb   $0x0,(%r11)
  1b:	0f 85 a6 00 00 00    	jne    0xc7
  21:	49 ff c3             	inc    %r11
  24:	48 ff cd             	dec    %rbp
  27:	75 ee                	jne    0x17
  29:	5b                   	pop    %rbx
* 2a:	41 5c                	pop    %r12 <-- trapping instruction
  2c:	41 5e                	pop    %r14
  2e:	41 5f                	pop    %r15
  30:	5d                   	pop    %rbp
  31:	c3                   	ret
  32:	cc                   	int3
  33:	cc                   	int3
  34:	cc                   	int3
  35:	cc                   	int3
  36:	40 84 ed             	test   %bpl,%bpl
  39:	75 5f                	jne    0x9a
  3b:	f7                   	.byte 0xf7
  3c:	c5 00 ff             	(bad)

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/01 19:56 linux-next 8155b4ef3466 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in mnt_ns_release
2025/01/01 13:37 linux-next 8155b4ef3466 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in mnt_ns_release
2025/01/01 10:00 linux-next 8155b4ef3466 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in mnt_ns_release
2024/12/28 17:09 linux-next 8155b4ef3466 d3ccff63 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in mnt_ns_release
2024/12/28 16:17 linux-next 8155b4ef3466 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in mnt_ns_release
2024/12/22 01:53 linux-next 8155b4ef3466 d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in mnt_ns_release
2024/12/20 04:47 linux-next 8503810115fb 1d58202c .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci-upstream-linux-next-kasan-gce-root WARNING in mnt_ns_release
* Struck through repros no longer work on HEAD.