From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 33A5CC7115A for ; Wed, 18 Jun 2025 22:31:43 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 907998D0002; Wed, 18 Jun 2025 18:31:43 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 8DF8E8D0001; Wed, 18 Jun 2025 18:31:43 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 81CDF8D0002; Wed, 18 Jun 2025 18:31:43 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 757B68D0001 for ; Wed, 18 Jun 2025 18:31:43 -0400 (EDT) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 1E4B91A0F13 for ; Wed, 18 Jun 2025 22:31:43 +0000 (UTC) X-FDA: 83569969686.21.B05875A Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf16.hostedemail.com (Postfix) with ESMTP id 39E60180002 for ; Wed, 18 Jun 2025 22:31:41 +0000 (UTC) Authentication-Results: imf16.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=iX13dbBT; dmarc=none; spf=pass (imf16.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1750285901; a=rsa-sha256; cv=none; b=IXj3TpQnvMNG3jViYa2gO6QDiU564tM+8fyVk9i7SbhixrikRW13VFYrA+ES/OeLX/kp7g IX0B7bK9lzhBZdQYIEDb1TTt1LNPnBJAt5jltpc0I9xcnelTVv55VomWIg+lYkbJxyoOmG PQrslmSQ194T3o1MXxr+euUk9ZILL5w= ARC-Authentication-Results: i=1; imf16.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=iX13dbBT; dmarc=none; spf=pass (imf16.hostedemail.com: domain of akpm@linux-foundation.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1750285901; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=e7St03uXo6ILM9d7llsfV/+u8PGuLCRs63dRRgbv4KQ=; b=wfWTvjq1Vy2pQBfWY1U/nT4Px7ByiC3g9vPvdJtdoZgnEVSeawHkNmZ+crTcwCh3w5dqTo 5NX37GlWXKteJQGmkSMw2rYi+R30CL5UcPWmF/KlTFdc+Cqy56X57DbtNbiCeXXKjnxqLy KtWQClyG0uvRhkl1JyrjhcNF4HxON5M= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 41B4A5C5A25; Wed, 18 Jun 2025 22:29:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7326BC4CEE7; Wed, 18 Jun 2025 22:31:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1750285899; bh=Sh+fB8f3onrvVBI5RiqkmnuXNfwO5+3FLY5RZ3oUno0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=iX13dbBT/V0WyWxJ0VTVTM5vK26Sg4dWAFzp4S1qpncd/PBDlQya9ePJGDb+mbX2e w+f9TRWNRGYffxDCEvo7LM+Blt+Mlt0pGomBm/bfinVvQH8cZEsV1kzrJ+9Y+ttaLB P4XxXWTmoZXYjCCLTo75Vne9Maz53IWDpah+VT/w= Date: Wed, 18 Jun 2025 15:31:37 -0700 From: Andrew Morton To: syzbot Cc: Liam.Howlett@oracle.com, bsegall@google.com, david@redhat.com, dietmar.eggemann@arm.com, juri.lelli@redhat.com, kees@kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, lorenzo.stoakes@oracle.com, mgorman@suse.de, mhocko@suse.com, mingo@redhat.com, peterz@infradead.org, rostedt@goodmis.org, rppt@kernel.org, surenb@google.com, syzkaller-bugs@googlegroups.com, vbabka@suse.cz, vincent.guittot@linaro.org, vschneid@redhat.com, Jens Axboe Subject: Re: [syzbot] [mm?] WARNING in __put_task_struct (5) Message-Id: <20250618153137.a8f3937e86816cd9b7a3ab0d@linux-foundation.org> In-Reply-To: <6852b77e.a70a0220.79d0a.0216.GAE@google.com> References: <6852b77e.a70a0220.79d0a.0216.GAE@google.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspam-User: X-Stat-Signature: pdtoctmssb9jpbipmguop367y61ebsi1 X-Rspamd-Queue-Id: 39E60180002 X-Rspamd-Server: rspam02 X-HE-Tag: 1750285901-657673 X-HE-Meta: U2FsdGVkX18ZZbX7iQ5LNSTsOUFHaux0PEuuxO31aXE33tfKUOYEgHWVUTbCwSN61lpLdbTsec7N4eYUgvE2XiucrctnIIswTzEosjxe5lusMcoFRwHRYnXwL5kq7FuTSNiI6srXmzLkE7lGOYtpidC7JSjTs1pbqzyvKxKIMiZa3D+E+uEdrZmWNB+DsaboavZ2HuT5KMd1Og4o18eeP/9VlOsBPVnubGUpH69Or7LYnpv7EA8RRrEi99R+4OBLhaqdVyhCmpbB+ITeSxG6Sp3KYAughSQdWqcpkY7wxJG3o9uPylM0Zub0XXOHi02DuWnFwaZ9/chMsUzEt9Cu6qJKw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Wa87ZJB1pa8CjE5vgy+gpcmihrdYLuOWeSDbCBzJjG1tRPcqhJ7NtXp8KstwRxg40ZKvQyuoOcuYJ5Eeya9MgP6143uARjFjkt5j29ztPtsM+wqEIkuah7CT2w1bFixChUHZkwoNAaEwF538hVnrKquQnUy5XS8SS2BG+KPNfNZ1buQNeN5keHU3cnba7oh5FEJFj9bv60xRD6yoe2fQO9XMwXrMMUrqKyXizTXPFiGleVXy6TWjp+auirbHHgpQpjTf3K/KmRUT3QMz7/orUhHIhpM7SDbOCsiP/t3YzIuXtM8Nou1dmtsaGBLknMNx1xOLwL8ciM9cILMPr2WzdYnylYfo7M0WdZBnzcl46PBf8SvnqrBPjcmM2a7oQSZERjFyY7/whb/33m48fXIuc+nRRqogPA6IE/O3SH+GnWUTZkByj5fZMRtWggIJLD3a7E5Vakf02cTx6EKhmfmi58TULK8WdrhyIUPQr75oMIlkgUtX3YEJs7JUJULbaYaQgS5g0LgkcsiQ6I/u5yz7DX0Z9HUJA8B Odkkl9r0 rKirH6XsC8JRNcNL6Wuz9RxIXOzy4UFl1W3UTbHfbv36RaXdbd4nyhca4eDKqjr4qhZxenQuxO9zAHUYkRplLVmgHKY530l472joq/GcwiCvj2Cluw9ZteJuht6Y02HusQ37lQ/SUpmKvP4NIi5/s4iPAkek45lY X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Wed, 18 Jun 2025 05:56:30 -0700 syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit: 4663747812d1 Merge tag 'platform-drivers-x86-v6.16-2' of g.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1626f90c580000 > kernel config: https://syzkaller.appspot.com/x/.config?x=d6f01a06a8393850 > dashboard link: https://syzkaller.appspot.com/bug?extid=ca15a081ac6b8357d82c > compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10c9d5d4580000 > > Downloadable assets: > disk image: https://storage.googleapis.com/syzbot-assets/ef27ce1c74bb/disk-46637478.raw.xz > vmlinux: https://storage.googleapis.com/syzbot-assets/2962783b1956/vmlinux-46637478.xz > kernel image: https://storage.googleapis.com/syzbot-assets/faa841f27097/bzImage-46637478.xz > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+ca15a081ac6b8357d82c@syzkaller.appspotmail.com > > RBP: 00007ff5f3810b39 R08: 0000000000000000 R09: 0000000000000000 > R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 > R13: 0000000000000000 R14: 00007ff5f39b5fa0 R15: 00007ffd192cb478 > > ------------[ cut here ]------------ > WARNING: CPU: 1 PID: 6071 at kernel/fork.c:731 __put_task_struct+0x340/0x530 kernel/fork.c:731 It doesn't look MM related. Perhaps there's something wonky in the io_sq_offload_create() error path. > 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: > > 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 > > > > --- > This report is generated by a bot. It may contain errors. > See https://goo.gl/tpsmEJ for more information about syzbot. > syzbot engineers can be reached at syzkaller@googlegroups.com. > > syzbot will keep track of this issue. See: > https://goo.gl/tpsmEJ#status for how to communicate with syzbot. > > If the report is already addressed, let syzbot know by replying with: > #syz fix: exact-commit-title > > If you want syzbot to run the reproducer, reply with: > #syz test: git://repo/address.git branch-or-commit-hash > If you attach or paste a git patch, syzbot will apply it before testing. > > If you want to overwrite report's subsystems, reply with: > #syz set subsystems: new-subsystem > (See the list of subsystem names on the web dashboard) > > If the report is a duplicate of another one, reply with: > #syz dup: exact-subject-of-another-report > > If you want to undo deduplication, reply with: > #syz undup