Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1820556imu; Wed, 21 Nov 2018 02:27:04 -0800 (PST) X-Google-Smtp-Source: AFSGD/WC6UjYW23Ep4vg8isKUzdtW3acn+YvEtuyB3XXQhABRV4SGkHVWGS7JG8f0wftuSd9dJwp X-Received: by 2002:a17:902:654a:: with SMTP id d10mr6066189pln.324.1542796024450; Wed, 21 Nov 2018 02:27:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542796024; cv=none; d=google.com; s=arc-20160816; b=C+U7e1cLWcO4XkXdXYeSrOjCGZXfafTrjgLvqIOsVBEJhH3C0tzTvqd6ZNOLB9bSfe njbD94wBobucP0jiqwISZG6cmpuVBW89p4PdhRYPp4LMuT3aU29RkJfL1YHNAFk59vTD 5CTZbr+x0+K00oZDQ6e0JBxGJ9O4wI4ZEPa/3Vnv3VL++phpnGuyogu3E8OeOz4kg+tF Ja8eHzxMt+I3GlGJdSxi1ZHuwEoKWLLu5EjztmrOLg53OxanrdvkW7yaXkmupEqATTcE M+zgF8zrlbfFL+mZ5GONVtHt2JauIjfeAHKLnU/PH0C2Z8zd1U4XKTkRjivyHhWCBAJs gOGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=K49jrwg9lTAITcLS01h/rAlZcCdWzc0eGMEDKwnr7IM=; b=E0d41b4xKNNL+simkYYcDpnhirtu23/hb0BlmX8NI49VLc2pSXlRTCONiToh7rZK92 2FvtCOURU38miymgTd08KdmDa82cYpAApOFGtIaLkfXTgy+oM2m3poEPVu2nuzwGWvvZ JuGDwK7zBq1t1s9CCB64HFKeM7SZboWb8UDi+yxPPI28Rt2iSvd0xoUUmNTu0AknBt9a dElFc47y9NTYPGf3kxOO+Qn9lm9RZduTg7nqmueyj+1lJPH2RqR7FuJFQmQvTwcZ1oCj iWD+J0TRvgXOLX2+69/0YM+LNWq4BA3LCvUB8O28XpyJTy71B+1xZxBlFaCAjhIXRq5C Kufg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=gejMtYd9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b9-v6si43125888pgq.589.2018.11.21.02.26.48; Wed, 21 Nov 2018 02:27:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=gejMtYd9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728314AbeKUU76 (ORCPT + 99 others); Wed, 21 Nov 2018 15:59:58 -0500 Received: from mail-it1-f196.google.com ([209.85.166.196]:33150 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726001AbeKUU75 (ORCPT ); Wed, 21 Nov 2018 15:59:57 -0500 Received: by mail-it1-f196.google.com with SMTP id p11-v6so12406955itf.0 for ; Wed, 21 Nov 2018 02:26:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=K49jrwg9lTAITcLS01h/rAlZcCdWzc0eGMEDKwnr7IM=; b=gejMtYd9z69oPbqO7eVA0264xorQwULJzZuGeIbzfIW4Q3j2J2GKE1KJqbfF5IOram 8jUkGTh1SqQWOznlsQ73DNKkG6mKMte16wNIXkaxgIXbJDsTq/QW6n0yrASh03x1mNfG qTY1h332Z88ABGtEW/4iyoyIPVuBwTlugn2c0TW2cUuYM2MumizmO+4z5HOg3rUBDemt 7wdyFf71MHBYG6kL0Nm3Q8emDOxVchJ9aCfeRo3ONQ9MDidoxmlg2hLH1eaPJcCoJW7n rj2wo+2Iat20bICk/VH7nm67z4WuZOH/6ZeIWlXWu5zimQLcvi2GxWTMRtyUZZDMa+u1 R+eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=K49jrwg9lTAITcLS01h/rAlZcCdWzc0eGMEDKwnr7IM=; b=Sp7gi2hmJIokjwbZQ6x8Fwie/ongQbJk2G1yi0LDmkoIK2gPMJUBb8t/JiLC2Yi3n6 uDNNYwqMPC/YxebPomyukSP6zVb+2z04CDwE5eEmxjMYBS1P6hmnA6dUiMw20zTSEQXV S9rDqgiYpwA+6h8ipiuuafYkPcC+nN1bbgtkLZoiAcpAnDo7dMaO1jZIQ1I4UtPeSow7 kC77Yl5TSt8wEORyPJtwO/fWukpoPfeW1h8kbF5Nl/d87aOAq5e2gUIjjzGO1Y/S8LFC 6kpP/O1pgz+J/ebA8e2EO2R11txTqRcaMqVwzGkIMNXOkRCwLBRzmKQFYjgUlp+NL/XB hPTQ== X-Gm-Message-State: AA+aEWaNfSgWckektK2GgZMzKwzTYLH0T14GTixwjmrqutEFlbQiUfav 8KtS+NBlmGxYycQmAhxWBrEh4UgGOgO1eKRZY4IFKQ== X-Received: by 2002:a24:b009:: with SMTP id d9-v6mr4819187itf.166.1542795542315; Wed, 21 Nov 2018 02:19:02 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a02:b003:0:0:0:0:0 with HTTP; Wed, 21 Nov 2018 02:18:41 -0800 (PST) In-Reply-To: References: From: Dmitry Vyukov Date: Wed, 21 Nov 2018 11:18:41 +0100 Message-ID: Subject: Re: BUG: unable to handle kernel NULL pointer dereference in write_port To: Kyungtae Kim Cc: Arnd Bergmann , Greg Kroah-Hartman , Byoungyoung Lee , DaeRyong Jeong , syzkaller@googlegroups.com, LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 21, 2018 at 11:11 AM, Kyungtae Kim wrote: > Thank you for your reply. > But I think this kind of crash can occur in real PC as well, and I'm > just thinking of some way to stop it in the first place (if possible). > because malicious users can use this, so as to make the whole system > (kernel) work incorrectly. If I am not mistaken this program writes to /dev/port. /dev/port is strictly privileged. p.s. if you are extending syzkaller to do new things, it can make sense to send pull requests upstream. Then we can review the changes and figure out what should be tested, and what does not make sense to fuzz. E.g. also don't give /dev/mem to syzkaller ;)