Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp654368rdb; Mon, 29 Jan 2024 14:00:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IEjMp1I53ZUv6S8jeREB2VhMb1P6hxQz//wKkk6OIWUiP88WGCFD92cSMuNuPz1Hvsx4gKX X-Received: by 2002:a17:90a:bc85:b0:294:855b:633b with SMTP id x5-20020a17090abc8500b00294855b633bmr4444036pjr.32.1706565602003; Mon, 29 Jan 2024 14:00:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706565601; cv=pass; d=google.com; s=arc-20160816; b=dG3PfOL1KF/bZfHZXeFlXxh33KuTiEX6/Gd7EtNoRBxlHL5V/OZdCkFUb9JpmGEIpp j3+OaneKzm13K6u/vS/LIa+vVQ/+NrdP5td3TTuMlJzi4M3pppT6kTUUu+4Q1bvIEMxe hSOR+nDg5tnQRy8fTVupQ/qIoa5g9s5wdPIBSO1b9NrFuEsHxdBXlXXmvGk5EPTlxQ/N CzKhmrvsv7Os17sv4oOnAU1q1egW+lyrTD0ybKaFE+L3lPoSIvwhuqJwWkmr9mYmE58n Btn8rlOoHNEg2y+vvnvH7uS2xmSaiYLBTkwGTIWa9irqtDoMFpYMcpN/KsWJzpzpkhHM imSQ== 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=tShzT6SQFgDKPLQBcTAHqt/rldCMmUMmWl4OaxjrjE2vl7SSqClyw5sqJBz/iq6yi3 ru6EB/Pahq3DYSZQu187Xm2IMJzb4emCiQV48+rLT5VqqT+AzTWMJCOzXPZUozh/jnHA tjksGLBOTDfasWCiT5cNiZbJueEgmcb38UxFjNnykaXVD2Rqx8IGA6m5IbNWO4YIL13J SWRWW+1yhXouGF/qF9l5b2/TKrkJwHHl994AaU5v3Qt/OMc90UwwOJBGyMd37kGMuHnx tPnsI+7eh1brrHyHK04Ajx/8dm5tg3CMaoUuwhz1EdKduJBtbd//UgVjPZBxrwOSNXOO Ab0Q== 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-43542-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43542-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id z9-20020a17090ab10900b002909c748412si8335864pjq.128.2024.01.29.14.00.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 14:00:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43542-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; 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-43542-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43542-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8F1D2284823 for ; Mon, 29 Jan 2024 22:00:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5CD54159568; Mon, 29 Jan 2024 21:59:54 +0000 (UTC) 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 3778D158D68 for ; Mon, 29 Jan 2024 21:59:51 +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=1706565593; cv=none; b=t2b2AzZ8r2rm3A9OlEwnOppIUJujwy8ynrUAa1/FfEB0Z4dUCWHhyC+PjyEiwxOFSA6CIucS+9mwgXFbG+9aJ2m+qaLoOMWhMCWK85qgX/3d1H0ACrzJo5UhRxMV9T4vuKu6uis5aa8pFustlxW3VE3KMOhUJtOLvj4wrd6md2o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706565593; c=relaxed/simple; bh=oLz4ft6NDVhlxBOshy8i33An2i1tATyCAKzp2PWf8Ig=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=Bm0iG18Y6SmIwsI9mssRwbbWLhmqbUVAofwSHu/PWMdYOXcDX+MZqTnzB9VrSq5sObbLmENFryjlcEESjxOQ/JHW4W2fN/vssRLDaxQP8BbGGEaYN67AEGKZZ+uqZSjkcjQ+a9dt+saQ4bUoanFCKQ7nqnxGaK91pOmJGf7+c00= 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-3637ee33669so9294785ab.0 for ; Mon, 29 Jan 2024 13:59:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706565591; x=1707170391; 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=aaV2psAPAj97gnLfJjjfEAXaN8KGeNy7hiS+/UM2mSNlDwWrs3MoYMRZlAUov1GoAW NYi0tVoMYIbj/1czS8j2a/REXa04NdWGwwKfWLQljdeVwdOeA3aEG2C0PJsd4/9esD95 sFCgQbP9dSr78KB2hnSYfvdgn4mz81Rhn9QNmyyL86f2SZC/b8ugfEA9LtOW3GGBd6dv pOmD9+luyxqL8293scf/8/RE0X29A/9K5v0mnL28qLaFlnGdMHfIifrSrh75fMg7cAgJ XPB9bLklzxx1tIXWeMZzJLDTcCI/yI0bmr1V1ebVOJeqfi3B8N4ytA4nno5M2m3R+2Mi nYqA== X-Gm-Message-State: AOJu0YwamntgAHBrc62yNEM9bky40R2oO81VGCDn00ynFqQfqpLm6WnA JHnA1Vqw4O4AmTc3zXfHiY2vL4bf+CyF9aBs1vrdEXzOmBLz994uk4nE7kL703VTuVueAgn62Td ZO+DADDL6RtETuQbZ3ZAYTtlm+fm0k6BuHWmv1VvnOSKqHYtTb/2/UGLfTg== 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:1a03:b0:361:a33f:36a4 with SMTP id s3-20020a056e021a0300b00361a33f36a4mr676905ild.2.1706565591379; Mon, 29 Jan 2024 13:59:51 -0800 (PST) Date: Mon, 29 Jan 2024 13:59:51 -0800 In-Reply-To: <000000000000cb5b07060bef7ac0@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000dc387506101cc300@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 >