syzbot


WARNING in destroy_pid_namespace_work

Status: upstream: reported on 2025/09/30 20:18
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+c16fb4c2be8fc4be5b73@syzkaller.appspotmail.com
First crash: 1d03h, last: 1d03h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [kernel?] WARNING in destroy_pid_namespace_work 0 (1) 2025/09/30 20:18

Sample crash report:
------------[ cut here ]------------
ida_free called for id=948 which is not allocated.
WARNING: CPU: 1 PID: 43 at lib/idr.c:592 ida_free+0x1f9/0x2e0 lib/idr.c:592
Modules linked in:
CPU: 1 UID: 0 PID: 43 Comm: kworker/1:1 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
Workqueue: events destroy_pid_namespace_work
RIP: 0010:ida_free+0x1f9/0x2e0 lib/idr.c:592
Code: 76 f6 41 83 fe 3e 76 72 e8 74 cf 76 f6 48 8b 7c 24 28 4c 89 ee e8 d7 33 0d 00 90 48 c7 c7 e0 5f cf 8c 89 ee e8 08 5f 35 f6 90 <0f> 0b 90 90 e8 4e cf 76 f6 48 b8 00 00 00 00 00 fc ff df 48 01 c3
RSP: 0018:ffffc90000b37b58 EFLAGS: 00010282
RAX: 0000000000000000 RBX: 1ffff92000166f6c RCX: ffffffff81796e88
RDX: ffff8880216f2440 RSI: ffffffff81796e95 RDI: 0000000000000001
RBP: 00000000000003b4 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: fffffffffffcb3a0 R12: ffff88801eec8000
R13: 0000000000000293 R14: 00000000000003b4 R15: ffff88801eec8070
FS:  0000000000000000(0000) GS:ffff888124f81000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d91ccb8b48 CR3: 000000000df80000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 destroy_pid_namespace kernel/pid_namespace.c:155 [inline]
 destroy_pid_namespace_work+0x6e/0x120 kernel/pid_namespace.c:170
 process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3236
 process_scheduled_works kernel/workqueue.c:3319 [inline]
 worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400
 kthread+0x3c2/0x780 kernel/kthread.c:463
 ret_from_fork+0x56a/0x730 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/30 07:56 upstream 1896ce8eb6c6 86341da6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in destroy_pid_namespace_work
* Struck through repros no longer work on HEAD.