Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp684506rdb; Mon, 29 Jan 2024 15:13:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IEO1/VRWMizejf4wCI5l9ZHiOByvWh93MPpHnY7CXpapsPFkqIZC86uaaw1+k5PVE8pL4yW X-Received: by 2002:a05:6870:4694:b0:214:d573:2349 with SMTP id a20-20020a056870469400b00214d5732349mr3976650oap.35.1706570009257; Mon, 29 Jan 2024 15:13:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706570009; cv=pass; d=google.com; s=arc-20160816; b=IrekjLG13ycaCF2AGtK8DOHFXYld1TxgITSS1jy+PkucHXoDJ8ySogXlcE9C9XqseZ lmW+uqSWTcCj+PvB+r7E3r2YEZzN0I4MGVPiF4K/VJS55awG/dTVoygGzR+SgYvsbri/ 9qYcjE4KECMl9e68g0RGHAOQgdMM4vCxBcwZCzaafw0ze/2JISI10qu6d0oBXcqRqouU jLxKeO2+A0NUiV/u9Wa+fP+dgvS/Mi08s+och5V2JldyXFfnf5jOM75j0ewHW56saa+e 7cQX3ajvczFLYm3MpHOYLuXElMD66yZ05IzOp5WPamspFVPXDZTZNTFPAndihQiIoso9 LqQg== 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=14M7zqMTM98D0PVtGR4NVlZbPXbmZfZYzUNf/5qTnAg=; fh=uOxEfs73UXnpmsgYZepGR6OauibfyleDeycBITvBwXs=; b=jVyr0KWvT5mpsRnHACNgimqPqgV1w5oYEbt6Us/xSXYPKMe21n2uvdZgQDhjTHoXfW 2IDcN+bWZeyJRiIC+xPypp5Jnep5ep+Udz4Y13iE9RPiFgUpBPshV8ef9y99OVYbku1T eN5+4CIO91loARn/67RwSqehhbUcpJNq1gdZLQuex4PYtrgqi7TK2MNdDv+VdfyiPuzP HtQE+cJSynQdazewfBRR+LPHu64IsK13gQJfFg7zgu2ucM+pfjsdTQ5/I5cW7aKmp94r 20w7LtrXRashzCxYWTWMMt4W2aT+6cYKK0vy/BXNIIoni+74qCQketWgD3MQvrCuyxlj iIPw== 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-43608-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43608-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 d14-20020a631d0e000000b005d85ef410adsi5862648pgd.655.2024.01.29.15.13.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 15:13:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-43608-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-43608-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-43608-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 D93F1287212 for ; Mon, 29 Jan 2024 23:13:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9D008524B4; Mon, 29 Jan 2024 23:13:23 +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 5C20E51C4B for ; Mon, 29 Jan 2024 23:13:21 +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=1706570003; cv=none; b=feseu65pa+yjbd+1qFfcgGmLn2wcbum1GkGwmdkbJLa1gXzBt0a0nhHCx2n+daccl7vUF6+uGjUKBI2iy/mOMnD8mviCe4Z71y2u1JgzKJLwpMlKzPFjxlt5lJfk2mZW790KjhnDvPTei0pcEMaFBXhPyRGCy3zSdMjGJs14vmU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706570003; c=relaxed/simple; bh=FGATDWG2BPvzRLp/aR0Io5/h+jq9BPLTGGcyZvQWGOE=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=TgRgkr1ci7yBMO/HJsnkUzqRUzXWwTkwFpnHpne5/83ltTui3d7O2DUZ5smFa0Rla1DhHodYCwA/R+oo9NCFWrx06Hz4YgG0SOLxdcbbZBkDJjqT5qcNrOM+tBPAQrVyeDLefywGrVUCDksKxrkYvCGdOE6G32oDsZhk/2XGaRg= 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-3637b396e6eso8893045ab.3 for ; Mon, 29 Jan 2024 15:13:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706570000; x=1707174800; 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=14M7zqMTM98D0PVtGR4NVlZbPXbmZfZYzUNf/5qTnAg=; b=kOIyBDOjHliUc32+nbb2rIShT0Qhl6NvJEmFNoWiM4sNb5lBJaOtTv9aT/UriGM4Fy 6fy9PnF6hjtfeFCn4Cw0T1I9s1gIAh22AQyBRwIHT6IBICJdnauJsUsKog4QYb32QFFW iqZeVNE/Hoq9Iyqm5t1luMdKWW4IV76mA6mu8kEAzpZa26ze0OgT2G4lsu2eDYH9Hcsy nAlv1lymLvAJFn5MgO8nTSxMgoT2VvAN0PvSsYQLSk7RhFyA4kauPFXv8dP6QlFG3VQl RhlA7dvDPEceVrr6CLkW9KZ0lzXhkiejFyMjmi13qlQbylSIXyBzXwLdYkOLwAND96xy EOVA== X-Gm-Message-State: AOJu0YybOX4n+Iy133L/tj0M41YNdz+GZbcMHHL3U+umamUwMDwDkoVG SqwJPL965MWVAJyASYt9fE3AMx/5e7C3WLg8dG1thTSFyS9RNSctAj6AehkZWAe+QekekwOFYi9 H/zWqs9c3ET8PQJufnuki6Y58JTrsSbhoKiwr1/d5u8uEVZAYNt4EAnbThg== 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:20c9:b0:363:83ec:3663 with SMTP id 9-20020a056e0220c900b0036383ec3663mr283884ilq.2.1706570000577; Mon, 29 Jan 2024 15:13:20 -0800 (PST) Date: Mon, 29 Jan 2024 15:13:20 -0800 In-Reply-To: <000000000000cb5b07060bef7ac0@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000ab3d1a06101dca36@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: https://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 >