From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0B646C4743C for ; Wed, 23 Jun 2021 16:28:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EA57361075 for ; Wed, 23 Jun 2021 16:28:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230124AbhFWQbI (ORCPT ); Wed, 23 Jun 2021 12:31:08 -0400 Received: from mail-il1-f198.google.com ([209.85.166.198]:57012 "EHLO mail-il1-f198.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230041AbhFWQbD (ORCPT ); Wed, 23 Jun 2021 12:31:03 -0400 Received: by mail-il1-f198.google.com with SMTP id k12-20020a056e021a8cb02901ee3943c474so2080302ilv.23 for ; Wed, 23 Jun 2021 09:28:45 -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:in-reply-to:message-id:subject :from:to:cc; bh=aP6mT2qrVDZrhD2GlNrwXfQc4RVciPnhRbx1x2YC7LY=; b=g+8XA3YjSSspEkd6TWqWETg6JSsHHIblVrksNlFjCZoy8iHek8t7/1gvYr8FEwADiI +kYJAralNkXZEonGKjOjEYT8bBj2rW+sU8NH6Sy2ZC0wdIOR9vWQ8Eh/1DhJVVlZcxJu sHW6FOlsrkEMKrxPDlWADmyLF0VicQmMTr9W1wtVp7+iDSwCczJIgssHGCvg+Xmkt8ai atLyNNx9BaPaasFKqEhhMIBydVa8TgsurWJy3tqoSpPFuMkSPgW95+S9RX2ebjLda0nK vGm65OxF4KypZyS0N8ZVatXA6Ve0w4wS3aMa/n3vqg55ljlj/HiB3YBXATCN06NjeeVg 9lTw== X-Gm-Message-State: AOAM530UmWc6/WPLOoGYVuhILadygJXYUdhrlglE65wCDNK41Xd6JYdV o9jLG15UTJkafIN2s5eEz4nZZWuKAs/7N7rf04jbhC36HRUe X-Google-Smtp-Source: ABdhPJyLpcXJHB3MVxVIUy+85q0zE6Yj6eHUyrMEtmeC9c1NUmAjPrMWUpjD2gA0KaLltVYjkpscqbOZZc3Jcgy/3ztGMWNd7oE+ MIME-Version: 1.0 X-Received: by 2002:a92:d781:: with SMTP id d1mr196234iln.162.1624465724721; Wed, 23 Jun 2021 09:28:44 -0700 (PDT) Date: Wed, 23 Jun 2021 09:28:44 -0700 In-Reply-To: <20210623192837.13792eae@gmail.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000078d19c05c5716638@google.com> Subject: Re: [syzbot] WARNING: zero-size vmalloc in corrupted From: syzbot To: Pavel Skripkin Cc: akpm@linux-foundation.org, coreteam@netfilter.org, davem@davemloft.net, dsahern@kernel.org, fw@strlen.de, kadlec@netfilter.org, kuba@kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, pablo@netfilter.org, paskripkin@gmail.com, 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 > On Wed, 23 Jun 2021 19:19:28 +0300 > Pavel Skripkin wrote: > >> On Wed, 23 Jun 2021 02:15:23 -0700 >> syzbot wrote: >> >> > Hello, >> > >> > syzbot found the following issue on: >> > >> > HEAD commit: 13311e74 Linux 5.13-rc7 >> > git tree: upstream >> > console output: >> > https://syzkaller.appspot.com/x/log.txt?x=15d01e58300000 kernel >> > config: https://syzkaller.appspot.com/x/.config?x=42ecca11b759d96c >> > dashboard link: >> > https://syzkaller.appspot.com/bug?extid=c2f6f09fe907a838effb syz >> > repro: >> > https://syzkaller.appspot.com/x/repro.syz?x=14bb89e8300000 C >> > reproducer: >> > https://syzkaller.appspot.com/x/repro.c?x=17cc51b8300000 >> > >> > The issue was bisected to: >> > >> > commit f9006acc8dfe59e25aa75729728ac57a8d84fc32 >> > Author: Florian Westphal >> > Date: Wed Apr 21 07:51:08 2021 +0000 >> > >> > netfilter: arp_tables: pass table pointer via nf_hook_ops >> > >> > bisection log: >> > https://syzkaller.appspot.com/x/bisect.txt?x=13b88400300000 final >> > oops: >> > https://syzkaller.appspot.com/x/report.txt?x=10788400300000 console >> > output: https://syzkaller.appspot.com/x/log.txt?x=17b88400300000 >> > >> >> This one is similar to previous zero-size vmalloc, I guess :) >> >> #syz test >> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >> master >> >> > > Hah, I didn't notice that this one is already fixed by me. But the > patch is in the media tree, it's not upstreamed yet: > > https://git.linuxtv.org/media_tree.git/commit/?id=c680ed46e418e9c785d76cf44eb33bfd1e8cf3f6 > > So, > > #syz dup: WARNING: zero-size vmalloc in dvb_dmx_init Can't dup bug to a bug in different reporting (upstream->internal).Please dup syzbot bugs only onto syzbot bugs for the same kernel/reporting. > > With regards, > Pavel Skripkin From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3C7B7C49EA4 for ; Wed, 23 Jun 2021 16:28:47 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D06C3611C1 for ; Wed, 23 Jun 2021 16:28:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D06C3611C1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id BA1586B005D; Wed, 23 Jun 2021 12:28:45 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B79116B006C; Wed, 23 Jun 2021 12:28:45 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9F3028D0001; Wed, 23 Jun 2021 12:28:45 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0069.hostedemail.com [216.40.44.69]) by kanga.kvack.org (Postfix) with ESMTP id 66FD46B005D for ; Wed, 23 Jun 2021 12:28:45 -0400 (EDT) Received: from smtpin13.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 9919718014CA8 for ; Wed, 23 Jun 2021 16:28:45 +0000 (UTC) X-FDA: 78285522210.13.CA6A2D3 Received: from mail-il1-f200.google.com (mail-il1-f200.google.com [209.85.166.200]) by imf28.hostedemail.com (Postfix) with ESMTP id 5494920015D8 for ; Wed, 23 Jun 2021 16:28:45 +0000 (UTC) Received: by mail-il1-f200.google.com with SMTP id t5-20020a922c050000b02901edcb27f61eso2096434ile.15 for ; Wed, 23 Jun 2021 09:28:45 -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:in-reply-to:message-id:subject :from:to:cc; bh=aP6mT2qrVDZrhD2GlNrwXfQc4RVciPnhRbx1x2YC7LY=; b=N1G4uCNKP4MxkrOtlItQKXReRLwCqt6lvuUNTI0il9YfDQ/Pag1k7toqrSsUXSmTQm 9YJp9sQX7ZWoVD/PGdEqApayP6QvcUfHK1GzVQ+mNt3rigDXXIthFXdrphUU0AjX6t9m o56kgPTYjbqXi1fpmmQOTU4Rlko2mjjQv+WGZHi1Rw8mK3rN3sMBVczge9DcIo0PSFV5 ON6dhHJ7mnOMlKnD0OruT37rhkj+iPuT/6NATjFq/NhIB9ooWsMdEtQiF8l0Lo0bH+Lu dUlmE+0xRD5GdStKztlXE/8+73jR+nwOGyqnZU0qhC9RvPhSdK9waGTTUI0kWzIfENUO ZVcw== X-Gm-Message-State: AOAM532UnOAiBjbu4X+t991H0y7w2AsHh5t7BAGIaD1qCrrosZSn/Jwp QsmdKfcCAeQ7wKeIrd/HvZMqpM9t1xA0lXZhglV0Z4rLhniy X-Google-Smtp-Source: ABdhPJyLpcXJHB3MVxVIUy+85q0zE6Yj6eHUyrMEtmeC9c1NUmAjPrMWUpjD2gA0KaLltVYjkpscqbOZZc3Jcgy/3ztGMWNd7oE+ MIME-Version: 1.0 X-Received: by 2002:a92:d781:: with SMTP id d1mr196234iln.162.1624465724721; Wed, 23 Jun 2021 09:28:44 -0700 (PDT) Date: Wed, 23 Jun 2021 09:28:44 -0700 In-Reply-To: <20210623192837.13792eae@gmail.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000078d19c05c5716638@google.com> Subject: Re: [syzbot] WARNING: zero-size vmalloc in corrupted From: syzbot To: Pavel Skripkin Cc: akpm@linux-foundation.org, coreteam@netfilter.org, davem@davemloft.net, dsahern@kernel.org, fw@strlen.de, kadlec@netfilter.org, kuba@kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, netdev@vger.kernel.org, netfilter-devel@vger.kernel.org, pablo@netfilter.org, paskripkin@gmail.com, syzkaller-bugs@googlegroups.com, yoshfuji@linux-ipv6.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 5494920015D8 X-Stat-Signature: 64x9sj4qfojbx9gxgx99osept71jx875 Authentication-Results: imf28.hostedemail.com; dkim=none; spf=pass (imf28.hostedemail.com: domain of 3PGHTYAkbAFkJPQB1CC5I1GG94.7FF7C5LJ5I3FEK5EK.3FD@M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com designates 209.85.166.200 as permitted sender) smtp.mailfrom=3PGHTYAkbAFkJPQB1CC5I1GG94.7FF7C5LJ5I3FEK5EK.3FD@M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=appspotmail.com (policy=none) X-HE-Tag: 1624465725-175330 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: > On Wed, 23 Jun 2021 19:19:28 +0300 > Pavel Skripkin wrote: > >> On Wed, 23 Jun 2021 02:15:23 -0700 >> syzbot wrote: >> >> > Hello, >> > >> > syzbot found the following issue on: >> > >> > HEAD commit: 13311e74 Linux 5.13-rc7 >> > git tree: upstream >> > console output: >> > https://syzkaller.appspot.com/x/log.txt?x=15d01e58300000 kernel >> > config: https://syzkaller.appspot.com/x/.config?x=42ecca11b759d96c >> > dashboard link: >> > https://syzkaller.appspot.com/bug?extid=c2f6f09fe907a838effb syz >> > repro: >> > https://syzkaller.appspot.com/x/repro.syz?x=14bb89e8300000 C >> > reproducer: >> > https://syzkaller.appspot.com/x/repro.c?x=17cc51b8300000 >> > >> > The issue was bisected to: >> > >> > commit f9006acc8dfe59e25aa75729728ac57a8d84fc32 >> > Author: Florian Westphal >> > Date: Wed Apr 21 07:51:08 2021 +0000 >> > >> > netfilter: arp_tables: pass table pointer via nf_hook_ops >> > >> > bisection log: >> > https://syzkaller.appspot.com/x/bisect.txt?x=13b88400300000 final >> > oops: >> > https://syzkaller.appspot.com/x/report.txt?x=10788400300000 console >> > output: https://syzkaller.appspot.com/x/log.txt?x=17b88400300000 >> > >> >> This one is similar to previous zero-size vmalloc, I guess :) >> >> #syz test >> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >> master >> >> > > Hah, I didn't notice that this one is already fixed by me. But the > patch is in the media tree, it's not upstreamed yet: > > https://git.linuxtv.org/media_tree.git/commit/?id=c680ed46e418e9c785d76cf44eb33bfd1e8cf3f6 > > So, > > #syz dup: WARNING: zero-size vmalloc in dvb_dmx_init Can't dup bug to a bug in different reporting (upstream->internal).Please dup syzbot bugs only onto syzbot bugs for the same kernel/reporting. > > With regards, > Pavel Skripkin