Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp3037576imd; Mon, 29 Oct 2018 00:14:00 -0700 (PDT) X-Google-Smtp-Source: AJdET5cMkjCtI/1+1BRPr5HJWNrxbwsToCJfIvctzcOSQgfu6kWNHwWy8Twa8WA2xPSp673DmmpB X-Received: by 2002:a62:3046:: with SMTP id w67-v6mr8793024pfw.177.1540797240221; Mon, 29 Oct 2018 00:14:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540797240; cv=none; d=google.com; s=arc-20160816; b=lBW7IZduoJ2QBkM0f1froGEmkS/9CqN91DqdcVUVaB/EK+sSCu97/CFbFH3yI+oI8q vAcu5TXJ+MIErYT4uJtoJ/MtXB0VK36IcdpFu/w3wTNqU3sy5v/yvmBM91c38vj8K7TD 0t0A/S29mRRrzoKKGLGijnUpzg+pH5753c59EQg7egf327XwnFJutgDEARYCIDzqzkrc FNV5oledtiIFip3N68qilhuK6EWBvVJjTqqGSLnn/43LMns+TFmvBo01i5M/RgFP8KYe /vEvrnwaNupqGX5UEUiCjka6TrTrFnpv8YC/tKwpxQZRcFa0XOTEHlCEkNVjByLxkV5s GsEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=jKfSkwrnB9yYAkWPhXJkbm+2TXBevDpflWT7Ro76ZOI=; b=Klvn9QthD4Iua9VPHUERwpSDgtJHGLYiiD+Cbx77i3u1a90FPax5R936QTsLKz+ThI Zkr3J6fxgokHgAPOemR07WxmFzFK+EvtybaDTZdwQZCyHh12p49zSQXFXc+02c6aVD79 sGp9GrwEQbMznbzKLejgjP01CtBZ4eWltLCJ0idNOqpLYcw8lbk46JOiXWeWHhWq7bEG fDJULIJzvUvwRbpZ5JhCsImB8ItKAUdNM0OsyGkXvFdBCHmk5q5DeHuX5B37izBaSafW 4vzTbqJ6hBrTxs600GjMJ1Th7BL4tNMAQFzGVFgnXCoGhLTvj0BLCnxINjcIanKqQFjw fsVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RhfVxrsu; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l12-v6si19184048pgj.76.2018.10.29.00.13.44; Mon, 29 Oct 2018 00:14:00 -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=@gmail.com header.s=20161025 header.b=RhfVxrsu; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729414AbeJ2QAj (ORCPT + 99 others); Mon, 29 Oct 2018 12:00:39 -0400 Received: from mail-lj1-f176.google.com ([209.85.208.176]:42031 "EHLO mail-lj1-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729406AbeJ2QAi (ORCPT ); Mon, 29 Oct 2018 12:00:38 -0400 Received: by mail-lj1-f176.google.com with SMTP id f3-v6so6711506ljk.9 for ; Mon, 29 Oct 2018 00:13:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=jKfSkwrnB9yYAkWPhXJkbm+2TXBevDpflWT7Ro76ZOI=; b=RhfVxrsuExP3o70RvFtEZdF0uPhHwL2Ek9rpDCyxfU0W3dubkkwZ+OsDGagGDz1rRb XjVt6dK2qAbbBCTLbnsmgwwDxNHnj83g0C/cbrdfMlImiyoNBokXpNrEDL5wEBuIUYUa 3J9jylR4PusN12nZeE+5lYq4YZRZgWS+6TvuRNGeTTBgmkIHTUhW0RBelkNh3RqLo+uL t2GGx47rus6uNp0nZlSWpP/KRBVjtBphdIheh5JTzTij+eZDuABKjSilqQqGNTcr0ru8 QG50+vPXDIlvB8B5Pv8s2lklQsSI3rLHcWo4xLm2hWjToV12ZlVNoiSF70oz3866B5me VO4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=jKfSkwrnB9yYAkWPhXJkbm+2TXBevDpflWT7Ro76ZOI=; b=P5mysoyGuaCJbMjVydsHXG/kCmK0GLgCroHMcZrov/wn31aToOGo5IjO9mjYO5xHxN xEIg7vy+FENHw9QdXupllu5ddiTPZvOxR/nKorAYDAgJxES+wOJ6gb4oag2QmeQc8Rec lVlF/rhpZbY3Trp0lr/GsX3nHOqCXD1oPovg0zopR1Uhscep6tQY/XqMlWdhBSKDUpHb Y89Zy2pS9lbW42eMHAeqNS0FQNtUC5xJQ1et4r8HYKa5IYOeXb9hPzVNUiJshGj+sRod 4AIasnAEjTWVSqnXo71QdsudBzqc1Ygw1Jepa26bb66BLhpH7vZSZT3O2xs8ZNdIrz3v qkug== X-Gm-Message-State: AGRZ1gJBYhKMmSIyeCzxls6HVETvjrs7jY2YUbOQhuEsi4evSrsJ04ph lbJE0Huy1Ufl6Bb7Gf4t7RZKP2NSkrWit1qtRjc= X-Received: by 2002:a2e:b017:: with SMTP id y23-v6mr8017648ljk.82.1540797193847; Mon, 29 Oct 2018 00:13:13 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Anatoly Trosinenko Date: Mon, 29 Oct 2018 10:13:02 +0300 Message-ID: Subject: Re: Cramfs: "unable to handle kernel paging request" when reading a file from a fuzzed FS image To: nicolas.pitre@linaro.org Cc: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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. Oops, forgot to say, it is the /tmp/kvm-xfstests-$USER directory on the host (it will be created when you first launch kvm-xfstests and it is "live", i.e. like NFS, not like "pack to ext4 image then boot and mount"). > Hmmm... It doesn't show up on my test system. Mounted it on my host Ubuntu 18.10 amd64, executed `cat /mnt/xyz` and it was "Killed". Maybe it is something freshly added or arch-dependent... # uname -a Linux trosinenko-pc 4.18.0-10-generic #11-Ubuntu SMP Thu Oct 11 15:13:55 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux Best regards Anatoly =D0=BF=D0=BD, 29 =D0=BE=D0=BA=D1=82. 2018 =D0=B3. =D0=B2 6:43, Nicolas Pitr= e : > > 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