Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp2873374imd; Sun, 28 Oct 2018 20:43:45 -0700 (PDT) X-Google-Smtp-Source: AJdET5eEQUcVnpRw24Jy0qD3vDEDoEGzN+RHwcU152asfQNvbTBngX4hvbCcJjN7JyrEEmNcDKdi X-Received: by 2002:a17:902:aa8d:: with SMTP id d13-v6mr12807452plr.74.1540784625937; Sun, 28 Oct 2018 20:43:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540784625; cv=none; d=google.com; s=arc-20160816; b=i0k1C0JlXad3h0lAm7ux+KRXW5hOQlnGI7OjUtvHbmae2I3pYMsOcwpgGf/E/BjNzR 1HPgQBjGcPzk7h+E8TE2rPu8MVeahS/k1tRxrOSrq6OD32Wn3EnDWz8vpN2tFz97j8Bl jgGb9KbEuZ0ElDleWACBGQ6yjtiBjM/t/oQIxs2NRmKc6S9BIrVFbX0RJY6WKySL0zp3 Ef4XtwyRMmR1jJYmcG/BK9cTsnqmcvrdd8/r7GSVJR3sktODn1ZLg0TPqSt1I06wzFAw oMZEgz/5NO3UezJo0RCZcdnVgj5MDTy7PPwZBzQ57WzNPFXGrR43xsfmOjJi2nZLFXpW Yc/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=mgQKg5cpqf/fe95yBECr7IuD+GRxZjLjv0KQk4WR33c=; b=Siw4hGggxmCdrfe22JXvslslSBKM+Ia/2Ffc041iUZ7D5WeC5aXOT8Eptgwk1rJMHb 4NpFIuTW1av23LLQHcMzI5aZWOOmfERpWKxhJl4O8hwhiughVAp+mU2+yictABUIMlHb KUJIzZXQhmC0B3cX+KZ44N3OHoLn4vC3yQJ/yHC8LDkFGtSV3A3jjlgeuLLuu66klLME Anr4EHhPOCPSTSDDlrhIRji4LsaSzoTKaY1JfnGYgXsSm/9oDHKpV9Q26RDpaqzjOZot x7OpqTJ03azhMxvawe/1h23MRKd4YADu+ygyAD498DuhhQ52Tzdlitqvnfr6EtvYwqbc iXlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jJwLfHws; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u1-v6si6793901plb.313.2018.10.28.20.43.30; Sun, 28 Oct 2018 20:43:45 -0700 (PDT) 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=@linaro.org header.s=google header.b=jJwLfHws; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729322AbeJ2MaB (ORCPT + 99 others); Mon, 29 Oct 2018 08:30:01 -0400 Received: from mail-qt1-f169.google.com ([209.85.160.169]:45234 "EHLO mail-qt1-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729257AbeJ2MaB (ORCPT ); Mon, 29 Oct 2018 08:30:01 -0400 Received: by mail-qt1-f169.google.com with SMTP id l9-v6so7679747qtj.12 for ; Sun, 28 Oct 2018 20:43:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=mgQKg5cpqf/fe95yBECr7IuD+GRxZjLjv0KQk4WR33c=; b=jJwLfHwsxX12LlCz7xNgooeXXqEX4f8QQMK/abnKniLrTN+bpcAcAkcvhVYSyAaxpb mTcr36CMwwXiECn268ewbuTU0NVv+KWzsHXVvdKqmbULe8u7lNM/fWQ7tmVujcPsqTk7 HSsWZFvYK88AitYo0vKYTiEM3Zgjd/zTXsrT8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=mgQKg5cpqf/fe95yBECr7IuD+GRxZjLjv0KQk4WR33c=; b=MGG6ASiKrXjysV2Wgm/TcO7YSNZJDBAgMP640kUMCpO4eOUOW92iTFn2NfccelUoHe sDfa/ZuxiwrcRl4j0ED2l+R9aqwPt9Hrnrjtqe560XywqEQFY+37mOhT4PosjsPri1Yi GUEwjs0j2OQgjdA9mVwaHvsgdMilv3xX2DF9/Epg5rJtophNclfaCItH2klAdwZ5GP5y myJYBWbpz+mLWqDByPPaIZWAeGtEHWjIzoMogzHnJvu9StCtdEMPjE4PxEEeDb9YyFKG HrxbD7JH0WlUGx9BRTWxeFs9sgFAogDt3SaZV2UEYKN320M5jXWjooagqTg2xX6Yrngp XhXQ== X-Gm-Message-State: AGRZ1gILZQuCEGpq+Rxe8FYykrvq1Feibcs0MDRqUfZ6258+5s9O7eDD 7ZebNMb+hFdZYB8OhG7d45j916NzC/c= X-Received: by 2002:a0c:884d:: with SMTP id 13mr11691203qvm.170.1540784589553; Sun, 28 Oct 2018 20:43:09 -0700 (PDT) Received: from xanadu.home (modemcable228.104-82-70.mc.videotron.ca. [70.82.104.228]) by smtp.gmail.com with ESMTPSA id p31sm2879309qkh.86.2018.10.28.20.43.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 28 Oct 2018 20:43:08 -0700 (PDT) Date: Sun, 28 Oct 2018 23:43:07 -0400 (EDT) From: Nicolas Pitre To: Anatoly Trosinenko cc: linux-kernel@vger.kernel.org Subject: Re: Cramfs: "unable to handle kernel paging request" when reading a file from a fuzzed FS image In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 28 Oct 2018, Anatoly Trosinenko wrote: > Hello, > > When reading a file from a fuzzed cramfs image, unhandled kernel > paging request occurs. Hmmm... It doesn't show up on my test system. > How to reproduce with kvm-xfstests: > 1) Checkout the v4.19 tag, copy x86_64-config-4.14 to .config, perform > `make olddefconfig` > 2) Enable Cramfs in the config, then compile > 3) In the `kvm-xfstests shell` perform: > > root@kvm-xfstests:~# mount /vtmp > root@kvm-xfstests:~# mount /vtmp/cramfs.img /mnt How do I populate /vtmp? Mine is empty at this point. I imagine I should put the cramfs image somewhere on the host, but I'm not that familiar withkvm. Nicolas