Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp665002rdb; Mon, 29 Jan 2024 14:22:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IE5AYD/iWBVELMfVUjU1tv9DfMlZHHK4YUwYzRHCFcmQ3xKPgFbLoOkFQHm6RuamZP+/Up1 X-Received: by 2002:a17:906:e0cb:b0:a35:f7f4:7c44 with SMTP id gl11-20020a170906e0cb00b00a35f7f47c44mr1608560ejb.15.1706566952522; Mon, 29 Jan 2024 14:22:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706566952; cv=pass; d=google.com; s=arc-20160816; b=Wfinb4u5r+GRMQisVMe2wYfkmTJF9LHr6hohhx9V2Qej/L+pcmsSOzcPBOmPhPdD0C zE9Bd3PG3iHh9KcZopt+FMl75Q19GJo3K02y9rO/RYYAY9CtTLA6xA8zQX2ElRt1H2md /OKqeAcaH3XRpW0z93gFf6EnEfpRTFYnpAd2cpC/7HcwyLM2HwKtqgZp3brzdCqk/WC6 2PkRZbrwIGdkd7VHTVeGgjzQCv+h7DYBAnz0bRR6jp1taWlecKsv198xQxvY463qHCqs CMz12OvwVmNgkusd0T8dZcz12rFaNDORP/FzLO0d6vy8Wn9FSv6QRso5qPNcWp1hjf3S Dy/g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:message-id:in-reply-to:date:mime-version :list-unsubscribe:list-subscribe:list-id:precedence; bh=aNzeGQMIKxlx3j5CSSRHESXOGzLP4dOOTM8hqwvtTOE=; fh=uOxEfs73UXnpmsgYZepGR6OauibfyleDeycBITvBwXs=; b=M3oJ32+zz8X305JRbJLH9Omc7lifROzKsl54ei/q+0xHQzPfGziFAeIwS+utMghxBx FfBlUB8n2J2weeE0mlzCUUsawm3FrH6i3D4uwGvp3TMACnVrMB84BkiAfb4sSwfLfwkF aqhLkEB78Ugglhi/bfktyIApKSklzuQAXc+VAi7zLHe7Kv6gyOgd+UdGI9D/K9HJO37c DoekKQK/cUXRpurj0dpJhG01dmJioNGS0rTka5mfbgQZHIhy9Dj0CydG0pG3eHvqWLAf OU9FvK2bXtumr4xHDVDc66YQvWHXkIp8J76689uVYsjt+JZYBk1az9J/l9/Uq671WgkA 19+A== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-kernel+bounces-43565-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43565-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id c4-20020a509f84000000b0055efaddbf06si1459152edf.492.2024.01.29.14.22.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 14:22:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43565-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-kernel+bounces-43565-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43565-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 1A9ED1F24DC1 for ; Mon, 29 Jan 2024 22:22:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0564915AAA1; Mon, 29 Jan 2024 22:21:55 +0000 (UTC) Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) (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 5327315A486 for ; Mon, 29 Jan 2024 22:21:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.200 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706566914; cv=none; b=tlrjobEU7UFmqHszV2IsLR7hbf0m7b7xSlmfSVNb9VVHjZBsG+K0cJEZ93Ls9R4rhyMaTePf7C3+z9LTe5rN9sluIcjiBYi7P8nAGhw5z88XGtCARsfSIpki1IQW7KMLJLyr5jDUmxJJ802/VJPapI8QuOAH6DP2knsZro9+DYw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706566914; c=relaxed/simple; bh=oLz4ft6NDVhlxBOshy8i33An2i1tATyCAKzp2PWf8Ig=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=TXYRpZbx5XmrySYxtseJ8fRmsO2ABUJ5zB9yGpuVKOfVz8/4k4PUHzpsinUZ8FHJnPchCmlcspTM751+27h5Fj+wg4CGDXrJrPRynubYfJx0hCEmI7+f2C377JKOXZG47dYriJ4nfYlyCK91wxwVDYgvNrwHs3i+HzWf0mE6zT8= 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.200 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-f200.google.com with SMTP id e9e14a558f8ab-3637b5e1487so8949145ab.2 for ; Mon, 29 Jan 2024 14:21:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706566911; x=1707171711; 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=aNzeGQMIKxlx3j5CSSRHESXOGzLP4dOOTM8hqwvtTOE=; b=lyWymlwC8OZ5k058eTDrY72Kch3epqcNCLA5ejLMr7c2V5P2FHyjEEpaC98usipgRO uXDhimLld2mfxDjUEaNTDmx6bDvAPJ0Z566HygbRZcTnsRlEwkzEBKQtzwjtQaUEMWQj PD5ICP+/gZtGHjd4tiabDtvacfHk6p7Lc+MD585R0ejy9twDai7SpSvoo7tE8hFZHsnV sAdq0zSz2GZHLPSV1jWYAL9KXsT39cdwP6Er8Z9jIanN0xb1fWhPnqwlRbDVDkTicq0h WS8etIMN88N1rKNjXy6+o/B59ME4IU2TecMOQVraIDavnNm1K2oMFQZQMKHkXQEo8Xxq UpFA== X-Gm-Message-State: AOJu0YxP44Azlq3dJMa/63YkRt82k6WPJhGI/cVBMAVvaAQ6QBLyejFD e813K8RH2NB5Mg8la9wFxFqExi5Dp6kKa/lMCESjLX3hTbcq99wqbzyHSW8BCpx5dIAwG6GwoF6 +uDE0typK0VCfZshpl9ovKApcAg/16Pwsb6esZWoYpvapv+JIYCAtW9i1lQ== 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:12e3:b0:363:7aed:f073 with SMTP id l3-20020a056e0212e300b003637aedf073mr444456iln.0.1706566911554; Mon, 29 Jan 2024 14:21:51 -0800 (PST) Date: Mon, 29 Jan 2024 14:21:51 -0800 In-Reply-To: <000000000000cb5b07060bef7ac0@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000008c79ef06101d1226@google.com> Subject: Re: [syzbot] Re: [syzbot] [net?] WARNING in ip6_route_info_create From: syzbot To: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" For archival purposes, forwarding an incoming command email to linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com. *** Subject: Re: [syzbot] [net?] WARNING in ip6_route_info_create Author: sinquersw@gmail.com #syz test: git@github.com:ThinkerYzu/linux.git fix-gc-uaf On 12/7/23 10:17, syzbot wrote: > Hello, > > syzbot found the following issue on: > > HEAD commit: 5a08d0065a91 ipv6: add debug checks in fib6_info_release() > git tree: net-next > console+strace: https://syzkaller.appspot.com/x/log.txt?x=175698dae80000 > kernel config: https://syzkaller.appspot.com/x/.config?x=f8715b6ede5c4b90 > dashboard link: https://syzkaller.appspot.com/bug?extid=c15aa445274af8674f41 > 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=16070374e80000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=145e1574e80000 > > Downloadable assets: > disk image: https://storage.googleapis.com/syzbot-assets/12a59d7df47f/disk-5a08d006.raw.xz > vmlinux: https://storage.googleapis.com/syzbot-assets/14f0ca0a861e/vmlinux-5a08d006.xz > kernel image: https://storage.googleapis.com/syzbot-assets/ae9306decbe5/bzImage-5a08d006.xz > > The issue was bisected to: > > commit 5a08d0065a915ccf325563d7ca57fa8b4897881c > Author: Eric Dumazet > Date: Tue Dec 5 17:32:50 2023 +0000 > > ipv6: add debug checks in fib6_info_release() > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1137437ae80000 > final oops: https://syzkaller.appspot.com/x/report.txt?x=1337437ae80000 > console output: https://syzkaller.appspot.com/x/log.txt?x=1537437ae80000 > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+c15aa445274af8674f41@syzkaller.appspotmail.com > Fixes: 5a08d0065a91 ("ipv6: add debug checks in fib6_info_release()") > > ------------[ cut here ]------------ > WARNING: CPU: 0 PID: 5062 at include/net/ip6_fib.h:332 fib6_info_release include/net/ip6_fib.h:332 [inline] > WARNING: CPU: 0 PID: 5062 at include/net/ip6_fib.h:332 ip6_route_info_create+0x1a1a/0x1f10 net/ipv6/route.c:3829 > Modules linked in: > CPU: 0 PID: 5062 Comm: syz-executor399 Not tainted 6.7.0-rc3-syzkaller-00805-g5a08d0065a91 #0 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 > RIP: 0010:fib6_info_release include/net/ip6_fib.h:332 [inline] > RIP: 0010:ip6_route_info_create+0x1a1a/0x1f10 net/ipv6/route.c:3829 > Code: 49 83 7f 40 00 75 28 e8 04 ae 50 f8 49 8d bf a0 00 00 00 48 c7 c6 c0 ae 37 89 e8 41 2c 3a f8 e9 65 f4 ff ff e8 e7 ad 50 f8 90 <0f> 0b 90 eb ad e8 dc ad 50 f8 90 0f 0b 90 eb cd e8 d1 ad 50 f8 e8 > RSP: 0018:ffffc900039cf8e0 EFLAGS: 00010293 > RAX: 0000000000000000 RBX: 0000000000400000 RCX: ffffffff8936e418 > RDX: ffff888014695940 RSI: ffffffff8936e469 RDI: 0000000000000005 > RBP: ffffc900039cf9d0 R08: 0000000000000005 R09: 0000000000000000 > R10: 0000000000400000 R11: ffffffff8aa0008b R12: ffffffffffffffed > R13: ffff88802560682c R14: ffffc900039cfac4 R15: ffff888025606800 > FS: 00005555567bb380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > CR2: 00000000200001c2 CR3: 00000000793d5000 CR4: 00000000003506f0 > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 > Call Trace: > > ip6_route_add+0x26/0x1f0 net/ipv6/route.c:3843 > ipv6_route_ioctl+0x3ff/0x590 net/ipv6/route.c:4467 > inet6_ioctl+0x265/0x2b0 net/ipv6/af_inet6.c:575 > sock_do_ioctl+0x113/0x270 net/socket.c:1220 > sock_ioctl+0x22e/0x6b0 net/socket.c:1339 > vfs_ioctl fs/ioctl.c:51 [inline] > __do_sys_ioctl fs/ioctl.c:871 [inline] > __se_sys_ioctl fs/ioctl.c:857 [inline] > __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857 > do_syscall_x64 arch/x86/entry/common.c:51 [inline] > do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82 > entry_SYSCALL_64_after_hwframe+0x63/0x6b > RIP: 0033:0x7f73fa33f369 > Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 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 b8 ff ff ff f7 d8 64 89 01 48 > RSP: 002b:00007ffce78f30b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 > RAX: ffffffffffffffda RBX: 00007ffce78f3288 RCX: 00007f73fa33f369 > RDX: 00000000200001c0 RSI: 000000000000890b RDI: 0000000000000003 > RBP: 00007f73fa3b2610 R08: 0000000000000000 R09: 00007ffce78f3288 > R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 > R13: 00007ffce78f3278 R14: 0000000000000001 R15: 0000000000000001 > > > > --- > 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. > For information about bisection process see: https://goo.gl/tpsmEJ#bisection > > 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 >