Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2239542pxp; Mon, 21 Mar 2022 14:41:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9wunJbSa8zOWEHoXuo+xoIlUyp4XSQFbyg3JQuE5q6Yxs67APZL2zODB6fIcfvANsl+iW X-Received: by 2002:a17:902:bd88:b0:14f:8ddf:e373 with SMTP id q8-20020a170902bd8800b0014f8ddfe373mr15023601pls.89.1647898883552; Mon, 21 Mar 2022 14:41:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647898883; cv=none; d=google.com; s=arc-20160816; b=pQT8RAj65g567be5c0ntqkeoBPm9U1mDq3kXMT1g8AeJJksqaniQF8z6TkD/XLV7iC xesVUqpeXvBQKucnHACbUDNGrUuBQ7yzPeUGzdkETYhogiUqT0/ZX4DVgsrJ5jnRvAuM +4z1zNoZh/wxcYQx2xU8ECc0vyzCr1pMzwY/TJoq6cLeLIf7rGQe1qtWKIiHBBfwtBAc FwWNom35OeP5Sy3lTqajgDlEiY/dQxE5H+5vXZ+MGQG74bisFLYCS2J8Ohr5dhdvcu/S hMzVvx3e7Y0pAR1f66vxHDb+eNDD3GF2/eCuifILmLKhR0f1nn5XPLQb9AQR8OEAYXTU fqQQ== 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:in-reply-to:date :mime-version; bh=NFh/T4Y8Po52slDxqrE9rD5LOIGCaMXmToExp8xuOjY=; b=PBOjUfIOXm3VHdEU99qN/bOaOe4U7KuEl/yItDQLn8xxyTDy5UAc3jY1sisROzeggn lIvGSel+KIUZZauX+8sL1uRDqmmPIYZpa8TZowOS2g/R0vAG819j6SmzKlyZDsK9f+s5 6RPdrGC3LmMs0owogFntYrkaYjYMAHOJu3vuHFX7Bm8ZsZm3w4hvE61MLYpHTYagD2Zn E3mXiUKMgkYDy1sG2uR96GbDwPgi2UsGQJR0LtkDBAda5MtEcBhYdURrTnMGkNpJc/P7 hBmND+1ugAiODC7giBBFdrqYVc4HWcCCR2p1yXp8YI3pVNPm1EmqxcuU2bgCHn/8ROXp fP5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id e14-20020a65648e000000b003816043ef27si14272929pgv.284.2022.03.21.14.41.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 14:41:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D7878264F7D; Mon, 21 Mar 2022 14:14:32 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343820AbiCTXji (ORCPT + 99 others); Sun, 20 Mar 2022 19:39:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343817AbiCTXjg (ORCPT ); Sun, 20 Mar 2022 19:39:36 -0400 Received: from mail-io1-f69.google.com (mail-io1-f69.google.com [209.85.166.69]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43D9AE80 for ; Sun, 20 Mar 2022 16:38:12 -0700 (PDT) Received: by mail-io1-f69.google.com with SMTP id g16-20020a05660226d000b00638d8e1828bso9521876ioo.13 for ; Sun, 20 Mar 2022 16:38:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:date:in-reply-to:message-id:subject :from:to; bh=NFh/T4Y8Po52slDxqrE9rD5LOIGCaMXmToExp8xuOjY=; b=L25EIfNPlDPQ0JimDSaXQmIbN5WJpb3pe6jU+4EeaTuvEMB214V7Aziiw0nYQJ1CNw 1i/rn1+bdo9GgqY6JfVh3N1gkLaqnuILvlVXrX57X6Q8jDKjLRkRhCq93gxReHGb2t6V Dw911GFFNcI03gIJ8C39eUAAITnYRs89xfMtob5gjwKRCqiuGk7xhGsdgPeP1r6a1jl0 9B82DiLFuRnmMQvF5Q3H9+1IBjaZ/06IWo0C7MBu9Glmi+YQJ8A3Kve0GpMUZL74mlCF jMZ+krZxQu/Ey95d74130Rwwc+jxUmtDqVH3p3HbQaBgTbe+5pXdrxa/eRNRlWZqu8Za 2/bQ== X-Gm-Message-State: AOAM530TS2IYUr1F2Lk2+b4Sze7o3teVxnpWHbNbyO95LT3q2SQUmrq/ kkZN2Z8E1w7sVHtaIpgjW4meMGlHr/85dphu3+PcO6Vnqnwi MIME-Version: 1.0 X-Received: by 2002:a05:6e02:1c88:b0:2c8:31b6:531f with SMTP id w8-20020a056e021c8800b002c831b6531fmr38025ill.286.1647819491654; Sun, 20 Mar 2022 16:38:11 -0700 (PDT) Date: Sun, 20 Mar 2022 16:38:11 -0700 In-Reply-To: <2238978.ElGaqSPkdT@leap> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000007442a005daaedf30@google.com> Subject: Re: [syzbot] KASAN: null-ptr-deref Read in __free_pages From: syzbot To: christophe.jaillet@wanadoo.fr, dhowells@redhat.com, fmdefrancesco@gmail.com, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot tried to test the proposed patch but the build/boot failed: kernel/watch_queue.c:365:13: error: invalid storage class for function '__put_watch_queue' kernel/watch_queue.c:390:15: error: non-static declaration of 'put_watch_queue' follows static declaration kernel/watch_queue.c:392:13: error: invalid storage class for function 'free_watch' kernel/watch_queue.c:401:13: error: invalid storage class for function '__put_watch' kernel/watch_queue.c:411:13: error: invalid storage class for function 'put_watch' kernel/watch_queue.c:473:15: error: non-static declaration of 'add_watch_to_object' follows static declaration kernel/watch_queue.c:554:15: error: non-static declaration of 'remove_watch_from_object' follows static declaration kernel/watch_queue.c:644:15: error: non-static declaration of 'get_watch_queue' follows static declaration kernel/watch_queue.c:664:1: error: expected declaration or statement at end of input kernel/watch_queue.c:664: error: control reaches end of non-void function [-Werror=return-type] Tested on: commit: f443e374 Linux 5.17 git tree: upstream dashboard link: https://syzkaller.appspot.com/bug?extid=d55757faa9b80590767b compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 patch: https://syzkaller.appspot.com/x/patch.diff?x=129f0625700000