From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f74.google.com (mail-oo1-f74.google.com [209.85.161.74]) (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 892F518AE2 for ; Wed, 4 Feb 2026 00:10:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770163841; cv=none; b=a4seZ9Yvi4ZY5M62Jy6jPCiZMT+Frn4gZ6iDlI+EZk91JUS7tjvsWpZ5crEKviyHPbkbcfxu11Q/HTPIQz6dys+Yf0v/6ZP5a7+eHUY+jSeAUvF+XWKDaJvv04roBl9/9V9JeA6KJJXuGa/JAb2zZ1KNiU6Zm5hkAYhpmxJegzc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770163841; c=relaxed/simple; bh=jZ3vlTcO/4ulnqY7jw5dZ3hjdbQMjCoVlfVlP4fF10M=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=nTulwTcw+ChU2EKeFMXHkge7hOXGKOp86rlwwFDS+dBIcUPBpCAL5taJNj6BopEDs0u3vXLv2xOSem3cjbT0YqS7tW4tRvLhyIhT+J1YVGra5s8FHg53gqgURSuiB3qEkndW0klNotbi1mIEfmqXsVf2LaxT4Pd+PY/cfeqQ5es= 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=fa0FlzXV; arc=none smtp.client-ip=209.85.161.74 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="fa0FlzXV" Received: by mail-oo1-f74.google.com with SMTP id 006d021491bc7-66743ed1e17so11175339eaf.3 for ; Tue, 03 Feb 2026 16:10:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1770163839; x=1770768639; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=C8p8NbRPCPDmkixC3vF525swc1H8aTdK9eIWx03vtzI=; b=fa0FlzXVRr/enafgCyiyX4UMj9XCyZF2U3aMYQfQa2IMpdX30RFqS4uvg4rzdz0vn8 +LqgkSliBeV/zaYCaXvYnuwma1qV7/rMhpj2iNV2h4pS1hhxkEfJ5Kt2ghNU+CHkVsLU vmtf7X2I/icICQcaSR6FBEdckEgd9ZYPLhrlnVV5f4lQUEjGvasCnp0lXQ412NjyWTp2 CEeJ+NbKFIQqYVgKDuLPS+dVgalyLOb2VBhCV2hSzRZaqy+KzRr0AC89GKnCLqdceRAK aZrCNbxAfaUzRZBANrgQOpytuWSIVPnjhf+2h7Jo5FuqpM7P5TzLFQ2+zoJjFaeW6Gzj 8QpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770163839; x=1770768639; h=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; bh=C8p8NbRPCPDmkixC3vF525swc1H8aTdK9eIWx03vtzI=; b=NFHjtzuct4fPoDMwHG0jucod0i/GXBXVNG9EQGo30i+3D3ZOoJPQ56zSIUCulsZqcO deNr/e9qP8wuOAFXcbAvXTd2hQhc35YL36jsP+92XH0mKAPWuUy21fRNdG3UI0IQFgrq 16KZ+Wp3j5W/6tnMzcLk+bP4COeoaxFD7Oqsegy6okBAmgCN+3+pzuR6uWWLudWyC3pG bBqQuTDJh9t1uyVLbcwxFZBXOw0Um4IakMOcK64Q0BCxRNl6nbyHX3C7Kr9+qEZo48pD //doyaOEhx7lcHF0XL61DR4j+xEXp1gurTahqmnb30Xdp7nfEJbzxRQZRwWSqI5l26qU ndtQ== X-Forwarded-Encrypted: i=1; AJvYcCXupW3XDx34wSpvZXDsdeCJzlsqtrisqXtIL2y+qKFv9BGNQKa8/QIlzqSU+nx8Xta768k+Kbn1T5WbgiM=@vger.kernel.org X-Gm-Message-State: AOJu0YyUIOYfcnhDtyZLln2zs1gAec3PmV4e/wKARPjArvDwxpVKZqBJ HUJ5X5CGQzQ4t5KD9hqzLr6n3i/9x7U+7Fzz+ceeHUczoZj6pa+itvZ3EdB23GiEjIdxGt7Cq1r wygDI8w== X-Received: from ileg11.prod.google.com ([2002:a05:6e02:1a2b:b0:447:81b5:ae2d]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6820:4889:b0:663:859:c429 with SMTP id 006d021491bc7-66a23334fb3mr580988eaf.59.1770163839458; Tue, 03 Feb 2026 16:10:39 -0800 (PST) Date: Tue, 3 Feb 2026 16:10:19 -0800 In-Reply-To: <20260123222801.646123-1-kovalev@altlinux.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260123222801.646123-1-kovalev@altlinux.org> X-Mailer: git-send-email 2.53.0.rc2.204.g2597b5adb4-goog Message-ID: <177016337221.570259.7480661884479606401.b4-ty@google.com> Subject: Re: [PATCH v2] KVM: x86: Add SRCU protection for reading PDPTRs in __get_sregs2() From: Sean Christopherson To: Sean Christopherson , Paolo Bonzini , Vasiliy Kovalev Cc: x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, lvc-project@linuxtesting.org Content-Type: text/plain; charset="utf-8" On Sat, 24 Jan 2026 01:28:01 +0300, Vasiliy Kovalev wrote: > Add SRCU read-side protection when reading PDPTR registers in > __get_sregs2(). > > Reading PDPTRs may trigger access to guest memory: > kvm_pdptr_read() -> svm_cache_reg() -> load_pdptrs() -> > kvm_vcpu_read_guest_page() -> kvm_vcpu_gfn_to_memslot() > > [...] Applied to kvm-x86 misc, thanks! [1/1] KVM: x86: Add SRCU protection for reading PDPTRs in __get_sregs2() https://github.com/kvm-x86/linux/commit/95d848dc7e63 -- https://github.com/kvm-x86/linux/tree/next