All of lore.kernel.org
 help / color / mirror / Atom feed
* [moderation/CI] Re: nstree: listns()
@ 2025-10-22 17:13 syzbot ci
  2025-10-22 19:13 ` Aleksandr Nogikh
  0 siblings, 1 reply; 4+ messages in thread
From: syzbot ci @ 2025-10-22 17:13 UTC (permalink / raw)
  To: syzkaller-upstream-moderation; +Cc: syzbot

syzbot ci has tested the following series

[v2] nstree: listns()
https://lore.kernel.org/all/20251022-work-namespace-nstree-listns-v2-0-71a588572371@kernel.org
* [PATCH v2 01/63] libfs: allow to specify s_d_flags
* [PATCH v2 02/63] nsfs: use inode_just_drop()
* [PATCH v2 03/63] nsfs: raise DCACHE_DONTCACHE explicitly
* [PATCH v2 04/63] pidfs: raise DCACHE_DONTCACHE explicitly
* [PATCH v2 05/63] nsfs: raise SB_I_NODEV and SB_I_NOEXEC
* [PATCH v2 06/63] cgroup: add cgroup namespace to tree after owner is set
* [PATCH v2 07/63] nstree: simplify return
* [PATCH v2 08/63] ns: initialize ns_list_node for initial namespaces
* [PATCH v2 09/63] ns: add __ns_ref_read()
* [PATCH v2 10/63] ns: add active reference count
* [PATCH v2 11/63] ns: use anonymous struct to group list member
* [PATCH v2 12/63] nstree: introduce a unified tree
* [PATCH v2 13/63] nstree: allow lookup solely based on inode
* [PATCH v2 14/63] nstree: assign fixed ids to the initial namespaces
* [PATCH v2 15/63] ns: maintain list of owned namespaces
* [PATCH v2 16/63] nstree: add listns()
* [PATCH v2 17/63] arch: hookup listns() system call
* [PATCH v2 18/63] nsfs: update tools header
* [PATCH v2 19/63] selftests/filesystems: remove CLONE_NEWPIDNS from setup_userns() helper
* [PATCH v2 20/63] selftests/namespaces: first active reference count tests
* [PATCH v2 21/63] selftests/namespaces: second active reference count tests
* [PATCH v2 22/63] selftests/namespaces: third active reference count tests
* [PATCH v2 23/63] selftests/namespaces: fourth active reference count tests
* [PATCH v2 24/63] selftests/namespaces: fifth active reference count tests
* [PATCH v2 25/63] selftests/namespaces: sixth active reference count tests
* [PATCH v2 26/63] selftests/namespaces: seventh active reference count tests
* [PATCH v2 27/63] selftests/namespaces: eigth active reference count tests
* [PATCH v2 28/63] selftests/namespaces: ninth active reference count tests
* [PATCH v2 29/63] selftests/namespaces: tenth active reference count tests
* [PATCH v2 30/63] selftests/namespaces: eleventh active reference count tests
* [PATCH v2 31/63] selftests/namespaces: twelth active reference count tests
* [PATCH v2 32/63] selftests/namespaces: thirteenth active reference count tests
* [PATCH v2 33/63] selftests/namespaces: fourteenth active reference count tests
* [PATCH v2 34/63] selftests/namespaces: fifteenth active reference count tests
* [PATCH v2 35/63] selftests/namespaces: add listns() wrapper
* [PATCH v2 36/63] selftests/namespaces: first listns() test
* [PATCH v2 37/63] selftests/namespaces: second listns() test
* [PATCH v2 38/63] selftests/namespaces: third listns() test
* [PATCH v2 39/63] selftests/namespaces: fourth listns() test
* [PATCH v2 40/63] selftests/namespaces: fifth listns() test
* [PATCH v2 41/63] selftests/namespaces: sixth listns() test
* [PATCH v2 42/63] selftests/namespaces: seventh listns() test
* [PATCH v2 43/63] selftests/namespaces: ninth listns() test
* [PATCH v2 44/63] selftests/namespaces: ninth listns() test
* [PATCH v2 45/63] selftests/namespaces: first listns() permission test
* [PATCH v2 46/63] selftests/namespaces: second listns() permission test
* [PATCH v2 47/63] selftests/namespaces: third listns() permission test
* [PATCH v2 48/63] selftests/namespaces: fourth listns() permission test
* [PATCH v2 49/63] selftests/namespaces: fifth listns() permission test
* [PATCH v2 50/63] selftests/namespaces: sixth listns() permission test
* [PATCH v2 51/63] selftests/namespaces: seventh listns() permission test
* [PATCH v2 52/63] selftests/namespaces: first inactive namespace resurrection test
* [PATCH v2 53/63] selftests/namespaces: second inactive namespace resurrection test
* [PATCH v2 54/63] selftests/namespaces: third inactive namespace resurrection test
* [PATCH v2 55/63] selftests/namespaces: fourth inactive namespace resurrection test
* [PATCH v2 56/63] selftests/namespaces: fifth inactive namespace resurrection test
* [PATCH v2 57/63] selftests/namespaces: sixth inactive namespace resurrection test
* [PATCH v2 58/63] selftests/namespaces: seventh inactive namespace resurrection test
* [PATCH v2 59/63] selftests/namespaces: eigth inactive namespace resurrection test
* [PATCH v2 60/63] selftests/namespaces: ninth inactive namespace resurrection test
* [PATCH v2 61/63] selftests/namespaces: tenth inactive namespace resurrection test
* [PATCH v2 62/63] selftests/namespaces: eleventh inactive namespace resurrection test
* [PATCH v2 63/63] selftests/namespaces: twelth inactive namespace resurrection test

and found the following issue:
general protection fault in copy_creds

Full report is available here:
https://ci.syzbot.org/series/edb88bd4-fe2f-4399-a44b-69d30faa57fb

***

general protection fault in copy_creds

tree:      bpf
URL:       https://kernel.googlesource.com/pub/scm/linux/kernel/git/bpf/bpf.git
base:      5fb750e8a9ae123b2034771b864b8a21dbef65cd
arch:      amd64
compiler:  Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
config:    https://ci.syzbot.org/builds/b6fa4981-93e1-4b9c-a4b4-a1be1c33d835/config

Oops: general protection fault, probably for non-canonical address 0xdffffc0000000012: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000090-0x0000000000000097]
CPU: 1 UID: 0 PID: 5952 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:copy_creds+0x473/0xd10
Code: 6a 8b e8 a0 76 0f 00 48 c7 c7 e0 cd 13 8e 48 89 de e8 81 5c 0f 00 e8 6c 01 19 00 ba 01 00 00 00 4c 89 f7 31 f6 e8 6d 99 00 00 <41> 80 7c 24 12 00 74 0a bf 90 00 00 00 e8 eb bc 97 00 4c 8b 34 25
RSP: 0018:ffffc900045d7938 EFLAGS: 00010286
RAX: 0000000000000131 RBX: ffffffff818e8499 RCX: ffff88810d1ad700
RDX: 0000000000000000 RSI: 7fffffffffffffff RDI: 0000000000000131
RBP: 0000000000000001 R08: ffffffff8dfef75f R09: 1ffffffff1bfdeeb
R10: dffffc0000000000 R11: fffffbfff1bfdeec R12: dffffc0000000000
R13: 0000000000010000 R14: ffffffff8dfef6c0 R15: 1ffff110216064bd
FS:  000055558d65c500(0000) GS:ffff8882a9d02000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd1e15c36f0 CR3: 000000011b786000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 copy_process+0x964/0x3c00
 kernel_clone+0x21e/0x840
 __se_sys_clone3+0x256/0x2d0
 do_syscall_64+0xfa/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd1e15c3709
Code: d6 08 00 48 8d 3d bc d6 08 00 e8 02 29 f6 ff 66 90 b8 ea ff ff ff 48 85 ff 74 2c 48 85 d2 74 27 49 89 c8 b8 b3 01 00 00 0f 05 <48> 85 c0 7c 18 74 01 c3 31 ed 48 83 e4 f0 4c 89 c7 ff d2 48 89 c7
RSP: 002b:00007fff0ae99118 EFLAGS: 00000202 ORIG_RAX: 00000000000001b3
RAX: ffffffffffffffda RBX: 00007fd1e1545b10 RCX: 00007fd1e15c3709
RDX: 00007fd1e1545b10 RSI: 0000000000000058 RDI: 00007fff0ae99160
RBP: 00007fd1e13ff6c0 R08: 00007fd1e13ff6c0 R09: 00007fff0ae99247
R10: 0000000000000008 R11: 0000000000000202 R12: ffffffffffffffa8
R13: 0000000000000009 R14: 00007fff0ae99160 R15: 00007fff0ae99248
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:copy_creds+0x473/0xd10
Code: 6a 8b e8 a0 76 0f 00 48 c7 c7 e0 cd 13 8e 48 89 de e8 81 5c 0f 00 e8 6c 01 19 00 ba 01 00 00 00 4c 89 f7 31 f6 e8 6d 99 00 00 <41> 80 7c 24 12 00 74 0a bf 90 00 00 00 e8 eb bc 97 00 4c 8b 34 25
RSP: 0018:ffffc900045d7938 EFLAGS: 00010286
RAX: 0000000000000131 RBX: ffffffff818e8499 RCX: ffff88810d1ad700
RDX: 0000000000000000 RSI: 7fffffffffffffff RDI: 0000000000000131
RBP: 0000000000000001 R08: ffffffff8dfef75f R09: 1ffffffff1bfdeeb
R10: dffffc0000000000 R11: fffffbfff1bfdeec R12: dffffc0000000000
R13: 0000000000010000 R14: ffffffff8dfef6c0 R15: 1ffff110216064bd
FS:  000055558d65c500(0000) GS:ffff8882a9d02000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fed5f717d60 CR3: 000000011b786000 CR4: 00000000000006f0


***

If these findings have caused you to resend the series or submit a
separate fix, please add the following tag to your commit message:
  Tested-by: syzbot@syzkaller.appspotmail.com

---
This report is generated by a bot. It may contain errors.
syzbot ci engineers can be reached at syzkaller@googlegroups.com.

The email will later be sent to:
[amir73il@gmail.com arnd@arndb.de bpf@vger.kernel.org brauner@kernel.org cgroups@vger.kernel.org cyphar@cyphar.com daan.j.demeyer@gmail.com edumazet@google.com hannes@cmpxchg.org jack@suse.cz jannh@google.com jlayton@kernel.org josef@toxicpanda.com kuba@kernel.org linux-fsdevel@vger.kernel.org linux-kernel@vger.kernel.org me@yhndnzj.com mzxreary@0pointer.de netdev@vger.kernel.org tglx@linutronix.de tj@kernel.org viro@zeniv.linux.org.uk zbyszek@in.waw.pl]

If the report looks fine to you, reply with:
#syz upstream


^ permalink raw reply	[flat|nested] 4+ messages in thread
* [moderation/CI] Re: nstree: listns()
@ 2025-10-21 14:28 syzbot ci
  2025-10-21 14:39 ` Aleksandr Nogikh
  0 siblings, 1 reply; 4+ messages in thread
