From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f73.google.com (mail-pj1-f73.google.com [209.85.216.73]) (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 631D43148B1 for ; Thu, 18 Sep 2025 16:04:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758211451; cv=none; b=JiScg9dVCKbHFrD93sYYb5b9cUWzS7w1nzgTI6PfYS9FnRIVeTbziou9dpm9PTZcRl3gb6JRgZmaycm5nOBHjzfcQx/A+lshpuK48t/J874ajmjFG0s2ViSqJ+QXhXcBZZYoqUWcDlU8TYdiKbeSipae3tgNjrVtyY1SMXrVoTs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758211451; c=relaxed/simple; bh=Z5B5dt6wI87+KOD3sTN8FRIoAj7TBjgpAUwP/aqCmqQ=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=bM4NRnoIU7S0J7yA7lYXqcDBPR0rM2hv76yrWDB8q7WZXP16rr865X6BxGAuNbLIsUANHk1LLr6aK7YiTOLl8Do0nxvAhiqFE+F3yxq0WAWuubmtBGZzYMwiSD45Sd7InpO4BQpOSdP0LFMJ9/Q8W3HO57QxQpg5DIzshbjt6FU= 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=VOr72Oha; arc=none smtp.client-ip=209.85.216.73 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="VOr72Oha" Received: by mail-pj1-f73.google.com with SMTP id 98e67ed59e1d1-32eb864fe90so1635528a91.3 for ; Thu, 18 Sep 2025 09:04:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1758211449; x=1758816249; 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=tqabNObTrUIXb/BYAEPfcGgxscP8Gw2Vuj2oVftkStA=; b=VOr72OhaMYpzapuIs580oRqi7i5QW15pQ9M7wpE19Y140mgSmxSlSVReqFLOdc+dEJ TNey1BMN6NnoMxNbUCB6x7YhYkHnduajq+EtrEbB4RPOCSqhq6RxkIP52vIQ94Oxpj9n wgd5FY7+hHyR2ZAi9W6K8Fh3rcnD7DvjNqx+s8Ox7BzmO9bSWKRNAAdeaoUZ9OAnWrtq UGKNxq2qcV7Xy2dSdlpMgMs0wXSQ0N0G983D8i9Z2DkJQD6pTjRwSh9ujtkhg+2p0e4z GsxHpfYUP/U/iqEP2WuxUDFFHEB0FM972laqIV+9ueYEzkZ6PvV0xIMG4/HF34G1cagy bS1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758211449; x=1758816249; 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=tqabNObTrUIXb/BYAEPfcGgxscP8Gw2Vuj2oVftkStA=; b=ucV+BU8kpapCeN4T4DMrGoeRrTnDOkm8i9zr8yXyTqMaplAkI1BOy3UxlaWyIJiwno /xLga5i/19Rwca/B04AGwVjOj5OYKP747atYqICpgCSU88iYivr8KHJMNWrNPcGtZ83f I0K21e4CIu2Rdb7ODF3IXSENAoLuX4h3zWMvWOClJZ2Au/XTlatLu1HzBDv1yTLSOzsl OxHmKHhz2h3Ottt/vuKSAAtgdzqOn/LuvR4+Iph9m4H0a1zKdqkU7/zkisXzv5D6VDCG gXpywUJALepxZcP2NCMntKIrd5lxwIi4Pzn8lwRMm7T1xdhcTXB4e9sf8cyCrlIkCSyF 1MTQ== X-Forwarded-Encrypted: i=1; AJvYcCX7laT+8yWIJ+eC8cFU2XGp0rHE88UFQKaaZJ7Nw9Z2lSdDCPp5yGbXJHZGKIGmdmbLuOD8cHxZw5uy6B8=@vger.kernel.org X-Gm-Message-State: AOJu0YxNkrjAL6hke5oayY6Jo1eZs0TERL5uMFKO1p/edndaquLMYWws jCwDxTCrNaAh1/ZrRyfEIPdeN1eMAQ1UcW2+F9O+w6ZhfQ5JiCT2Y0KK9LzHpOh3LgsA9EZ8TVy YJdN5Nw== X-Google-Smtp-Source: AGHT+IGkmbYJfZP5nllHSP5gPnF6lwqm76wSLahcIX1/RcNPCgiykqnALzGjrifpViIQLPrzkR7sDPMdXBM= X-Received: from pjp16.prod.google.com ([2002:a17:90b:55d0:b0:329:ec3d:72ad]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90b:3f4b:b0:32e:9281:7c7b with SMTP id 98e67ed59e1d1-32ee3ebb1e1mr8451052a91.3.1758211448798; Thu, 18 Sep 2025 09:04:08 -0700 (PDT) Date: Thu, 18 Sep 2025 09:04:07 -0700 In-Reply-To: <20250918154826.oUc0cW0Y@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20250827194107.4142164-1-seanjc@google.com> <20250827201059.EmmdDFB_@linutronix.de> <20250918110828-mutt-send-email-mst@kernel.org> <20250918154826.oUc0cW0Y@linutronix.de> Message-ID: Subject: Re: [PATCH v2 0/3] vhost_task: Fix a bug where KVM wakes an exited task From: Sean Christopherson To: Sebastian Andrzej Siewior Cc: "Michael S. Tsirkin" , Paolo Bonzini , Jason Wang , kvm@vger.kernel.org, virtualization@lists.linux.dev, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" On Thu, Sep 18, 2025, Sebastian Andrzej Siewior wrote: > On 2025-09-18 11:09:05 [-0400], Michael S. Tsirkin wrote: > > So how about switching to this approach then? > > Instead of piling up fixes like we seem to do now ... I don't have a strong preference for 6.17, beyond landing a fix of some kind. I think there are three options for 6.17, in order of "least like to break something": 1. Sebastian's get_task_struct() fix 2. This series, without the KILLED sanity check in __vhost_task_wake() 3. This series, with my fixup (with which syzbot was happy) Longer term, I'd still like to land everything though. > > Sean? > > Since I am in To: here. You want me to resent my diff as a proper patch? Ya, I think it makes sense to harden against UAF even if we fix the KVM bug more directly.