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 5F53B2F7478 for ; Sat, 1 Aug 2026 00:16: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=1785543417; cv=none; b=qZQd/CZgq6S1+fuHeBFFuFuqocdQUyckTq/rfW/vkxuGSNksDXkOBKQSicXXJUn+nnbtIIepeZasprVX6ensnHOkLXNPg9BOXK0q7S/GrhykSeg0M2LyXYL5ksiNxjAbjroW3GczHnvu1EnHDpv5nhVUY+vLk8PkOnDpGG2Qi+4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785543417; c=relaxed/simple; bh=AYV6oj9zpGuUjYDdThONODwSdRyt5PjMWy+DUh2trK4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mZaQUk4Gtk4zPox9YSeU5RS8bQ5FkwKRvFNItUn+hJ088yqeyboBGjA7pW0iGxTb3hA72vVMrtY8v+976n/qrgaYcRoE6bgjGl0hQ+872yw7j43umZDDV4UsGtW+zpJEHmqnnIHz5nlcFXPEGbKqFm9ACi2/p70UlkgxUz3SOuA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=EeVcjbfB; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=cFabma+v; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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="EeVcjbfB"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="cFabma+v" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1785543415; 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: in-reply-to:in-reply-to:references:references; bh=YTUbWgbCMoV9mNudsltxaFWvTkWg6x0Ijnt3ApilYfU=; b=EeVcjbfBTMiiYFF6PfihcgrsOuD5OveM204zZW1sYbSejhv0THkmPRE3rXlpwmPUgPoQpj RTljvRb1hU6uHYeFdMi10hmGOM2wcF7bEFQMAL9NxsmE5R00jDnJKWNfOQXdChP/HM6em3 D5jkF8wOSSAIgUSQGFBA+Zy32eZZ8O8= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-244-nCrWWrWHPo-DND47SaBKfg-1; Fri, 31 Jul 2026 20:16:53 -0400 X-MC-Unique: nCrWWrWHPo-DND47SaBKfg-1 X-Mimecast-MFC-AGG-ID: nCrWWrWHPo-DND47SaBKfg_1785543412 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-47f83a59e5aso2185346f8f.0 for ; Fri, 31 Jul 2026 17:16:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1785543412; x=1786148212; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to:content-type; bh=YTUbWgbCMoV9mNudsltxaFWvTkWg6x0Ijnt3ApilYfU=; b=cFabma+vdTjIu/KUBPP4CLysOx1ysjza3BotT8Kbf+5u68ATcobVssjjuU8glRfOo4 WXkgRn5LwsYZmRZmNQk0HhGntD/s79Qul09i9VID5xkKOGeHEIk5Yrsb2BciuMhsfgML B4WNCMAGhGnTcit52dRRS2fMaBbzzi4EYQQzGiIxiXPqUGSu9nX70PwpQbQOvhc/WKYu mFI9geoV1Q7Och9K/54BgE4dX2fyAtZsgl+6R8nsXmM9HTuqrW2v38i0GR3Gf+zSRMtb XRFjUJv/fiXuwBzxg5NyWLJHmGCsjz40T0qlXoIffSdA2UdJDZwB6Ho5/ylIZEGv0JOK WNsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785543412; x=1786148212; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=YTUbWgbCMoV9mNudsltxaFWvTkWg6x0Ijnt3ApilYfU=; b=JojA5Ee2QCMdFvQc8lTLa0q1pbASAvELSxmXyYwfOCFoOlrMux4teESx8NyOAdl7dY vC3ITwVL6K7P6GhJNRbO8UM6/fC+wq/mHXWvvb2c4KXVeTDS3O/Mik6zJxk9ja0tJeFT lZ7VosIKdSYdlNWtzo2Bx4dO8AF8V+WsexIftYmTNAEXYTf81rYTnu3z80edNW8TSieh brv85iGVJBUHYx+rdwiwGBsLHBCRLO8V6C8EmBA/D0R3oCXwkirIqRCXTjYd7sgRyeH4 m5ZLEYz/CWjvZppNe5Mniw+oCTiKTpRfXcbuMDtm7+lFTao2dU3m097bao/c9KCbhDLw 3zxA== X-Forwarded-Encrypted: i=1; AHgh+Rrbr35F1KcMc/PD2S11Henhnmhzu7AVdnm02SnjRzcYSi+DOXcDrDvEWkxy/5dOfftTYZbZTNyfJtWLxEc=@vger.kernel.org X-Gm-Message-State: AOJu0Yw7Zo0th9a6o+3EDGhWnw49DfnaH2uKzNtq4rdZ8oUqSPhpdYHv UpfRTcay0Y9ZSQuDWt1F7yyzkzvE0BSLLF1KZhvxN0jWT5uu9xMsF1XDmpOBjkuyYqfbt3cV9u1 2yTqPzlfZngfZsVBywlVi4bMoioppsOLfdiqmELSZkw222HNEl4UkYYfBzW3aZIUNxg== X-Gm-Gg: AR+sD11xybWP3TCbbEVBnMOTyhq+WU6zuBmEZtTVUaq2FObEJJwH2PuVStdQHMTI8TM WaEtewoAclGZRfgSkYNttbKGt5cRdKAwhQhl1wWbEfc9V/S/jRDrPmmKGyVQ7E7xGr0QdnWT0he bI/WqF4MSk+Q6mXd72qGO3BLc6yJApFh4aM0J7YkcL19wcSWO2+UyLGOxTdZtI46IKWKCrnbis8 B8RG42/BKwz5uh1O17Fut4cymx9NF63kT9e6cEF+nL9QeN3eOpseVk5hUHeZPxAU/ns+NZTqpp6 xHEq/GPgfhfO+fx3je5TdQCieV1nMF0qKqXv/nqB23+GFO5Q5ePLME5VuD5VIzs+xiyt7p6FRsE IVXUQWn0fmJrKnxasUfoWlrs= X-Received: by 2002:a05:6000:46d8:b0:47f:6a3a:9e6b with SMTP id ffacd0b85a97d-47fd72f1612mr1988339f8f.32.1785543412356; Fri, 31 Jul 2026 17:16:52 -0700 (PDT) X-Received: by 2002:a05:6000:46d8:b0:47f:6a3a:9e6b with SMTP id ffacd0b85a97d-47fd72f1612mr1988296f8f.32.1785543411814; Fri, 31 Jul 2026 17:16:51 -0700 (PDT) Received: from redhat.com (ppp-94-66-118-61.home.otenet.gr. [94.66.118.61]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-47fd45a0c8bsm10836910f8f.34.2026.07.31.17.16.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2026 17:16:51 -0700 (PDT) Date: Fri, 31 Jul 2026 20:16:47 -0400 From: "Michael S. Tsirkin" To: Link Lin Cc: Andrew Morton , Vlastimil Babka , David Hildenbrand , virtualization@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org, prasin@google.com, rientjes@google.com, duenwen@google.com, jasowang@redhat.com, xuanzhuo@linux.alibaba.com, Ammar Faizi , jiaqiyan@google.com, ahwilkins@google.com, Greg Thelen , Alexander Duyck , jthoughton@google.com, stable@vger.kernel.org Subject: Re: [PATCH v3] mm/page_reporting: use system_freezable_wq to fix UAF during suspend Message-ID: <20260731201559-mutt-send-email-mst@kernel.org> References: <20260721005603.1710551-1-linkl@google.com> <20260722173639.34d3f58413354218b24a5b0d@linux-foundation.org> <20260723051327-mutt-send-email-mst@kernel.org> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Fri, Jul 31, 2026 at 01:21:40PM -0700, Link Lin wrote: > On Thu, Jul 23, 2026 at 2:15 AM Michael S. Tsirkin wrote: > > > > I suspect rest of work items we have, e.g. update_balloon_stats_work/update_balloon_size_work > > all have issues around freeze/restore and error handling. > > > > -- > > MST > > > > Hi Michael, > > We have indeed discovered a kernel crash in update_balloon_stats_work > after the balloon driver failed to resume and initialize in our > production fleet. > > Alex Wilkins diagnosed, root caused, and > reported this vulnerability. I wouldn't call this a "vulnerability" just a garden variety bug. > I am currently drafting and testing a > 2-patch series to gracefully unregister callbacks and cancel work > items on resume failure so that the VM continues running without the > balloon driver instead of crashing with a kernel panic. > > I wanted to follow up and let you know that we are actively working on > this. I will send out the patches to the list as soon as they are > sufficiently tested. > > Best, > Link