From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) (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 C35498F4A for ; Sun, 19 Jan 2025 00:32:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737246725; cv=none; b=MfbX6Ng058OOok89lC+4a/X3oAXMxohjxY9ADwgUJ75HxvW7YmXzfq2/WC9JdPf0OcSLZUQ5GmVEutTXQFNnSPw59+oG7aU+WUosquCnQesBh3+PVAXSRYKYnrOwJxm+s6k6S3cAoaCzVgJKJhDAUps40mdgr9+Bs1zmMfwxmOk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737246725; c=relaxed/simple; bh=b/tkf4rwQ2k5r2Xf1xKCmQTuhFfiI82zjOR8WyFciRo=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=V1QcyWXtPtc8eB0cr+HYC2gGDL2SXQI8+YWg6Z8kQHsKBgc7wJW5vaf7oWXNoog2VFiFI7DO/NobshKtSS3dF6tInF2kthd744H6BblAtzGeZKRkZHV+rW1xPDElWK9rMVWuQPG3qMVTZyU5LQYRj6z9hbi2p+63ReO4t5tP5Rc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.197 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-il1-f197.google.com with SMTP id e9e14a558f8ab-3ce8868a7a5so24872845ab.1 for ; Sat, 18 Jan 2025 16:32:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737246723; x=1737851523; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=OACoxoNEK3u9gIIvOuwMxdWIDl0uleaF95RoEf/Rz0A=; b=WSteC0HkhljEWlWjrk3DyR8Uqa1Nqr/DvSRLOatW7yK1YHkBqWcr63LwN5oP86iZdb QascTreW5cHa6mo6ZdUy8ZxE1Rf6XB1dg9IcRL9e+OmXlbqmrOmKRUFqR1esoRly6GrJ 9EQvcRL9cnTXoF29Cq7knob4uhZLX1mGVWBqKK8VxMomn8jH+b13RTnYpWfJ46NWGq7m oyjnfaQiGOpO5KCu6GayIq5BGi3XuwYjUU+R+xhchpaGbGbmdAQJWZKbc9UH5woW7/XM ZdVHbx8eU0NWArEuOA4p72gSzPm/WKlW+ckmcujCAWkFXg3/BDw4W7EpZ3lOpbfAM5KA EazQ== X-Forwarded-Encrypted: i=1; AJvYcCWm8sqxsajtFaMI5iGKdRwyzsOBzs9pPhNm/RpLHAsMvKpsFL3sv/MDF/gLkMPaoIRpdhaFbHk8Lz4K4Cg=@vger.kernel.org X-Gm-Message-State: AOJu0Yx1GcS+1UBw3Y/ndzgkDaHeQ+bMJ+qNmvdgeFfgPAVoWPvZzWHp 7lqfpDGZhUe3GOf8w5wSwzJw8CkjR5PVO5pnfTF71lRcNRVj/BZoQnUbzWv0YS+jv+udUgZCf9C r3aN32dliSyoYyv6IkiH1JNKRJdJXoGe+n+7OxVz+jTli+E70n2XQtQk= X-Google-Smtp-Source: AGHT+IF6Mpy58/Z+anfa2vscADHBk4jZibcFELI/9wmQzTJa7ccw1krXhS5dNuY88zsYoCQEtKKN+lef2WJqYSZ7d/YxwD9OTQXC Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:8e:b0:3ce:7b33:8c3b with SMTP id e9e14a558f8ab-3cf747e2027mr61250335ab.5.1737246722784; Sat, 18 Jan 2025 16:32:02 -0800 (PST) Date: Sat, 18 Jan 2025 16:32:02 -0800 In-Reply-To: <20250119001505.2004-1-hdanton@sina.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <678c4802.050a0220.303755.0039.GAE@google.com> Subject: Re: [syzbot] [media?] KASAN: slab-use-after-free Read in dvb_device_open From: syzbot To: hdanton@sina.com, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: WARNING in dvb_device_open ------------[ cut here ]------------ open dvb_frontend_open+0x0/0x1750 drivers/media/dvb-core/dvb_frontend.c:2428 WARNING: CPU: 0 PID: 6885 at drivers/media/dvb-core/dvbdev.c:113 dvb_device_open+0x2f7/0x420 drivers/media/dvb-core/dvbdev.c:113 Modules linked in: CPU: 0 UID: 0 PID: 6885 Comm: syz.3.32 Not tainted 6.13.0-rc7-syzkaller-gfda5e3f28400-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 RIP: 0010:dvb_device_open+0x2f7/0x420 drivers/media/dvb-core/dvbdev.c:113 Code: 24 50 49 8d 7c 24 68 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 31 01 00 00 49 8b 74 24 68 48 c7 c7 60 aa 2f 8c e8 4a ea d3 f9 90 <0f> 0b 90 90 48 89 ef e8 9d e8 ff ff e8 48 22 13 fa 89 d8 5b 5d 41 RSP: 0018:ffffc90003357920 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 00000000fffffff0 RCX: ffffffff815a17c9 RDX: ffff88802ffdda00 RSI: ffffffff815a17d6 RDI: 0000000000000001 RBP: ffff888143aec000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff88802982f400 R13: ffff88802982f400 R14: ffff88802a198808 R15: ffff8880331aa910 FS: 00007f35dfb9e6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000000 CR3: 00000000329e2000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: chrdev_open+0x237/0x6a0 fs/char_dev.c:414 do_dentry_open+0xf59/0x1ea0 fs/open.c:945 vfs_open+0x82/0x3f0 fs/open.c:1075 do_open fs/namei.c:3828 [inline] path_openat+0x1e6a/0x2d60 fs/namei.c:3987 do_filp_open+0x20c/0x470 fs/namei.c:4014 do_sys_openat2+0x17a/0x1e0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_openat fs/open.c:1433 [inline] __se_sys_openat fs/open.c:1428 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1428 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f35ded85d29 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:00007f35dfb9e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f35def75fa0 RCX: 00007f35ded85d29 RDX: 0000000000000001 RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f35dee01b08 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f35def75fa0 R15: 00007ffc3f7cc208 Tested on: commit: fda5e3f2 Merge tag 'trace-v6.13-rc7-2' of git://git.ke.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12d2fa18580000 kernel config: https://syzkaller.appspot.com/x/.config?x=f5e182416a4b418f dashboard link: https://syzkaller.appspot.com/bug?extid=1eb177ecc3943b883f0a compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 patch: https://syzkaller.appspot.com/x/patch.diff?x=15a962b0580000