Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3486206rdb; Wed, 13 Sep 2023 13:36:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHgs8gMfYtzKZOJlLntpd3B+JgmqfCqEZOd/G33BGqZppyYhXRpBpvn0fdzHRe/hn0O548E X-Received: by 2002:a05:6a00:230b:b0:68e:3b6b:73bb with SMTP id h11-20020a056a00230b00b0068e3b6b73bbmr4380914pfh.23.1694637381376; Wed, 13 Sep 2023 13:36:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694637381; cv=none; d=google.com; s=arc-20160816; b=ZsT94Db8i6f7vMTZmh8hqPPBuX1RK999crSfdGvT5q5tdSa+wktP0H7F0VYfKjv2fh 48UgMewIHkLi3ZfcR8DrNW20VckOng1GXh8Qqz0rVrwyXM0FrmS9ema/3fACx0+RUklr 740HbZ/3yOXDmU1EXNizqSs7RkOUAR1+RCmMIOUzZzxgCmtgvrlH4cc/yEhrKVn8K4TO bDPiHgpPd2rXiUe3uUH4Dg0kgNz3YGhMCBb+QENOw9huZ6KO91kD8X3Z97Gurnm72P5B LFm8CTKVPez+ZCKW4GVs6QAbBiQBBXfaBVOLJFVI2r6Uhfg4r5Jbw8PDn6gTXTmV6uXe emCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=8vYkKTZQhnheseFWELcIvsSRa/uxYdJJ6yMzg5vRWAE=; fh=p8sjo04s3+DGRQhvCLrsnHfSSAd2wfZHEMU1hSYGwVA=; b=rQY+jlREDH6dzfIRt8i9cCbyNcFsqWHfWdhPTjlwqD8KroNtg+YL6q24+lA8zh/nKA by1p4PTn7CHAKEAJNzrUxXbvvVdOcsixvKNYGQg4T1LQoofK8Cv1YoCQrJHrV17XiTSv MXgaTk77sBTpeWvIjhlyC2M2zsEnjWO0fv1+/k6REF3tLI+8cPYuoBErRgMLqHAtSLK4 rBOYpWAN2HQIMzNtlQJAOtz/6EL9whoevUDvx0lHhtC+y+Qo4x+5ug7/2JbvJIr7nUhA tNvSw3r/8+S3UADx9+ddEeFpKZpTeg3FcQ8zlqiSY56BPbIhE5qoe1bb9Xt+FEAt6HBT h65g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=2vd0F4oC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id fa27-20020a056a002d1b00b0068a3edcf2a6si11080406pfb.246.2023.09.13.13.36.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 13:36:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=2vd0F4oC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 874FC80965AD; Wed, 13 Sep 2023 01:42:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236329AbjIMIl6 (ORCPT + 99 others); Wed, 13 Sep 2023 04:41:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235083AbjIMIl5 (ORCPT ); Wed, 13 Sep 2023 04:41:57 -0400 Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4412C3 for ; Wed, 13 Sep 2023 01:41:53 -0700 (PDT) Received: by mail-qt1-x833.google.com with SMTP id d75a77b69052e-414ba610766so247981cf.0 for ; Wed, 13 Sep 2023 01:41:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1694594513; x=1695199313; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=8vYkKTZQhnheseFWELcIvsSRa/uxYdJJ6yMzg5vRWAE=; b=2vd0F4oCuk+DtBaN+uD00WDYr86iAhXwNjty5dr+KL/jDtYw8hi8udgjC5U9Vj+JA8 qWKGDho+DBBf5r7h3QO/zhtbwV8zISA78O+5nHCrDSg6PKjL705FL4QoUQFGeCDXmyIk STDMq7ABkePe1yLLgIC9YHSX7hs6xZaiG2NEWSuPzvIkzB1MvQy6r6MQ+/GbMX4zAoQ1 5dMzADNE6EWzuK5FWGZb6+AJFSn1Q5Q9M5fEcfiPYb6tnc0hnUK3IUuLOzSwJtdHRznE WB2FlViAcWiBYC59LKeiAmoSubwubdrF/oUk50tcOx7UDe9nziXf6U2nd8Cc9JqF4KFW 0s/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694594513; x=1695199313; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8vYkKTZQhnheseFWELcIvsSRa/uxYdJJ6yMzg5vRWAE=; b=fn7aTRN4eiCxkytjMvbEooiR3vzYRuqjQ7EoJ/SOb3IzNWYrWF5S3dMuRuPWkOn+uX Ih1p2hS5h4M3A1lVOkoDtS6GCjXyNSjPxVyGB0vnmRXjP14PxtESWEvkpOQzbrxY4wep +XoJAYoW5YgsF2TxMS7IYVGuPyZAY2pfpSSU0q870cmiFKb98Yd9Hk4/D7BoZslI3+zt obYi7P+5NxcRwJvovL6oJ+RYRYeq0+j7A1xt/mVgvP6Gh4BhyvuvOIjbLY/W7NXXbfRC XX0vwKjZI3szu+nPJXBqkSH/2H7I07Pj2tmzByFfY3ksDK110SdaqQHkEfGk4dBKwb7r zbSQ== X-Gm-Message-State: AOJu0Yzz6AIHMRMqKABqmYWta+SgjaezeMQM+Tzq5KgcdbJUXBVvNVQN bM8trbjgxm9AF5thHQs8nmP6kZgRLbqY24tvG8/36A== X-Received: by 2002:a05:622a:547:b0:3f6:97b4:1a4d with SMTP id m7-20020a05622a054700b003f697b41a4dmr150643qtx.23.1694594512584; Wed, 13 Sep 2023 01:41:52 -0700 (PDT) MIME-Version: 1.0 References: <0000000000001c12b30605378ce8@google.com> In-Reply-To: <0000000000001c12b30605378ce8@google.com> From: Eric Dumazet Date: Wed, 13 Sep 2023 10:41:41 +0200 Message-ID: Subject: Re: [syzbot] [net?] WARNING in __ip6_append_data To: syzbot , David Howells Cc: bpf@vger.kernel.org, davem@davemloft.net, dsahern@kernel.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 13 Sep 2023 01:42:03 -0700 (PDT) X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email On Wed, Sep 13, 2023 at 8:19=E2=80=AFAM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit: 65d6e954e378 Merge tag 'gfs2-v6.5-rc5-fixes' of git://git= ... > git tree: upstream > console+strace: https://syzkaller.appspot.com/x/log.txt?x=3D142177f468000= 0 > kernel config: https://syzkaller.appspot.com/x/.config?x=3Db273cdfbc13e9= a4b > dashboard link: https://syzkaller.appspot.com/bug?extid=3D62cbf263225ae13= ff153 > compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for D= ebian) 2.40 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=3D11f37a0c680= 000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=3D10034f3fa8000= 0 > CC David Warning added in commit ce650a1663354a6cad7145e7f5131008458b39d4 Author: David Howells Date: Wed Aug 2 08:36:50 2023 +0100 udp6: Fix __ip6_append_data()'s handling of MSG_SPLICE_PAGES > Downloadable assets: > disk image: https://storage.googleapis.com/syzbot-assets/74df7181e630/dis= k-65d6e954.raw.xz > vmlinux: https://storage.googleapis.com/syzbot-assets/8455d5988dfe/vmlinu= x-65d6e954.xz > kernel image: https://storage.googleapis.com/syzbot-assets/8ee7b79f0dfd/b= zImage-65d6e954.xz > > IMPORTANT: if you fix the issue, please add the following tag to the comm= it: > Reported-by: syzbot+62cbf263225ae13ff153@syzkaller.appspotmail.com > > ------------[ cut here ]------------ > WARNING: CPU: 1 PID: 5042 at net/ipv6/ip6_output.c:1800 __ip6_append_data= .isra.0+0x1be8/0x47f0 net/ipv6/ip6_output.c:1800 > Modules linked in: > CPU: 1 PID: 5042 Comm: syz-executor133 Not tainted 6.5.0-syzkaller-11938-= g65d6e954e378 #0 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS G= oogle 07/26/2023 > RIP: 0010:__ip6_append_data.isra.0+0x1be8/0x47f0 net/ipv6/ip6_output.c:18= 00 > Code: db f6 ff ff e8 09 d5 97 f8 49 8d 44 24 ff 48 89 44 24 60 49 8d 6c 2= 4 07 e9 c2 f6 ff ff 4c 8b b4 24 90 01 00 00 e8 e8 d4 97 f8 <0f> 0b 48 8b 44= 24 10 45 89 f4 48 8d 98 74 02 00 00 e8 d2 d4 97 f8 > RSP: 0018:ffffc90003a1f3b8 EFLAGS: 00010293 > RAX: 0000000000000000 RBX: 0000000000001004 RCX: 0000000000000000 > RDX: ffff88801fe70000 RSI: ffffffff88efcf18 RDI: 0000000000000006 > RBP: 0000000000001000 R08: 0000000000000006 R09: 0000000000001004 > R10: 0000000000001000 R11: 0000000000000000 R12: 0000000000000001 > R13: dffffc0000000000 R14: 0000000000001004 R15: ffff888019f31000 > FS: 0000555557280380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000= 000 > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > CR2: 000000000045ad50 CR3: 0000000072666000 CR4: 00000000003506e0 > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 > Call Trace: > > ip6_append_data+0x1e6/0x510 net/ipv6/ip6_output.c:1895 > l2tp_ip6_sendmsg+0xdf9/0x1cc0 net/l2tp/l2tp_ip6.c:631 > inet_sendmsg+0x9d/0xe0 net/ipv4/af_inet.c:840 > sock_sendmsg_nosec net/socket.c:730 [inline] > sock_sendmsg+0xd9/0x180 net/socket.c:753 > splice_to_socket+0xade/0x1010 fs/splice.c:881 > do_splice_from fs/splice.c:933 [inline] > direct_splice_actor+0x118/0x180 fs/splice.c:1142 > splice_direct_to_actor+0x347/0xa30 fs/splice.c:1088 > do_splice_direct+0x1af/0x280 fs/splice.c:1194 > do_sendfile+0xb88/0x1390 fs/read_write.c:1254 > __do_sys_sendfile64 fs/read_write.c:1322 [inline] > __se_sys_sendfile64 fs/read_write.c:1308 [inline] > __x64_sys_sendfile64+0x1d6/0x220 fs/read_write.c:1308 > do_syscall_x64 arch/x86/entry/common.c:50 [inline] > do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 > entry_SYSCALL_64_after_hwframe+0x63/0xcd > RIP: 0033:0x7f6b11150469 > Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 00 48 89 f8 48 89 f= 7 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:00007fffd14e71a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 > RAX: ffffffffffffffda RBX: 00007fffd14e7378 RCX: 00007f6b11150469 > RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000005 > RBP: 00007f6b111c3610 R08: 00007fffd14e7378 R09: 00007fffd14e7378 > R10: 000000010000a006 R11: 0000000000000246 R12: 0000000000000001 > R13: 00007fffd14e7368 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. > > If the bug is already fixed, 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 bug's subsystems, reply with: > #syz set subsystems: new-subsystem > (See the list of subsystem names on the web dashboard) > > If the bug is a duplicate of another bug, reply with: > #syz dup: exact-subject-of-another-report > > If you want to undo deduplication, reply with: > #syz undup