[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dee9721a530576e667881d86bbec351b@natalenko.name>
Date: Thu, 05 Apr 2018 16:32:45 +0200
From: Oleksandr Natalenko <oleksandr@...alenko.name>
To: Kees Cook <keescook@...omium.org>
Cc: David Windsor <dave@...lcore.net>,
"James E.J. Bottomley" <jejb@...ux.vnet.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
linux-scsi@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
keescook@...gle.com
Subject: Re: usercopy whitelist woe in scsi_sense_cache
Hi.
05.04.2018 16:21, Kees Cook wrote:
> I had a VM running over night with:
>
> [1] Running while :; do
> smartctl -a /dev/sda > /dev/null;
> done &
> [2]- Running while :; do
> ls --color=auto -lR / > /dev/null 2> /dev/null;
> done &
> [3]+ Running while :; do
> sleep $(( $RANDOM % 100 )); sync; echo 3 >
> /proc/sys/vm/drop_caches;
> done &
>
> and I haven't seen the issue. :(
>
> FWIW, I'm using the ahci qemu driver:
>
> -drive file=disk-image.raw,if=none,id=drive0,format=raw \
> -device ahci,id=bus0 \
> -device ide-drive,bus=bus0.0,drive=drive0
>
> Does this match your qemu instance?
Well, not really. I just pass 2 raw disks as "-hda sda.img -hdb sda.img"
(it is a playground VM for me with RAID10, LVM and LUKS inside, but I
hope this doesn't matter). Does passing "-hda" differ from your
approach?
Regards,
Oleksandr
Powered by blists - more mailing lists