From: syzbot ci @ 2025-10-21 14:28 UTC (permalink / raw)
  To: syzkaller-upstream-moderation; +Cc: syzbot

syzbot ci has tested the following series

[v1] nstree: listns()
https://lore.kernel.org/all/20251021-work-namespace-nstree-listns-v1-0-ad44261a8a5b@kernel.org
* [PATCH RFC DRAFT 01/50] libfs: allow to specify s_d_flags
* [PATCH RFC DRAFT 02/50] nsfs: use inode_just_drop()
* [PATCH RFC DRAFT 03/50] nsfs: raise DCACHE_DONTCACHE explicitly
* [PATCH RFC DRAFT 04/50] pidfs: raise DCACHE_DONTCACHE explicitly
* [PATCH RFC DRAFT 05/50] nsfs: raise SB_I_NODEV and SB_I_NOEXEC
* [PATCH RFC DRAFT 06/50] nstree: simplify return
* [PATCH RFC DRAFT 07/50] ns: initialize ns_list_node for initial namespaces
* [PATCH RFC DRAFT 08/50] ns: add __ns_ref_read()
* [PATCH RFC DRAFT 09/50] ns: add active reference count
* [PATCH RFC DRAFT 10/50] ns: use anonymous struct to group list member
* [PATCH RFC DRAFT 11/50] nstree: introduce a unified tree
* [PATCH RFC DRAFT 12/50] nstree: allow lookup solely based on inode
* [PATCH RFC DRAFT 13/50] nstree: assign fixed ids to the initial namespaces
* [PATCH RFC DRAFT 14/50] ns: maintain list of owned namespaces
* [PATCH RFC DRAFT 15/50] nstree: add listns()
* [PATCH RFC DRAFT 16/50] arch: hookup listns() system call
* [PATCH RFC DRAFT 17/50] nsfs: update tools header
* [PATCH RFC DRAFT 18/50] selftests/filesystems: remove CLONE_NEWPIDNS from setup_userns() helper
* [PATCH RFC DRAFT 19/50] selftests/namespaces: first active reference count tests
* [PATCH RFC DRAFT 20/50] selftests/namespaces: second active reference count tests
* [PATCH RFC DRAFT 21/50] selftests/namespaces: third active reference count tests
* [PATCH RFC DRAFT 22/50] selftests/namespaces: fourth active reference count tests
* [PATCH RFC DRAFT 23/50] selftests/namespaces: fifth active reference count tests
* [PATCH RFC DRAFT 24/50] selftests/namespaces: sixth active reference count tests
* [PATCH RFC DRAFT 25/50] selftests/namespaces: seventh active reference count tests
* [PATCH RFC DRAFT 26/50] selftests/namespaces: eigth active reference count tests
* [PATCH RFC DRAFT 27/50] selftests/namespaces: ninth active reference count tests
* [PATCH RFC DRAFT 28/50] selftests/namespaces: tenth active reference count tests
* [PATCH RFC DRAFT 29/50] selftests/namespaces: eleventh active reference count tests
* [PATCH RFC DRAFT 30/50] selftests/namespaces: twelth active reference count tests
* [PATCH RFC DRAFT 31/50] selftests/namespaces: thirteenth active reference count tests
* [PATCH RFC DRAFT 32/50] selftests/namespaces: fourteenth active reference count tests
* [PATCH RFC DRAFT 33/50] selftests/namespaces: fifteenth active reference count tests
* [PATCH RFC DRAFT 34/50] selftests/namespaces: add listns() wrapper
* [PATCH RFC DRAFT 35/50] selftests/namespaces: first listns() test
* [PATCH RFC DRAFT 36/50] selftests/namespaces: second listns() test
* [PATCH RFC DRAFT 37/50] selftests/namespaces: third listns() test
* [PATCH RFC DRAFT 38/50] selftests/namespaces: fourth listns() test
* [PATCH RFC DRAFT 39/50] selftests/namespaces: fifth listns() test
* [PATCH RFC DRAFT 40/50] selftests/namespaces: sixth listns() test
* [PATCH RFC DRAFT 41/50] selftests/namespaces: seventh listns() test
* [PATCH RFC DRAFT 42/50] selftests/namespaces: ninth listns() test
* [PATCH RFC DRAFT 43/50] selftests/namespaces: ninth listns() test
* [PATCH RFC DRAFT 44/50] selftests/namespaces: first listns() permission test
* [PATCH RFC DRAFT 45/50] selftests/namespaces: second listns() permission test
* [PATCH RFC DRAFT 46/50] selftests/namespaces: third listns() permission test
* [PATCH RFC DRAFT 47/50] selftests/namespaces: fourth listns() permission test
* [PATCH RFC DRAFT 48/50] selftests/namespaces: fifth listns() permission test
* [PATCH RFC DRAFT 49/50] selftests/namespaces: sixth listns() permission test
* [PATCH RFC DRAFT 50/50] selftests/namespaces: seventh listns() permission test

