Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3519503pxb; Mon, 24 Jan 2022 11:15:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJwID3g9UIKOyqiGXSwY6ArE+neSJ1arCV5dKRTnVFHtJ024y7+55GUnCvfqVRf0AfVmCmmh X-Received: by 2002:a17:902:b78b:b0:14b:1339:58da with SMTP id e11-20020a170902b78b00b0014b133958damr15856663pls.98.1643051756622; Mon, 24 Jan 2022 11:15:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643051756; cv=none; d=google.com; s=arc-20160816; b=SL6VlO1P4ICk+t0W3/WsOz/K54jSeK1B8Dc8Vem4/xQ3C/bVGE82ICaqWn5094PkvR JWEOZfGdUdxrbZ+nhvZxj5wC/zCBIT8wPSdgaAQGkYHz1CfXhvv8bLoZfN52gHw7Z8v5 mN5NU0gf0nouymCoPD9MhXANhi23umRZWoGNxNGdR2Sp3wpV7rM+ITrgBTrciqiIA+hM 6D+plmChu0sMbdmQ6WYnoX7TT7hAcIpdoeRIXx98qviTMu3kwxHGvZ3CIgGHmlxcfJ45 UQcWX5S35y8HPYSCB4LV8q/QVhAhkQ30oyRdemJL7mWY3b7mc2zRO7/0aEeCEB6M9CEi /t4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ZHXDNawBJLq0H1Ii/ahl9brsS3WPDA+iilcuuxor1JA=; b=Vck+dDk5Zn8LVx5FXhfcwm5g7ty1zt+Rr9UOUJs4+S1pQ+tiv4cy2FFiEVbIIXA9i5 nkqr4b1cHVu4lkTtKFztfg36wlpHisVWIzwywauEDweNprR9Eg0S0DUY52GzIsaBdto1 eDTUOV7t689TY9aQxYCwOJ/YzVu4DoBm7gMij6P9yqKK2HEzSgaGpduzZIimra6f119g /J+5nrDlJaNoXrom9Qspy3an4Bt3jdjP5hlVREtdKHxFNytT0oj2rKSpG2D1mhS9FU5m 7kb1kTMxj5cbLWkxjNU5eoVzlTpclMBQuvO9tPMkecW8OrSMzwcQ4l6dEng5vtfg9xD2 Xm+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fuboRRqy; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j20si7535513plc.105.2022.01.24.11.15.42; Mon, 24 Jan 2022 11:15:56 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fuboRRqy; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242830AbiAXNAT (ORCPT + 99 others); Mon, 24 Jan 2022 08:00:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229941AbiAXNAP (ORCPT ); Mon, 24 Jan 2022 08:00:15 -0500 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E1E5C06173B; Mon, 24 Jan 2022 05:00:15 -0800 (PST) Received: by mail-lf1-x132.google.com with SMTP id y15so40794059lfa.9; Mon, 24 Jan 2022 05:00:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZHXDNawBJLq0H1Ii/ahl9brsS3WPDA+iilcuuxor1JA=; b=fuboRRqywCiSDbp6ipvJZHJXyiKEPVKZFZuKLBri+oR4dlqAC8XuG2PEmQvbzvpKqi 1Xq4zijJslw8w2LuN58q/gBeG+jsLKXz47inujmKqZih3NIWQB4y4SQeA+efprBcxuHt /lFXhMp6cWRIO2ToDBKmMIyua1QFpMmv+yO8rvUJaGZOWLd5sQJDXdCFxgTCj0avTVKf /Y71XFiqRUtJhQELIN3Api+GtxRuO9tdvaa4sbUHMlKKSgFyLW3XX8F5TN1wNWDFJRiW uiaE+LZYy6QfVJnvzEl+MkBxIGjj61o+Rgl3EZME8wZP61ODQO+SvD3xvYkGkblPsdsL 5JWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZHXDNawBJLq0H1Ii/ahl9brsS3WPDA+iilcuuxor1JA=; b=biuf5qOPDCRgJSB5xi3EnBlY2Qpqk88aXDaRZ9GVCOqe7iPLd+tk0Xg9iPcMmDgFHk lVg3KYT+JtZRdOtSKnamIOPAmBX94067M9oZYfMsRCicx6hldoYxylP6ioIMKY0XwVwR mVAk70ZBZ6+xc2AJPddqH6z78QXLAG3MyQf6NCWavPbtUBDkRd4sfq/yYLHdRJfLoDsm 9d7TfX9JjptQj7p2P9DMuqbR6/vX7A6TSlNr0CbuZgG4HZ3ATChB1/E+DDZUVbv7tZZW P/av6F0qsW7ylkHkfFhWP9558csVlQ2mJgfcmANnjE3eslOf6rxS1KwAg9UMHEV9CYQZ T5rQ== X-Gm-Message-State: AOAM5330IvyRP7Flb2Gk9RUCoUTQQ73Jm9anh26qlwvYqOoNVUpmeEmD pE7YFXUIR0+lgAgUjEal8jVTdhacgAy9pFIr7Kk= X-Received: by 2002:a05:6512:230c:: with SMTP id o12mr5081114lfu.341.1643029213847; Mon, 24 Jan 2022 05:00:13 -0800 (PST) MIME-Version: 1.0 References: <000000000000cdb89d05ca134e47@google.com> In-Reply-To: <000000000000cdb89d05ca134e47@google.com> From: Vegard Nossum Date: Mon, 24 Jan 2022 14:00:01 +0100 Message-ID: Subject: Re: [syzbot] BUG: unable to handle kernel NULL pointer dereference in unix_shutdown To: syzbot Cc: Rao.Shoaib@oracle.com, andrii@kernel.org, ast@kernel.org, bpf@vger.kernel.org, cong.wang@bytedance.com, daniel@iogearbox.net, "David S. Miller" , john.fastabend@gmail.com, kafai@fb.com, kpsingh@kernel.org, kuba@kernel.org, LKML , Linux Netdev List , songliubraving@fb.com, syzkaller-bugs@googlegroups.com, Al Viro , yhs@fb.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 21 Aug 2021 at 17:19, syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit: 9803fb968c8c Add linux-next specific files for 20210817 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=1727c65e300000 > kernel config: https://syzkaller.appspot.com/x/.config?x=681282daead30d81 > dashboard link: https://syzkaller.appspot.com/bug?extid=cd7ceee0d3b5892f07af > compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.1 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=13fb6ff9300000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15272861300000 > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+cd7ceee0d3b5892f07af@syzkaller.appspotmail.com > > BUG: kernel NULL pointer dereference, address: 0000000000000000 Looks like this was only ever hit in linux-next and fixed before it got to mainline? Anyway, I can confirm the following patch fixes the issue: #syz fix: af_unix: Fix NULL pointer bug in unix_shutdown Vegard