syzbot


WARNING in __put_task_struct (5)

Status: closed as dup on 2025/06/18 22:49
Subsystems: mm
[Documentation on labels]
Reported-by: syzbot+ca15a081ac6b8357d82c@syzkaller.appspotmail.com
First crash: 1d06h, last: 21h00m
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
WARNING: ODEBUG bug in io_sq_offload_create io-uring C 8 21h47m 1d21h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [mm?] WARNING in __put_task_struct (5) 2 (3) 2025/06/18 22:49
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __put_task_struct (4) kernel 1 295d 295d 0/29 closed as invalid on 2024/09/06 13:45
upstream WARNING in __put_task_struct kernel 1 2743d 2739d 0/29 closed as invalid on 2018/02/13 19:55
linux-4.19 WARNING in __put_task_struct 20 2088d 2097d 0/1 auto-closed as invalid on 2019/12/30 00:10
upstream WARNING in __put_task_struct (3) io-uring C error 4 888d 888d 0/29 auto-obsoleted due to no activity on 2023/04/22 22:53
upstream WARNING in __put_task_struct (2) kernel C 17 2437d 2445d 11/29 fixed on 2018/11/12 21:25

Sample crash report:
RBP: 00007ff5f3810b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ff5f39b5fa0 R15: 00007ffd192cb478
 </TASK>
------------[ cut here ]------------
WARNING: CPU: 1 PID: 6071 at kernel/fork.c:731 __put_task_struct+0x340/0x530 kernel/fork.c:731
Modules linked in:

CPU: 1 UID: 0 PID: 6071 Comm: syz.2.22 Not tainted 6.16.0-rc2-syzkaller-00045-g4663747812d1 #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:__put_task_struct+0x340/0x530 kernel/fork.c:731
Code: f6 ac 41 00 be 03 00 00 00 4c 89 e7 e8 f9 c2 5e 03 e9 ed fe ff ff e8 df ac 41 00 90 0f 0b 90 e9 6d fd ff ff e8 d1 ac 41 00 90 <0f> 0b 90 e9 0b fd ff ff e8 c3 ac 41 00 90 0f 0b 90 e9 67 fd ff ff
RSP: 0018:ffffc90002fd7c50 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff888026d18000 RCX: ffffffff8179d88b
RDX: ffff888032081e00 RSI: ffffffff8179db7f RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: ffff888026d18000
R13: 1ffff920005faf96 R14: ffff888026d18028 R15: 0000000000000000
FS:  00007ff5f452f6c0(0000) GS:ffff888124861000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff5f3725b20 CR3: 0000000073166000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 put_task_struct include/linux/sched/task.h:145 [inline]
 put_task_struct include/linux/sched/task.h:132 [inline]
 io_sq_offload_create+0xe4b/0x1330 io_uring/sqpoll.c:517
 io_uring_create io_uring/io_uring.c:3747 [inline]
 io_uring_setup+0x1493/0x2080 io_uring/io_uring.c:3830
 __do_sys_io_uring_setup io_uring/io_uring.c:3864 [inline]
 __se_sys_io_uring_setup io_uring/io_uring.c:3855 [inline]
 __x64_sys_io_uring_setup+0xc2/0x170 io_uring/io_uring.c:3855
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0x490 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff5f378e929
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007ff5f452f038 EFLAGS: 00000246 ORIG_RAX: 00000000000001a9
RAX: ffffffffffffffda RBX: 00007ff5f39b5fa0 RCX: 00007ff5f378e929
RDX: 0000000000000000 RSI: 0000200000000080 RDI: 0000000000000059
RBP: 00007ff5f3810b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ff5f39b5fa0 R15: 00007ffd192cb478
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/18 02:16 upstream 4663747812d1 74c9d252 .config console log report syz / log [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __put_task_struct
2025/06/18 09:06 upstream 52da431bf03b e77fae15 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in __put_task_struct
2025/06/17 23:51 upstream 4663747812d1 74c9d252 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto WARNING in __put_task_struct
* Struck through repros no longer work on HEAD.