and found the following issue:
WARNING in __ns_tree_add_raw

Full report is available here:
https://ci.syzbot.org/series/03ca38c3-876c-4231-aa06-ddb0bc8a30ad

***

WARNING in __ns_tree_add_raw

tree:      bpf
URL:       https://kernel.googlesource.com/pub/scm/linux/kernel/git/bpf/bpf.git
base:      5fb750e8a9ae123b2034771b864b8a21dbef65cd
arch:      amd64
compiler:  Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
config:    https://ci.syzbot.org/builds/156cf21b-68f9-423c-807a-3dd094e6aed8/config

------------[ cut here ]------------
WARNING: CPU: 1 PID: 5816 at kernel/nstree.c:189 __ns_tree_add_raw+0xa92/0xb30
Modules linked in:
CPU: 1 UID: 0 PID: 5816 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:__ns_tree_add_raw+0xa92/0xb30
Code: 32 00 90 0f 0b 90 42 80 3c 23 00 0f 85 1e fc ff ff e9 21 fc ff ff e8 ed 78 32 00 90 0f 0b 90 e9 66 fc ff ff e8 df 78 32 00 90 <0f> 0b 90 e9 53 ff ff ff 44 89 f9 80 e1 07 80 c1 03 38 c1 0f 8c ef
RSP: 0018:ffffc90003f27c30 EFLAGS: 00010293
RAX: ffffffff818e0051 RBX: 1ffffffff16db871 RCX: ffff88810ffe0000
RDX: 0000000000000000 RSI: ffff8881bbf5e9a8 RDI: ffff88816d0e6e00
RBP: ffff88816d0e6e00 R08: ffff88816d0e6e3f R09: 0000000000000000
R10: ffff88816d0e6e30 R11: ffffffff81b988c0 R12: dffffc0000000000
R13: ffff88816d0e6e40 R14: ffffffff8b6dc388 R15: ffff8881bbf5e9a8
FS:  000055558630f500(0000) GS:ffff8882a9d04000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5c3f03529c CR3: 000000010b5bc000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 copy_cgroup_ns+0x373/0x5f0
 create_new_namespaces+0x358/0x720
 unshare_nsproxy_namespaces+0x11c/0x170
 ksys_unshare+0x4c8/0x8c0
 __x64_sys_unshare+0x38/0x50
 do_syscall_64+0xfa/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f5c3ef907c7
Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 10 01 00 00 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:00007ffc62c39c88 EFLAGS: 00000246 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007ffc62c39c90 RCX: 00007f5c3ef907c7
RDX: 0000000000000000 RSI: 00007f5c3f03529c RDI: 0000000002000000
RBP: 00007ffc62c39d20 R08: 0000000000000000 R09: 00007f5c3fd1d6c0
R10: 0000000000044000 R11: 0000000000000246 R12: 00007ffc62c39d20
R13: 00007ffc62c39d28 R14: 0000000000000009 R15: 0000000000000000
 </TASK>


