Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3121927pxv; Sun, 25 Jul 2021 17:30:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTR4/MTcEKrsaHIjokjiADtpxB7HLarfxMQYylOS5k5HvR7By8kwfolPvtw+stmnVqKPqz X-Received: by 2002:a92:190e:: with SMTP id 14mr10701767ilz.70.1627259418865; Sun, 25 Jul 2021 17:30:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627259418; cv=none; d=google.com; s=arc-20160816; b=qiUPtm1BkSKTaYgNQw5TYiH3QHCeBh+PX+h6AnEaxEDAXDkinNxL7nr733fdj1MXTN V0VK6o2atWGMq7ZTgS3ptTG+hxAr3OvDAKHMWPxyZaYWbFOTk6+KRZaEeek8nOQhu4bM BiPvgMKmSGm2YKxODg2OrBowFaQA6OXm0o52/izqbGNWpnxI95aLs/0Ah0WVPzS7xazC ZFd7AHV4DKKKIQ0CCGVbJxE55u858rEE2k9eP+18DcTYEnEC0TXRbKaHXzV15IJSMjfn VyO+syp7OMd/ZJW/sPH7dURqF3KoZtfj+ZFLoMbFAwMUZiA1znWsZAmZCGV1pXjR4wb6 jrkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:date:mime-version; bh=HapdQG+zthiUobnTEPfoSW7q18/Z9dQsVC64iOywMdA=; b=xTHZacd6H8edjRMatx7QBnUVeVHSaHPww4joRqFgaKLrAERTii/ruapWLwrV59foLN UJnkTxz55etf1DchFAK/2J4Dkwk7x5zp7obEWdrFOIdsf55DlcEjkFfqridCgSzcBPt0 1U9Sfthb8xX/A3YkEWSrC/RwLdn4G8rBXQb+S0dMs5RQFJP1f1LRVjazsjws5csQIfgi 3YOrxIWOyaSiEvXW9D4d+UQKzVLq33Sy386HvM7N4VaJcItXvU7xi0C0DwYVHGNaZe80 C1yTUYKaq+l8KsZdOBsJxOIuAmMExhvKC7Vvg6yJ2r0equp/+/AwPYfy6ZKGbzAC4ich 8YAA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q15si30265285ile.132.2021.07.25.17.30.07; Sun, 25 Jul 2021 17:30:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230272AbhGYXs4 (ORCPT + 99 others); Sun, 25 Jul 2021 19:48:56 -0400 Received: from mail-il1-f197.google.com ([209.85.166.197]:55205 "EHLO mail-il1-f197.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229956AbhGYXsz (ORCPT ); Sun, 25 Jul 2021 19:48:55 -0400 Received: by mail-il1-f197.google.com with SMTP id m11-20020a92870b0000b0290210d3ffca31so3724043ild.21 for ; Sun, 25 Jul 2021 17:29:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=HapdQG+zthiUobnTEPfoSW7q18/Z9dQsVC64iOywMdA=; b=AzBgS0IN8d+N/FkEwvHal5VIkfSWAnN88q4+YlKq3MJJhVo62GU2G2D+y53lO0MmHK qs6wMQ/zkE6diy0AswUCRL62aIO4gaSwsbRnC3WHFFQ18R9OXVye52QdhzOf++QP+2EC XOK1BrEJP1OB58ZSADLevfZyJoIAyM8rGWdFFNxLMqrXuXSSAjk3j30G2WGp8Kbgwn+x bCojhp+vUKO1rIq5MJpXjbTEODQkycf1aVinlhXTfDIVq67Fw6aiJyx8MfsfRPyDDIX4 Tj6D2iij5IslNFBo06BWANkNvOkrUyy1LlN1o/rTANA6cxsVsHwi+lwdtrnI5cYJuk+y WLuQ== X-Gm-Message-State: AOAM5311/VFNoDN45h75S58x6mwi2sPN0ZaPT0IbCBQYMmv1IPCBv5Cu sh160+7hawD/l/nE26uuPNUqImpbZ+/iYS3P+QLt3lscCRr4 MIME-Version: 1.0 X-Received: by 2002:a92:d8c5:: with SMTP id l5mr11190835ilo.79.1627259365167; Sun, 25 Jul 2021 17:29:25 -0700 (PDT) Date: Sun, 25 Jul 2021 17:29:25 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000006b15c805c7fbd885@google.com> Subject: [syzbot] memory leak in mld_newpack From: syzbot To: davem@davemloft.net, dsahern@kernel.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com, yoshfuji@linux-ipv6.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 8cae8cd89f05 seq_file: disallow extremely large seq buffer.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1100e00a300000 kernel config: https://syzkaller.appspot.com/x/.config?x=7384ed231a0fd986 dashboard link: https://syzkaller.appspot.com/bug?extid=dcd3e13cf4472f2e0ba1 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14c646a2300000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+dcd3e13cf4472f2e0ba1@syzkaller.appspotmail.com 2021/07/22 00:14:37 executed programs: 3 2021/07/22 00:14:42 executed programs: 5 2021/07/22 00:14:48 executed programs: 7 BUG: memory leak unreferenced object 0xffff88810df2ad00 (size 232): comm "kworker/1:2", pid 2838, jiffies 4294938475 (age 902.280s) hex dump (first 32 bytes): a0 34 1f 19 81 88 ff ff a0 34 1f 19 81 88 ff ff .4.......4...... 00 40 1c 10 81 88 ff ff 00 00 00 00 00 00 00 00 .@.............. backtrace: [] __alloc_skb+0x20f/0x280 net/core/skbuff.c:414 [] alloc_skb include/linux/skbuff.h:1112 [inline] [] alloc_skb_with_frags+0x6a/0x2b0 net/core/skbuff.c:6005 [] sock_alloc_send_pskb+0x353/0x3c0 net/core/sock.c:2461 [] mld_newpack+0x84/0x200 net/ipv6/mcast.c:1751 [] add_grhead+0xa3/0xc0 net/ipv6/mcast.c:1854 [] add_grec+0x7b6/0x820 net/ipv6/mcast.c:1992 [] mld_send_cr net/ipv6/mcast.c:2118 [inline] [] mld_ifc_work+0x273/0x750 net/ipv6/mcast.c:2655 [] process_one_work+0x2c9/0x610 kernel/workqueue.c:2276 [] worker_thread+0x59/0x5d0 kernel/workqueue.c:2422 [] kthread+0x188/0x1d0 kernel/kthread.c:319 [] ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 BUG: memory leak unreferenced object 0xffff88811109ca00 (size 232): comm "kworker/1:2", pid 2838, jiffies 4294938656 (age 900.470s) hex dump (first 32 bytes): a0 ac 9e 16 81 88 ff ff a0 ac 9e 16 81 88 ff ff ................ 00 00 37 13 81 88 ff ff 00 00 00 00 00 00 00 00 ..7............. backtrace: [] __alloc_skb+0x20f/0x280 net/core/skbuff.c:414 [] alloc_skb include/linux/skbuff.h:1112 [inline] [] ndisc_alloc_skb+0x56/0xe0 net/ipv6/ndisc.c:420 [] ndisc_send_rs+0x1bc/0x2a0 net/ipv6/ndisc.c:686 [] addrconf_dad_completed+0x17e/0x560 net/ipv6/addrconf.c:4195 [] addrconf_dad_work+0x3dd/0x900 net/ipv6/addrconf.c:4105 [] process_one_work+0x2c9/0x610 kernel/workqueue.c:2276 [] worker_thread+0x59/0x5d0 kernel/workqueue.c:2422 [] kthread+0x188/0x1d0 kernel/kthread.c:319 [] ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 --- 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. syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches