Received: by 10.223.185.116 with SMTP id b49csp1972766wrg; Thu, 22 Feb 2018 06:16:22 -0800 (PST) X-Google-Smtp-Source: AH8x224VXo2mW5va4M0DxNr1lyCA7D4jo0PeWEJwPTdq7ym+izKmNHfkMrd5iZEUUnt45UgFmn46 X-Received: by 2002:a17:902:8a91:: with SMTP id p17-v6mr6647704plo.375.1519308982182; Thu, 22 Feb 2018 06:16:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519308982; cv=none; d=google.com; s=arc-20160816; b=t6ASCtohzd4GBvLXGGSgIs8pQzU2rskwWzqHl59TyTVOxqrWqKr2YdTx8XHx89DU7P 6mU4lFu8NtJ6zFsSsJ4j4gwBBpZpPh19qndAUUaAr2496pnIbYnuc+Oq7hhnSP3FPB4N mVCov1mUEMm3JQomU2rEKT+2ycNZH7zaYaNYeq2gjwEozQZa9ELP/4dGHOuB2ksRFEgX Iwf7OtW4iaYLuIxNcRocRGCpA3j9oSjZGxp0r4/tVSkBCVQ+c3An7BmlZYW1dGeyYAyv zLrFIzm1H7rFLpquYtvdYakRPumhpiRJ4mHDjZrFqUhX+XFfADxXo5sTPFqG1WPNlSPk AiNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=sndENJkc+4tv2WLBMZmlvanfFASWNB9hefyjlBw5IBY=; b=XDdSXEPCjwS3I9mwre2TD9nS7CkUA5dr+tbz5AzpTCtRh2EG6B97YPrHGeEBsmkBb4 Z37jzZEV1ta45Gpw3UKC3MEFewwEXqHts7c/QtZrJayNECgN6rhio+MKC8nOoDVaYR7Q lHu935OuBigktY5FAIVzOnHyUBhQlga01Acq2NGoSMDnqlaJcBhzl25CFukKuWpIs2WY ATprtS6jqWl+I1Sq02UhBfOVciryN0RlE4/IlIv6qFEX5KP4nSajhIyb938LFjW3S+5D bM9vokVnmymoR0zlA4SCkEM5yJJVa1iLTj8ZrrwIZFSiPMguGoupIAFsIgFfMnYC56N1 8Bdg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o2si77042pgf.658.2018.02.22.06.16.07; Thu, 22 Feb 2018 06:16:22 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932729AbeBVOON (ORCPT + 99 others); Thu, 22 Feb 2018 09:14:13 -0500 Received: from lhrrgout.huawei.com ([194.213.3.17]:27178 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932604AbeBVOOM (ORCPT ); Thu, 22 Feb 2018 09:14:12 -0500 Received: from LHREML712-CAH.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id E4279FFE8172D; Thu, 22 Feb 2018 14:14:07 +0000 (GMT) Received: from localhost.localdomain (10.122.225.51) by smtpsuk.huawei.com (10.201.108.35) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 22 Feb 2018 14:14:00 +0000 From: Igor Stoppa To: CC: , , , Igor Stoppa Subject: [Question PATCH 0/1] mm: crash in vmalloc_to_page - misuse or bug? Date: Thu, 22 Feb 2018 16:13:23 +0200 Message-ID: <20180222141324.5696-1-igor.stoppa@huawei.com> X-Mailer: git-send-email 2.14.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.122.225.51] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org While trying to change the code of find_vm_area, I got an automated notification that my code was breaking the testing of i386, based on the 0-day testing automation from 01.org I started investigating the issue and noticed that it seems to be reproducible also on top of plain 4.16-rc2, without any of my patches. I'm still not 100% sure that I'm doing something sane, but I thought it might be good to share the finding. The patch contains both a minimal change, to trigger the crash, and a snippet of the log of the crash i get. Igor Stoppa (1): crash vmalloc_to_page() mm/vmalloc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- 2.14.1