***

If these findings have caused you to resend the series or submit a
separate fix, please add the following tag to your commit message:
  Tested-by: syzbot@syzkaller.appspotmail.com

---
This report is generated by a bot. It may contain errors.
syzbot ci engineers can be reached at syzkaller@googlegroups.com.

The email will later be sent to:
[amir73il@gmail.com arnd@arndb.de bpf@vger.kernel.org brauner@kernel.org cgroups@vger.kernel.org cyphar@cyphar.com daan.j.demeyer@gmail.com edumazet@google.com hannes@cmpxchg.org jack@suse.cz jannh@google.com jlayton@kernel.org josef@toxicpanda.com kuba@kernel.org linux-fsdevel@vger.kernel.org linux-kernel@vger.kernel.org me@yhndnzj.com mzxreary@0pointer.de netdev@vger.kernel.org tglx@linutronix.de tj@kernel.org viro@zeniv.linux.org.uk zbyszek@in.waw.pl]

If the report looks fine to you, reply with:
#syz upstream


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-10-22 19:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-22 17:13 [moderation/CI] Re: nstree: listns() syzbot ci
2025-10-22 19:13 ` Aleksandr Nogikh
  -- strict thread matches above, loose matches on Subject: below --
2025-10-21 14:28 syzbot ci
2025-10-21 14:39 ` Aleksandr Nogikh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.