From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C845AC02199 for ; Sat, 8 Feb 2025 00:02:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2FA9C6B0085; Fri, 7 Feb 2025 19:02:46 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 2A9186B0089; Fri, 7 Feb 2025 19:02:46 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 149F7280001; Fri, 7 Feb 2025 19:02:46 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id E9EF76B0085 for ; Fri, 7 Feb 2025 19:02:45 -0500 (EST) Received: from smtpin30.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 9F11A1A0F5D for ; Sat, 8 Feb 2025 00:02:45 +0000 (UTC) X-FDA: 83094826290.30.1F49564 Received: from fhigh-b2-smtp.messagingengine.com (fhigh-b2-smtp.messagingengine.com [202.12.124.153]) by imf25.hostedemail.com (Postfix) with ESMTP id 78448A000D for ; Sat, 8 Feb 2025 00:02:43 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=bsbernd.com header.s=fm2 header.b=YHRtdASt; dkim=pass header.d=messagingengine.com header.s=fm3 header.b="u HGtx/8"; spf=pass (imf25.hostedemail.com: domain of bernd@bsbernd.com designates 202.12.124.153 as permitted sender) smtp.mailfrom=bernd@bsbernd.com; dmarc=pass (policy=none) header.from=bsbernd.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1738972963; h=from:from:sender: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:dkim-signature; bh=mrWw7gmE3NDMuFQEpyImkKuDcSno+4GUyYuDqXBEHeo=; b=ByhSENJKx8/oxxgM0R+7baBR2HJvGiZ1YOaYmqJqtn77pZwJBnaHqzxQGhAQfQAOF+s/PQ N0tGR8Nuz3iiJwStyLCV3onKrA7mfqbPz8IBna8Bd26wGNKxWxuYUQBL0pOs8BM0QZSEtf WJEcXy02bcQ5pxFXOdgMmbztgimaQqo= ARC-Authentication-Results: i=1; imf25.hostedemail.com; dkim=pass header.d=bsbernd.com header.s=fm2 header.b=YHRtdASt; dkim=pass header.d=messagingengine.com header.s=fm3 header.b="u HGtx/8"; spf=pass (imf25.hostedemail.com: domain of bernd@bsbernd.com designates 202.12.124.153 as permitted sender) smtp.mailfrom=bernd@bsbernd.com; dmarc=pass (policy=none) header.from=bsbernd.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1738972963; a=rsa-sha256; cv=none; b=hgGX+f9nZH9Q1zXfx2E/rFhCYIEHUdSXmlCuDnaWCkph3NlLflKcpLLt3YrFLE0/mQGrvD pWv07Ji/BQQ0JP0/Fvoqe3KR36X039K6NJb/S8/fVqneCfg/kis/Rdrk7yyaD38P/1xWzL VqUZrssqO6AtJqmZDySETpMTO5aKXV4= Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfhigh.stl.internal (Postfix) with ESMTP id 688F1254010E; Fri, 7 Feb 2025 19:02:42 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Fri, 07 Feb 2025 19:02:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsbernd.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1738972962; x=1739059362; bh=mrWw7gmE3NDMuFQEpyImkKuDcSno+4GUyYuDqXBEHeo=; b= YHRtdAStvjmtGKokAa6Y2Zrfunbbxso7mlsWZdg5xGhTf/Hrs4t0+/aUd9jRggtM GrsmQhmihu7FTyCsUMoTrSxMDbSTUQD+pAbzq/uOU8SCaMLlyrePd7pziEoDdHJo A0mnezmOriDfzpD3HYU2GBr0h7mXgZkGr7rjCiVsNnMBVCF32jwEYBnzbLdULhb5 /Rx/SLZT6mayGuB3JPSOA0Z+lJrffsu/otn7p9epqj8p8+UjYCH4tst9ttRh4j0C 6g+5Yi16nUyPpzE2eTQnyo4XzEz3LjgTL7Z57CiQE+kA3Ngs051ByBirO62hNkzx bt/xzDZ0MRk6b7gx5ZgrWg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1738972962; x= 1739059362; bh=mrWw7gmE3NDMuFQEpyImkKuDcSno+4GUyYuDqXBEHeo=; b=u HGtx/8YNzTm+lTQATs3ZEB/btMMaans8yIFigcc/Wgh5FbOPWTQopMeOIpmR8FLi kOjqr6XcKhCdCPV4FlQcYBUPaCRRVfr3hCWUxXStV+OOcbsUftvklRPPCZY+EaGO bSMxGBd1Ida58KYdysm0w9mCaWWEPyiAx0WYqA9h2i55Lq5SSVcrTJAFBLl/yWuY jFe19sknFBsxzkzwwdgvlV0DGTTYulSVagk5Mh6/ZeV/eIuHDVW9oxMRuOdRomRk VISOqjAxUSIFm6LnapII/NADXDXrn0AGLvKkt9cEI1nmsVL/tMeHLuRZyG03PEIn cj5tw24PKtClVsjOk043Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeftdeijecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthekredttddv jeenucfhrhhomhepuegvrhhnugcuufgthhhusggvrhhtuceosggvrhhnugessghssggvrh hnugdrtghomheqnecuggftrfgrthhtvghrnhepjeffuddtgefhfffggfejheetjeeukeei teeiheevheetueeigfeiueelkeejkeeunecuffhomhgrihhnpehgihhthhhusgdrtghomh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegsvghr nhgusegsshgsvghrnhgurdgtohhmpdhnsggprhgtphhtthhopeduvddpmhhouggvpehsmh htphhouhhtpdhrtghpthhtohepjhhorghnnhgvlhhkohhonhhgsehgmhgrihhlrdgtohhm pdhrtghpthhtohepvhgsrggskhgrsehsuhhsvgdrtgiipdhrtghpthhtohepmhhikhhloh hssehsiigvrhgvughirdhhuhdprhgtphhtthhopeifihhllhihsehinhhfrhgruggvrggu rdhorhhgpdhrtghpthhtoheptghhrhhishhtihgrnheshhgvuhhsvghlrdgvuhdprhgtph htthhopehjohhsvghfsehtohigihgtphgrnhgurgdrtghomhdprhgtphhtthhopehmshii vghrvgguihesrhgvughhrghtrdgtohhmpdhrtghpthhtoheprhgvghhrvghsshhiohhnsh eslhhishhtshdrlhhinhhugidruggvvhdprhgtphhtthhopehlihhnuhigqdhkvghrnhgv lhesvhhgvghrrdhkvghrnhgvlhdrohhrgh X-ME-Proxy: Feedback-ID: i5c2e48a5:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 7 Feb 2025 19:02:39 -0500 (EST) Message-ID: Date: Sat, 8 Feb 2025 01:02:38 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [REGRESSION][BISECTED] Crash with Bad page state for FUSE/Flatpak related applications since v6.13 To: Joanne Koong Cc: Vlastimil Babka , Miklos Szeredi , Matthew Wilcox , Christian Heusel , Josef Bacik , Miklos Szeredi , regressions@lists.linux.dev, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm , =?UTF-8?Q?Mantas_Mikul=C4=97nas?= References: <2f681f48-00f5-4e09-8431-2b3dbfaa881e@heusel.eu> <03eb13ad-03a2-4982-9545-0a5506e043d0@suse.cz> <94df7323-4ded-416a-b850-41e7ba034fdc@bsbernd.com> From: Bernd Schubert Content-Language: en-US, de-DE, fr In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspam-User: X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 78448A000D X-Stat-Signature: qbbryh56r716kmook64b9njb933rz3jc X-HE-Tag: 1738972963-757388 X-HE-Meta: U2FsdGVkX18532mrZWaytsQM26UtxM6LSSzFzVlmyzRA8uG8sUZ+EJkLam/yinG5sy2SizjtlLmIIboX9ttm0xQoXSPTfq7nsQvZIvaGpKrDBO253DwHbrc0rCTO8m6yWDeo9Lo3fhCbsuDTULtkvj1DvJssEVwsa01Wn9/zyM/BOUH5HOvr8g9R2yW6VZ9WpFyHYulRU9bQqVLZHOAoAeVD9JNcw6Qb21+ffiwLv+XTeptBte5ShBa+au96eBRVglTEjEVHFr4IwL+DdbbA7dm1MiAlHNFF7ZZZbrlAasemYRpA2Esh1cHUMhAzNRB5JIroI5C1NzmPpT0IMV9lalApPTFotD1ZaR46tj/Hbkum4YFIuVC20bR1LvhEOzi7enCScHoZbNPi2gNVStR97/t2UrXy53PfoKWeba7JbBVnaq2To2XIuGpfWJo/rIIMwhOVDjxAt0vQObU6zx5BvdGcZdBO8vtmueQRqi6l5bT5wB8ukwRpck/DJSTrqiESTJbcHzzHrLzah7iKgijdn4+fAx4tr8hSqjy1s8hojd9o0z7HUlB/xTvDAnPvfm4iHiNDO/2guwaaprQTToA8DZ2rZN9XMGrpiSdr3oK1+fKLx0xaZfHCISxmEgRUexBy/+NU17YwYpBYoW4pE40l8xVZFKohkV6GJJOrJRFfBH6sfDfci29zE1SfmchaFtYEWd1KGUMxR6NCzMNXvu2lE+YmRcr1fcxrxnsqD/p85rA7pbrpLEX9z0IEdNS5Z1AGS1TugevQ3HerAEHmgRrdFUXvQYETZQfaHdelufwD3Rt+mLRsReZ/P6MBJk+Jc42mjIjgf/ARwJyiJsxwyHQk7MFquoT5YEVJiMF8iu1bZ4hggRe/oTJoyQn00TOciVmeC0b2p37TVnIYAI0YM1zuRKbfakU3ht7rm8GrD9CMunhtd25slMtnXIRsFCFhjt2QJI+dYVYn1xpqRInF6Uj JsAK7tUF oi1S1wuFkEs1/NsDMYSUnwIuQwmFssBROgwhiJApsFSNKnL+qTY/j6edtIoJ4f6w1vmNrhMiVAp6mgh7VsSk3iULtuYG2PanqaI+EgdksQjaTroTljl87RTlrRG5NzGD2QUoKXFqMBqf9KCtMasGe9rL/+YNEuoEU27hXc4aaUNA4IywZ5GcDRgQJAToa8/6fgbn1JM3MUl5S0LhTne3s6mcysTzaWi13eG0H4eOA+3Q/mgVXGXkDp4egg8tLi38lAt3LuRZK1BkfTDwqeVlWyjSqfZ9N/wI+qz+qDbUpAD5+uhzK74Uhyf1hBY1ugnYSXlIXfomuY2BU/Yf62nebBsvsqnnqVdA+NDTVaL1rOKnxq2wnFNVXD811Vplr8HdtUyhoWRR62+BTTYP8N97PXqloSBCXHUusoAbIKoUOZY13bNRhv69uUpcymFXRdl4tciL4E7PwRCk2c/Sr0bduE9+oUpjIdbQhJ+in X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On 2/7/25 19:40, Joanne Koong wrote: > On Fri, Feb 7, 2025 at 3:16 AM Bernd Schubert wrote: >> >> >> >> On 2/7/25 11:55, Vlastimil Babka wrote: >>> On 2/7/25 11:43, Miklos Szeredi wrote: >>>> On Fri, 7 Feb 2025 at 11:25, Vlastimil Babka wrote: >>>> >>>>> Could be a use-after free of the page, which sets PG_lru again. The list >>>>> corruptions in __rmqueue_pcplist also suggest some page manipulation after >>>>> free. The -1 refcount suggests somebody was using the page while it was >>>>> freed due to refcount dropping to 0 and then did a put_page()? >>>> >>>> Can you suggest any debug options that could help pinpoint the offender? >>> >>> CONFIG_DEBUG_VM enables a check in put_page_testzero() that would catch the >>> underflow (modulo a tiny race window where it wouldn't). Worth trying. >> >> I typically run all of my tests with these options enabled >> >> https://github.com/bsbernd/tiny-qemu-virtio-kernel-config >> >> >> If Christian or Mantas could tell me what I need to install and run, I >> could probably quickly give it a try. >> > > Copying/pasting from [1], these are the repro steps that's listed: > > 1) Install Bottles: flatpak install flathub com.usebottles.bottles > 2) Open Bottles and create a bottle > 3) In a terminal open the kernel log using dmesg/journalctl in follow mode > 4) Once the bottle has been initialized, open it, select "Run > Executable" and point it at any Windows executable > Note that at that same moment a BUG: Bad page state in process fuse > mainloop error message will appear and the system will become > unresponsive (keyboard and mouse might still work but you'll be unable > to actually do anything, open or close any application, or even reboot > or shutdown; you are able to ping the device and initiate an SSH > connection but all it does is just display the banner) > Thanks Joanne! Hmm, I found "wmplayer" in a c drive, but there doesn't happen much 5241 pts/0 Ss 0:00 -bash 5317 pts/1 S+ 0:00 /home/bernd/.var/app/com.usebottles.bottles/data/bottles/runners/soda-9.0-1/bin/wi 5319 ? Ss 0:01 /home/bernd/.var/app/com.usebottles.bottles/data/bottles/runners/soda-9.0-1/bin/wi 5321 pts/1 S+ 0:01 C:\windows\system32\wineboot.exe --init 5345 ? Ssl 0:01 C:\windows\system32\services.exe 5348 ? Ssl 0:00 C:\windows\system32\winedevice.exe 5359 ? Ssl 0:01 C:\windows\system32\winedevice.exe 5360 ? I 0:00 [kworker/u130:0-rpciod] It runs it, but no system issue. I had also tried "Obfuscate", but didn't manage to feed it a file - it runs in the sandbox and no access to my $HOME. I need to see is if I can find some other files, but very late here and busy with something else. It also runs in x2gokdrive and wine then over another ssh hope to the vm guest, which has a kernel with all these debug options - slow. Bernd