syzbot


upstream test error: BUG: corrupted list in nfs_netns_sysfs_setup

Status: closed as invalid on 2025/02/20 20:44
Subsystems: nfs
[Documentation on labels]
First crash: 213d, last: 213d

Sample crash report:
 slab kmalloc-192 start ffff888130260f00 pointer offset 8 size 192
list_add corruption. prev->next should be next (ffff888100384660), but was ffff888130203c00. (prev=ffff888130260f08).
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:34!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP PTI
CPU: 1 UID: 0 PID: 6039 Comm: syz-executor Not tainted 6.13.0-syzkaller-09030-g6d61a53dd6f5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:__list_add_valid_or_report+0x297/0x2a0 lib/list_debug.c:32
Code: c7 80 20 03 00 00 00 00 00 00 4d 85 db 74 05 e8 af 45 51 01 48 c7 c7 4c 2a 39 91 4c 89 f6 4c 89 fa 4c 89 e9 e8 8a 8f fc ff 90 <0f> 0b 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffff88812d167738 EFLAGS: 00010282
RAX: 0000000000000075 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff88812d1677a8 R08: ffffffff81a6e036 R09: 0000000000000000
R10: ffff88812c967398 R11: 0000000000000004 R12: ffff8881302c6f48
R13: ffff888130260f08 R14: ffff888100384660 R15: ffff888130203c00
FS:  0000000000000000(0000) GS:ffff88813fd00000(0063) knlGS:00000000580be440
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000f72288c0 CR3: 0000000012cf0000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __list_add_valid include/linux/list.h:88 [inline]
 __list_add include/linux/list.h:150 [inline]
 list_add_tail include/linux/list.h:183 [inline]
 kobj_kset_join lib/kobject.c:181 [inline]
 kobject_add_internal+0xc1f/0x1900 lib/kobject.c:231
 kobject_add_varg lib/kobject.c:374 [inline]
 kobject_init_and_add+0x348/0x4c0 lib/kobject.c:457
 nfs_netns_client_alloc fs/nfs/sysfs.c:180 [inline]
 nfs_netns_sysfs_setup+0x1bc/0x440 fs/nfs/sysfs.c:199
 nfs_clients_init+0x244/0x390 fs/nfs/client.c:1203
 nfs_net_init+0x8a/0x150 fs/nfs/inode.c:2545
 ops_init+0x462/0x7a0 net/core/net_namespace.c:138
 setup_net+0x305/0x12b0 net/core/net_namespace.c:362
 copy_net_ns+0x4d4/0xaa0 net/core/net_namespace.c:516
 create_new_namespaces+0x717/0xdb0 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0x17c/0x2b0 kernel/nsproxy.c:228
 ksys_unshare+0x939/0x1290 kernel/fork.c:3331
 __do_sys_unshare kernel/fork.c:3402 [inline]
 __se_sys_unshare kernel/fork.c:3400 [inline]
 __ia32_sys_unshare+0x47/0x70 kernel/fork.c:3400
 ia32_sys_call+0xccf/0x4180 arch/x86/include/generated/asm/syscalls_32.h:311
 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline]
 __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386
 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411
 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449
 entry_SYSENTER_compat_after_hwframe+0x84/0x8e
RIP: 0023:0xf744d579
Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 002b:00000000ffa473dc EFLAGS: 00000206 ORIG_RAX: 0000000000000136
RAX: ffffffffffffffda RBX: 0000000040000000 RCX: 00000000ffa46fb0
RDX: 00000000f743cff4 RSI: 0000000000000000 RDI: 00000000ffa47484
RBP: 00000000ffa47528 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_add_valid_or_report+0x297/0x2a0 lib/list_debug.c:32
Code: c7 80 20 03 00 00 00 00 00 00 4d 85 db 74 05 e8 af 45 51 01 48 c7 c7 4c 2a 39 91 4c 89 f6 4c 89 fa 4c 89 e9 e8 8a 8f fc ff 90 <0f> 0b 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffff88812d167738 EFLAGS: 00010282
RAX: 0000000000000075 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff88812d1677a8 R08: ffffffff81a6e036 R09: 0000000000000000
R10: ffff88812c967398 R11: 0000000000000004 R12: ffff8881302c6f48
R13: ffff888130260f08 R14: ffff888100384660 R15: ffff888130203c00
FS:  0000000000000000(0000) GS:ffff88813fd00000(0063) knlGS:00000000580be440
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000f72288c0 CR3: 0000000012cf0000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 2 bytes skipped:
   0:	10 06                	adc    %al,(%rsi)
   2:	03 74 b4 01          	add    0x1(%rsp,%rsi,4),%esi
   6:	10 07                	adc    %al,(%rdi)
   8:	03 74 b0 01          	add    0x1(%rax,%rsi,4),%esi
   c:	10 08                	adc    %cl,(%rax)
   e:	03 74 d8 01          	add    0x1(%rax,%rbx,8),%esi
  1e:	00 51 52             	add    %dl,0x52(%rcx)
  21:	55                   	push   %rbp
  22:	89 e5                	mov    %esp,%ebp
  24:	0f 34                	sysenter
  26:	cd 80                	int    $0x80
* 28:	5d                   	pop    %rbp <-- trapping instruction
  29:	5a                   	pop    %rdx
  2a:	59                   	pop    %rcx
  2b:	c3                   	ret
  2c:	90                   	nop
  2d:	90                   	nop
  2e:	90                   	nop
  2f:	90                   	nop
  30:	90                   	nop
  31:	90                   	nop
  32:	90                   	nop
  33:	90                   	nop
  34:	90                   	nop
  35:	90                   	nop
  36:	90                   	nop
  37:	90                   	nop
  38:	90                   	nop
  39:	90                   	nop
  3a:	90                   	nop
  3b:	90                   	nop
  3c:	90                   	nop
  3d:	90                   	nop

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/28 11:09 upstream 6d61a53dd6f5 18070896 .config console log report [disk image] [vmlinux] [kernel image] ci-upstream-kmsan-gce-386-root upstream test error: BUG: corrupted list in nfs_netns_sysfs_setup
* Struck through repros no longer work on HEAD.