From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8BD19456287 for ; Tue, 4 Aug 2026 13:11:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785849110; cv=none; b=ZKG+7ok8g0XmWFuIlICeU0m+jT9DGg+AiS96z18ryGEIYi8nHRCwBx930MX2Pa9QRaGPZ3vcC5fA+HUaq9FeJrTru1AHqkXvg/JpYTeb8IKiwJRy4kbNR5NW9DCrbvCv/rDm7+YQiWJt4jpzNdlySPW+PtB29bkQu28xjI7XM+s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785849110; c=relaxed/simple; bh=YrEinkZPRNd5kBxtrP/1PM2Vd+ATpjBAdqFtz3OHGGc=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=gP2vgDUPTUwTWc7AhVxsC3cz2jbj17mm7Awo9SGMiNFHBP85mVgYzIM6vJuS0DWZsGJYJqmJI6bNBmzq5EMVqWIH46Jt+mCycAAxyVBlmK5DqDiZendXvwVKX2Xkqyij86n+dca+3dyDvHIScWH1bSemcwBN3aMDeHErhA0evQw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=LIQ8PfqD; arc=none smtp.client-ip=209.85.210.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="LIQ8PfqD" Received: by mail-pf1-f199.google.com with SMTP id d2e1a72fcca58-84885a4fcabso5340216b3a.3 for ; Tue, 04 Aug 2026 06:11:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1785849105; x=1786453905; darn=vger.kernel.org; h=content-transfer-encoding:content-type:cc:to:from:subject :message-id:references:mime-version:in-reply-to:date:from:to:cc :subject:date:message-id:reply-to:content-type; bh=Vbom+WG9P/kNUgNXoWJw3EAsCkR73fS0OX5/NQKix3Y=; b=LIQ8PfqDOUqAydbxWyA5nYSOnTozimX0qYvDk81TS4BB043SxKHDv+QjI5BtHsXC28 EIdUeUl+xtWETdCaXT8drypKVFbz4D+W8phKItuw3RrhptVyvOqWtWwRPo2sPw68NcmQ dZO4IJe0h1Xbd9AHhmRIMlRpm+SMZ6Qp/ig15J3PA3aHjnhcivzNb9ENecBmP/Z7O4yE h5ijUF+L4J6QHXXAu9ZZMpp+hv39/8/qyoMlOwaXxK3YTIUCaCmmOje0UWAGRgbtzyHz 6tCz/tg88ORpqnv9uLS/B/iDQmxF4/pOyaiaD8xJ6PeRQgK8kLsryWsVl9pbPElKP799 IPkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785849105; x=1786453905; h=content-transfer-encoding:content-type:cc:to:from:subject :message-id:references:mime-version:in-reply-to:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Vbom+WG9P/kNUgNXoWJw3EAsCkR73fS0OX5/NQKix3Y=; b=F1l5y7KF9NCLPLwWvReJm3rbhLK2qPHJnlqVB1KC7an+pa4n3OL5fB3OEOZrqg+7LN 7sq9LltZ4N8TOOB1ylzrZGfif5xJK6b4zjsLxSmBPb91OMHG2id/16LXfnn077fqiYZn /YHUWdAMH/NHr9fhIWl4aZrRZRg8qsMUQB/vAqfdlzLLpoiJlfGCU96jZPou6Cm5OKQw LL4HW/I+9bpFOtB0y9UjJLtZHqtbGvc1OD5nTEPUyM9jWpRUP8dDenWx3V9znD8ewjAO p3klLktLl87vPhklybifU1q1/3Shj7k5Dz9vINVx9K0jDBOrpsmUiIbNbzoVvHqyRqau L22Q== X-Gm-Message-State: AOJu0YxK1ldk4g4eDgTKFrvm0uTKnoBawX+3DpjK5cY7Iy85vhdyLyGq d2VPuuaZ24PxLxCiaN0vyCaHWyjuD98WHzWfdjc4jRgIlqwborwL3wsb9RR+BdsZVJcDwwgYM27 2KQvaXQ== X-Received: from pfst41.prod.google.com ([2002:aa7:8fa9:0:b0:845:b9e9:fcd1]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a00:2887:b0:84e:52d0:69cb with SMTP id d2e1a72fcca58-84ee4988987mr13320715b3a.75.1785849104917; Tue, 04 Aug 2026 06:11:44 -0700 (PDT) Date: Tue, 4 Aug 2026 06:11:43 -0700 In-Reply-To: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260731175834.1121005-1-pbonzini@redhat.com> <46663836-fd97-4328-8c7d-5efeeb222ce6@redhat.com> Message-ID: Subject: Re: [PATCH] kvm: apply VM_READ/VM_WRITE checks to all VMA types From: Sean Christopherson To: Paolo Bonzini Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Tue, Aug 04, 2026, Paolo Bonzini wrote: > On Tue, Aug 4, 2026 at 12:40=E2=80=AFAM Sean Christopherson wrote: > > > > But the issue Sashiko reported is just saying that KVM sometimes do= es what I'm > > > > saying KVM should do all the time: return -EFAULT. Or did I misund= erstand that > > > > one too? :-) > > > > > > Yes, that's correct. My point is I'd rather not introduce other chan= ges to > > > the !VM_WRITE case in stable releases. > > > > Yeah, agreed. But what I don't understand is why this would be sent to= stable@ > > in the first place. >=20 > Because the patch > https://lore.kernel.org/kvm/20260731160514.1101989-1-pbonzini@redhat.com/= T/ > needs to be sent to stable@, and this one fixes a problem in that > other patch. So this one needs to come first. Oooh, that makes sense. Thanks for being patient.