From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 98B2D194A6E for ; Wed, 10 Jul 2024 17:27:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720632478; cv=none; b=buongIeO7Cha3j1ioPzfAo3n2eReFCuSSKPAuAdjGiJuuUEHxbLCjcSTfVQNmI3mvr3caSHmxC8/AldmJiRXlbte4d0UtZOS6eOEDcj4MRTPFRY47B9q4NryHSP6VYcpi8ddepysqUfsbZ8cj7gotj+SvEV+Ax8fC0BAmgwxtQQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720632478; c=relaxed/simple; bh=IfifOGPyaLg3kQUdrerqtXi3VLiuY2GjEHD4EJslXHw=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=jTLsISpMpEvgDpR8J2IWc+5ygJa4iJPEw0hiSt8s4JAPC176SVONGzn3dtKgfu1eymmfjgt1mIsdHwDt+F8M7G9eqV/gXqzji/lEHbOQByVZrH2rETuisqbYdVcRWvK7kU6X7adrILGZD/qy493CSoqNgUKrYzv2/TuUuD6EBiM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=FZ/RQCVw; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="FZ/RQCVw" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1720632475; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hYZ6HDiMSyR3QBtyVZQYJMKt1pNSP3qQpWhlUmgQsEw=; b=FZ/RQCVwEENmrUbZF/Fqr32p1fLzwOqYaTtdvEZPnTp0XfOIP+FWDw8YsZXOol0AhKvUjT XXVR3NQ9kx/NkSh00toWKCi79SQOrCkq5m+pA2Dafs0ktEYtlRi+7EgfsPRIojrV/NAJIs 4Bg5QYw9Z1IlAkAF/p05YJzzpDqIskc= Received: from mail-io1-f70.google.com (mail-io1-f70.google.com [209.85.166.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-22-0xL-v8wuOv2djap8YBzotg-1; Wed, 10 Jul 2024 13:27:54 -0400 X-MC-Unique: 0xL-v8wuOv2djap8YBzotg-1 Received: by mail-io1-f70.google.com with SMTP id ca18e2360f4ac-803bafb0b2eso3170039f.0 for ; Wed, 10 Jul 2024 10:27:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720632473; x=1721237273; h=content-transfer-encoding:mime-version:message-id:subject:cc:to :from:date:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hYZ6HDiMSyR3QBtyVZQYJMKt1pNSP3qQpWhlUmgQsEw=; b=Oo+mnMvZ1H/sBDVb7AzMzHeGqWS7dMVmxVwGHY2355jv1GrKUDvYQBq4PfGsKWctSV 7kS4Woh8kTax/KVCK4TiVeZrIKLc19VK4etJ5S2NNmE528gOAQL0pirPnYWYoyd6VlrC RpoUFFzW5nMpOn47kQtp/jBWbQjoiKkg2aF5wQ9K63MqQSI3+22CgqPRYgWWc1LToSgw RucMNyoHc0g/NDNaH8Iqjmb/zs4G8Op+3eGdAH9WnmdpzeGd4ePrUqWhm9BRdtOtZ777 w8R/bEFPm5XUj8s5q3WIhmxWBUVWw6pHaI5CKW8g4RM48L7Tl4mjnP+hhIkJ2p8l4hff mWgQ== X-Forwarded-Encrypted: i=1; AJvYcCWFCRRQG7xzB7h0ghvpZUeYPb6wBtcb5Cs1h2DcwLj1PlLPXbHjIB1jFnd8wvg5D1Es4sbmQOMcd3fJeZo/abBzVsn1En36mAesWrwJ X-Gm-Message-State: AOJu0YxiRNhbk1IoAuRPQnBMrgdMGbyL1NnAEjVl/cF9m89XVLr8ESMs AP41LjTlpufg6MMn8y0g14IFm59qFpIu64AeUHizMCXdk3IpeT2RHSdL/pcRc6EkxBQX1IMA0GU OuWmKifYK9VEtLWGJuQDkJ/IFwVKdlTYBi5MWsxk4x1wLRWY4FvYydWGCbSTr3A== X-Received: by 2002:a5d:9b84:0:b0:7fb:8ff7:8f85 with SMTP id ca18e2360f4ac-80003abbe16mr601718439f.21.1720632473317; Wed, 10 Jul 2024 10:27:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHWMPLAIAUsQ5VWLZ9eILEuoRMq0MQDlWAWP6kvNa4PD56qjkNDaRRy9BnTnBuv2KwZspkbgw== X-Received: by 2002:a5d:9b84:0:b0:7fb:8ff7:8f85 with SMTP id ca18e2360f4ac-80003abbe16mr601716439f.21.1720632472933; Wed, 10 Jul 2024 10:27:52 -0700 (PDT) Received: from redhat.com ([38.15.36.11]) by smtp.gmail.com with ESMTPSA id ca18e2360f4ac-7ffed95e7e6sm129115239f.53.2024.07.10.10.27.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jul 2024 10:27:52 -0700 (PDT) Date: Wed, 10 Jul 2024 11:27:51 -0600 From: Alex Williamson To: Linus Torvalds Cc: "Liu, Yi L" , "kvm@vger.kernel.org" , Subject: [GIT PULL] VFIO fix for v6.10 Message-ID: <20240710112751.7168972e.alex.williamson@redhat.com> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.41; x86_64-redhat-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi Linus, This fixes a late breaking regression introduced in the v6.10 cycle and appearing in recent stable backports. Thanks, Alex The following changes since commit 256abd8e550ce977b728be79a74e1729438b4948: Linux 6.10-rc7 (2024-07-07 14:23:46 -0700) are available in the Git repository at: https://github.com/awilliam/linux-vfio.git tags/vfio-v6.10 for you to fetch changes up to 5a88a3f67e37e39f933b38ebb4985ba5822e9eca: vfio/pci: Init the count variable in collecting hot-reset devices (2024-07-10 08:47:46 -0600) ---------------------------------------------------------------- VFIO fix for v6.10 - Recent stable backports are exposing a bug introduced in the v6.10 development cycle where a counter value is uninitialized. This leads to regressions in userspace drivers like QEMU where where the kernel might ask for an arbitrary buffer size or return out of memory itself based on a bogus value. Zero initialize the counter. (Yi Liu) ---------------------------------------------------------------- Yi Liu (1): vfio/pci: Init the count variable in collecting hot-reset devices drivers/vfio/pci/vfio_pci_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)