From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oa1-f46.google.com (mail-oa1-f46.google.com [209.85.160.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5739633893D for ; Tue, 10 Feb 2026 22:16:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770761800; cv=none; b=nYaifwrPB9gZ3qRyQJYuts5BZizjpMujNQ8+d91SjH5JXj40HTSfEvVVzSpgTENJnylhizATFsrPsGQ86uWbg1Woew3wh8j/w7vEdpTqR5eIWys1rewiOKPHA5Af48cInXCPW7JAykA+zgan3Y2KgCSZGAgFbLEGL51QTnIbCbA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770761800; c=relaxed/simple; bh=arw6Nuc9kf4Vz9fHiBQcxdW7jUIAvtcnvn0iBDX2MxA=; h=Message-ID:Date:MIME-Version:Subject:From:To:References: In-Reply-To:Content-Type; b=p+2HGZw4KjleC33yIlK1M6VsQrNcJLCo3RAgnv3jOZwIf0JJPvDwGyYt1A3TXw0e52nOAX/cyqLFAJQFNufw2/yPQZeIMEU6YvmAttCIaSOd5ky9AuxpBHol+jX3EzIsCiq2HWdrLwwaOP0/rL0vUhluPIWH00qiLHt1CwZtqKg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=ufecKYOZ; arc=none smtp.client-ip=209.85.160.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="ufecKYOZ" Received: by mail-oa1-f46.google.com with SMTP id 586e51a60fabf-409521ba360so844148fac.2 for ; Tue, 10 Feb 2026 14:16:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1770761796; x=1771366596; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :to:from:subject:user-agent:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=dGJTRAiyx9i6FHOXgtn9SlU8OyYrR+6ZfugCqvroC5k=; b=ufecKYOZtTi4bEKoJ2KQzDXmDq+l4vvOIYklBLOVfqlFvR5CFkAKSnRrJKGwLCoA4H 8vFs1ZF9Vv4KffNSJoBXfEH4lCV7u3TAbxNLKDG+fICwRd3KyIBItWaNk5cn9PjexCi8 AvYYG3h04zLpQar1pVlszbpoO3WLkbERmaK/cLTj2CQd0z4jVenhEWZ6eezIg8o2iMLu oH+DYy/dWztuNL2JlD81E1eZLye7y8kfb9QMdiAIvHMRsYAJALtdJzwYp/lhq4SjjlQh CkqgSR3gnYFhO19ste6lVMQQbAv4Ru1TVz4M8q6Mv5FA+7rvAJOnnmsC7Jph5vVF5Qdx rL1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770761796; x=1771366596; h=content-transfer-encoding:in-reply-to:content-language:references :to:from:subject:user-agent:mime-version:date:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dGJTRAiyx9i6FHOXgtn9SlU8OyYrR+6ZfugCqvroC5k=; b=QxY16eJ7p1QB3bqY8iDcFz6swAthx+AWZnsQsyb0MU1jHbsDvRld3EqlPQyuvIwYpm nKpVuYX16EMrqUd/FakqsuHbESMsa4z/7qDiqSqCYP2X+rjrZcxkWR8pIx5n7EazuQzQ MH/mX4W7d/gI/XH4tFhc84YHQQbtJcfKDWOc3nmQzm0TTwkBhgQazX2CQNfwddqUWVHo /6wJjLIJ7NhbRYXE5EcGixhqo41jRMNzgYw2/aP2gqo67rsVUwOCAebloMDIDLEuMkQN 8/54hx3nTEY0MBNFASnUMWH/PdTzM37FBpvZ5KKy8/AsioH6kgMuqFWUEwWaDtYFCpke iYog== X-Forwarded-Encrypted: i=1; AJvYcCVNBkEoKvqv1BGtELeRpEXiuyKadMjwD3+kD07MfPK26zJuG0Qw9nTuUeVV0X1g0a2OwdY4Ki5h8A==@vger.kernel.org X-Gm-Message-State: AOJu0YwG38duphdjbtgSIVVcU0ONAvIzChTR7AhRXdePbuuv4WoeCJ17 hi8xeBAhon/LHsyqb+1nbGZuXm+31rWkFfVQPUSFRWCmH24/VG26BKr2OWwv9Nn/bHQ= X-Gm-Gg: AZuq6aKOiImZ5gbT2pe7RANBszartAQSnlNHS16fNuejzRDJnqzi4S6RJY7uo7Cv2Ty uPyTbSzeYeAWn+gWJTqiWIRXlFFOT1nrM5SNJGsFcGSTJ+7lTDMbenf5KzX7cyjUc6dKpVZNku+ d1dtELQZD1Udb62mrUpSUUu/Ye+oa9Ms4P3Id+WBoARK4BiNMfGQLErYwh5rdnFOB4f7RrMBQl/ Hb9MbYJ3I0RNjF7Ta4K97E68Snuj+waCvegQmFPzn8y62bw9E3EWSYLRYG6egjdhW5kaPbXhOEj hWfWKciE1Fcl2QpASPRlQxWhzZ1N0vmLkP0aBqbm4RoQLXxpVKEXqskDuzTM4FEzRzpflr/ckpz VIXcn0go4bOuqX3JUHWYF9gWavuNt/0WvTOr3H9rM8fTmWIHR0eutv5ZbV6wjc5zHqAWRSdd1tl S0WlDXLexBMcn5OXpinCt4bbeOabLd5T73Miixe1l/gUGsrXu6wAni5qj+CdEhq0Nr4sxpV0z4c pObLknq X-Received: by 2002:a05:6870:b2d1:b0:403:fcfa:4c6c with SMTP id 586e51a60fabf-40a96c94990mr7664326fac.18.1770761796197; Tue, 10 Feb 2026 14:16:36 -0800 (PST) Received: from [192.168.1.102] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-40eacec86cfsm125639fac.9.2026.02.10.14.16.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Feb 2026 14:16:35 -0800 (PST) Message-ID: Date: Tue, 10 Feb 2026 15:16:34 -0700 Precedence: bulk X-Mailing-List: io-uring@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [syzbot] [io-uring?] BUG: corrupted list in io_poll_remove_entries From: Jens Axboe To: syzbot , io-uring@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, Mauro Carvalho Chehab , linux-media@vger.kernel.org References: <698a26d3.050a0220.3b3015.007d.GAE@google.com> <23112bc4-a498-4089-a225-1440c2151ce2@kernel.dk> Content-Language: en-US In-Reply-To: <23112bc4-a498-4089-a225-1440c2151ce2@kernel.dk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2/9/26 1:18 PM, Jens Axboe wrote: > On 2/9/26 11:26 AM, syzbot wrote: >> Hello, >> >> syzbot found the following issue on: >> >> HEAD commit: e7aa57247700 Merge tag 'spi-fix-v6.19-rc8' of git://git.ke.. >> git tree: upstream >> console output: https://syzkaller.appspot.com/x/log.txt?x=14d3b65a580000 >> kernel config: https://syzkaller.appspot.com/x/.config?x=f1fac0919970b671 >> dashboard link: https://syzkaller.appspot.com/bug?extid=ab12f0c08dd7ab8d057c >> compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44 >> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1222965a580000 >> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=140e833a580000 >> >> Downloadable assets: >> disk image: https://storage.googleapis.com/syzbot-assets/c46beb4ff3a5/disk-e7aa5724.raw.xz >> vmlinux: https://storage.googleapis.com/syzbot-assets/d162bcaaf9b9/vmlinux-e7aa5724.xz >> kernel image: https://storage.googleapis.com/syzbot-assets/54b0844b8ea7/bzImage-e7aa5724.xz >> >> IMPORTANT: if you fix the issue, please add the following tag to the commit: >> Reported-by: syzbot+ab12f0c08dd7ab8d057c@syzkaller.appspotmail.com >> >> list_del corruption. prev->next should be ffff88807dc6c3f0, but was ffff888146b205c8. (prev=ffff888146b205c8) >> ------------[ cut here ]------------ >> kernel BUG at lib/list_debug.c:62! >> Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI >> CPU: 0 UID: 0 PID: 5969 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) >> Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026 >> RIP: 0010:__list_del_entry_valid_or_report+0x14a/0x1d0 lib/list_debug.c:62 >> Code: 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 8d 00 00 00 48 8b 55 00 48 89 e9 48 89 de 48 c7 c7 40 3d fa 8b e8 37 b0 32 fc 90 <0f> 0b 4c 89 e7 e8 3c 24 5d fd 48 89 ea 48 b8 00 00 00 00 00 fc ff >> RSP: 0018:ffffc90003bffaa8 EFLAGS: 00010082 >> RAX: 000000000000006d RBX: ffff88807dc6c3f0 RCX: 0000000000000000 >> RDX: 000000000000006d RSI: ffffffff81e5d6c9 RDI: fffff5200077ff46 >> RBP: ffff888146b205c8 R08: 0000000000000005 R09: 0000000000000000 >> R10: 0000000080000001 R11: 0000000000000000 R12: ffff88807dc6c2b0 >> R13: ffff88807dc6c408 R14: ffff88807dc6c3f0 R15: ffff88807dc6c3c8 >> FS: 0000000000000000(0000) GS:ffff8881245d9000(0000) knlGS:0000000000000000 >> CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 >> CR2: 00007f60e56708c0 CR3: 000000006b065000 CR4: 00000000003526f0 >> Call Trace: >> >> __list_del_entry_valid include/linux/list.h:132 [inline] >> __list_del_entry include/linux/list.h:223 [inline] >> list_del_init include/linux/list.h:295 [inline] >> io_poll_remove_waitq io_uring/poll.c:149 [inline] >> io_poll_remove_entry io_uring/poll.c:166 [inline] >> io_poll_remove_entries.part.0+0x156/0x7e0 io_uring/poll.c:197 >> io_poll_remove_entries io_uring/poll.c:177 [inline] >> io_poll_task_func+0x39e/0xe30 io_uring/poll.c:343 >> io_handle_tw_list+0x194/0x580 io_uring/io_uring.c:1122 >> tctx_task_work_run+0x57/0x2b0 io_uring/io_uring.c:1182 >> tctx_task_work+0x7a/0xd0 io_uring/io_uring.c:1200 >> task_work_run+0x150/0x240 kernel/task_work.c:233 >> exit_task_work include/linux/task_work.h:40 [inline] >> do_exit+0x829/0x2a30 kernel/exit.c:971 >> do_group_exit+0xd5/0x2a0 kernel/exit.c:1112 >> __do_sys_exit_group kernel/exit.c:1123 [inline] >> __se_sys_exit_group kernel/exit.c:1121 [inline] >> __x64_sys_exit_group+0x3e/0x50 kernel/exit.c:1121 >> x64_sys_call+0x14fd/0x1510 arch/x86/include/generated/asm/syscalls_64.h:232 >> do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] >> do_syscall_64+0xc9/0xf80 arch/x86/entry/syscall_64.c:94 >> entry_SYSCALL_64_after_hwframe+0x77/0x7f >> RIP: 0033:0x7f60e579aeb9 >> Code: Unable to access opcode bytes at 0x7f60e579ae8f. >> RSP: 002b:00007ffc2d47ddf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 >> RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f60e579aeb9 >> RDX: 0000000000000064 RSI: 0000000000000000 RDI: 0000000000000000 >> RBP: 0000000000000003 R08: 0000000000000000 R09: 00007f60e59e1280 >> R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 >> R13: 00007f60e59e1280 R14: 0000000000000003 R15: 00007ffc2d47deb0 >> >> Modules linked in: >> ---[ end trace 0000000000000000 ]--- >> RIP: 0010:__list_del_entry_valid_or_report+0x14a/0x1d0 lib/list_debug.c:62 >> Code: 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 8d 00 00 00 48 8b 55 00 48 89 e9 48 89 de 48 c7 c7 40 3d fa 8b e8 37 b0 32 fc 90 <0f> 0b 4c 89 e7 e8 3c 24 5d fd 48 89 ea 48 b8 00 00 00 00 00 fc ff >> RSP: 0018:ffffc90003bffaa8 EFLAGS: 00010082 >> RAX: 000000000000006d RBX: ffff88807dc6c3f0 RCX: 0000000000000000 >> RDX: 000000000000006d RSI: ffffffff81e5d6c9 RDI: fffff5200077ff46 >> RBP: ffff888146b205c8 R08: 0000000000000005 R09: 0000000000000000 >> R10: 0000000080000001 R11: 0000000000000000 R12: ffff88807dc6c2b0 >> R13: ffff88807dc6c408 R14: ffff88807dc6c3f0 R15: ffff88807dc6c3c8 >> FS: 0000000000000000(0000) GS:ffff8881245d9000(0000) knlGS:0000000000000000 >> CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 >> CR2: 00007f60e56708c0 CR3: 000000006b065000 CR4: 00000000003526f0 > > #syz test > > diff --git a/drivers/media/dvb-core/dmxdev.c b/drivers/media/dvb-core/dmxdev.c > index 8c6f5aafda1d..5cb46109d1ff 100644 > --- a/drivers/media/dvb-core/dmxdev.c > +++ b/drivers/media/dvb-core/dmxdev.c > @@ -168,7 +168,9 @@ static int dvb_dvr_open(struct inode *inode, struct file *file) > mutex_unlock(&dmxdev->mutex); > return -ENOMEM; > } > - dvb_ringbuffer_init(&dmxdev->dvr_buffer, mem, DVR_BUFFER_SIZE); > + dmxdev->dvr_buffer.data = mem; > + dmxdev->dvr_buffer.size = DVR_BUFFER_SIZE; > + dvb_ringbuffer_reset(&dmxdev->dvr_buffer); > if (dmxdev->may_do_mmap) > dvb_vb2_init(&dmxdev->dvr_vb2_ctx, "dvr", > file->f_flags & O_NONBLOCK); > Mauro and other maintainers, this is literally the same issue as one reported last year: https://lore.kernel.org/linux-media/20250407091619.11250-1-superman.xpt@gmail.com/ and I'm honestly a bit surprised that nobody has dealt with this, it's 10 months ago. And syzbot is still hitting it, literally crashing the box. Hmm? -- Jens Axboe