From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.210.69 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792628982; b=Hc5JyKqh1hGadYmLowFN3aK2DdzstwJ5n19gjX3vpBJsCM/Tm4ExNgwSA1BSyEYmdInJ WnmqJJB45aPEy3jDeWiU3N5+zSyDoSmlGzAjHHdfon3fyCSnHXNPpJ+KNX7DYZPmeANQu U7UeKuAhl6P5GeL2WcKXmgV2P6Jkx7YadUFz1in19UYdVoGHguRLGUBVfHrBXXXt6NUmC b0SB9whYFw6vCxUYbFg3kjRb+mrglo88hk2WHwPZHpmEqSMG1poYGdOmrC3c/DgKnwgT6 smymMmhuNQ51oB1Zn6AdRFumpf/CcTfiTHX1MeVtwbQ8rUcSqXyuHYN3XFn2Fctaerg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792628982; h=DMARC-Filter:Received:X-Google-DKIM-Signature:X-Gm-Message-State: MIME-Version:X-Received:Date:X-Google-Appengine-App-Id: X-Google-Appengine-App-Id-Alias:Message-ID:Subject:From:To: Content-Type; bh=k+7y4srSR5D7DmxodHvkZk+id2Qqh2iBWb7qay4dOfk=; b=relTMoUTDJ04CmsJx4qVt2J45VGXcnfCfK37doY9HHfR1re9DY16rRZd3EUchmWkuLbI L9xzl80xLmy5K4LWATjZefB+r0zPcHkvix25u81mkacI4uQ1mtH3FQjLjJOdWL7zvNpZg VnPTm+BNWD2Pklt69PADiealJ6nANCAykw+D6LED/Do6RTn3akQDPv2eZTA0ckVr15SZF GCH8yj+dKPQTrQ+1xwz5mhuP5dWY+eZUlF+hV3PQGR0bB57w7l5tbzpagfO3p5AXc84zA 4wmaUU/+yFYiA+zw0qjvo47ivuUjIHWfXmjqENdZbzuRsaQ+2hwGRyDmwfOWXJUKbKw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=fail header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.remote-ip=209.85.210.69 Received: from mail-ot1-f69.google.com (mail-ot1-f69.google.com [209.85.210.69]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 57288606A31F for ; Thu, 22 Oct 2026 00:29:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 57288606A31F Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-ot1-f69.google.com with SMTP id 46e09a7af769-81b50ab16edso1725477a34.3 for ; Wed, 21 Oct 2026 17:29:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792628981; x=1793233781; h=content-type:to:from:subject:message-id:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=k+7y4srSR5D7DmxodHvkZk+id2Qqh2iBWb7qay4dOfk=; b=tBScl1LUkih0lMcwkBn+t/ID1TkXDYbD2B2cObYqGWZZ4g6Nbvg6EwBlGxgDncKUE8 4wG5A4mZtS3ACep8kjLSDcbg8Dbhgp6Zh9hyIw8QOj1NSK9Gh9OnyAmjipfsmEk82sE7 FKXu6wmug7UEndkx3JlOeSLBuCxgPPXyVAazjSp0Ku1ISO9wRi2szj9BpmJUF3ETLHWK 9WgaXDsTxOerAzZiAU3TJt65L8FynqKvc/OW1YlYzEy4Qe89CpXlUNObdH9lH8/YQvzm 3gskCH7K1Yh7NdOroUhUDdNwqU4IL2QpXEQ89J9h3IyY8TKWIPJKX6Hc1uGv53mvsf5K +fPA== X-Gm-Message-State: AFq9FYJcnQwM1lFMr2Z5pvjY//JHkwAmGag0kSCqHusyqGESr4JPETtE J+eVt/AGsiRLhMtfKrHgi+mL3XwpGtBWJlJmBeywiKYzxtqk+OrG8UnUXc/ozo3/uuXtvqLF08l ip5aiWRdKKYTPGGgkNTHnWElnF3YAP7OJA8Q7byJhX/id0SZC8K2jUR+qLco= X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Received: by 2002:a05:6808:152a:b0:495:feaa:9e3b with SMTP id 5614622812f47-5534f045a50mr2187260b6e.7.1792628981209; Wed, 21 Oct 2026 17:29:41 -0700 (PDT) Date: Wed, 21 Oct 2026 17:29:41 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6ad958f5.16f08417.1cb7b7.0001.GAE@google.com> Subject: [syzbot] [media?] [usb?] kernel BUG in v4l2_device_put From: syzbot To: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-usb@vger.kernel.org, mchehab@kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: 8f7df005a756 Add linux-next specific files for 20261020 git tree: linux-next console+strace: https://syzkaller.appspot.com/x/log.txt?x=1061bb05580000 kernel config: https://syzkaller.appspot.com/x/.config?x=9c1b9b13e3e4ce1a dashboard link: https://syzkaller.appspot.com/bug?extid=809dfc586f33fc44b6ac compiler: Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1104258e580000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=176a5481580000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/4ecf38da9706/disk-8f7df005.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/feab027e2efe/vmlinux-8f7df005.xz kernel image: https://storage.googleapis.com/syzbot-assets/ded91a573e5a/bzImage-8f7df005.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+809dfc586f33fc44b6ac@syzkaller.appspotmail.com refcount_t: underflow; use-after-free. ------------[ cut here ]------------ kernel BUG at lib/refcount.c:37! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 7562 Comm: v4l_id Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 RIP: 0010:refcount_warn_saturate+0x104/0x110 lib/refcount.c:37 Code: 5d ff ff ff e8 4d c1 d1 fc 48 c7 c7 00 e3 8d 8c e8 61 69 30 fc 90 0f 0b e8 39 c1 d1 fc 48 c7 c7 80 e3 8d 8c e8 4d 69 30 fc 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc900065b7cc0 EFLAGS: 00010246 RAX: 0000000000000026 RBX: 0000000000000003 RCX: 86d7792bd9d84300 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff90033f40 RBP: 0000000000000000 R08: ffffffff81a6b7f0 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff237c1d8 R12: 1ffffffff1973318 R13: dffffc0000000000 R14: ffff88807cc000b0 R15: ffffffff882fcb70 FS: 00007f2b1fb76880(0000) GS:ffff8881234da000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055aef7b1964d CR3: 0000000075e40000 CR4: 00000000003526f0 Call Trace: __refcount_sub_and_test include/linux/refcount.h:400 [inline] __refcount_dec_and_test include/linux/refcount.h:432 [inline] refcount_dec_and_test include/linux/refcount.h:450 [inline] kref_put include/linux/kref.h:64 [inline] v4l2_device_put+0xc2/0xd0 drivers/media/v4l2-core/v4l2-device.c:56 device_release+0xc4/0x1f0 drivers/base/core.c:-1 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x222/0x550 lib/kobject.c:737 video_put drivers/media/v4l2-core/v4l2-dev.c:173 [inline] v4l2_release+0x273/0x350 drivers/media/v4l2-core/v4l2-dev.c:480 __fput+0x408/0xa40 fs/file_table.c:513 fput_close_sync+0x11f/0x240 fs/file_table.c:619 filp_close_sync fs/open.c:1897 [inline] __do_sys_close fs/open.c:2153 [inline] __se_sys_close+0xa2/0x160 fs/open.c:2140 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2b1f4a7407 Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007fffdbbfc440 EFLAGS: 00000202 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 00007f2b1fb76880 RCX: 00007f2b1f4a7407 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007f2b1fb766e8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000013 R13: 00007fffdbbfc670 R14: 00007f2b1fcdd000 R15: 000055aef7b1d4d8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:refcount_warn_saturate+0x104/0x110 lib/refcount.c:37 Code: 5d ff ff ff e8 4d c1 d1 fc 48 c7 c7 00 e3 8d 8c e8 61 69 30 fc 90 0f 0b e8 39 c1 d1 fc 48 c7 c7 80 e3 8d 8c e8 4d 69 30 fc 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc900065b7cc0 EFLAGS: 00010246 RAX: 0000000000000026 RBX: 0000000000000003 RCX: 86d7792bd9d84300 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff90033f40 RBP: 0000000000000000 R08: ffffffff81a6b7f0 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff237c1d8 R12: 1ffffffff1973318 R13: dffffc0000000000 R14: ffff88807cc000b0 R15: ffffffff882fcb70 FS: 00007f2b1fb76880(0000) GS:ffff8881234da000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055aef7b1964d CR3: 0000000075e40000 CR4: 00000000003526f0 --- 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