Bug 218654

Summary: Guest VM on Xen dies due to memory leak
Product: Virtualization Reporter: Leonidas Spyropoulos (artafinde)
Component: XenAssignee: virtualization_xen
Status: RESOLVED CODE_FIX    
Severity: normal CC: artafinde, davem, kuba, kubakici
Priority: P3    
Hardware: Intel   
OS: Linux   
Kernel Version: 6.8.2 Subsystem:
Regression: Yes Bisected commit-id: 6c5aa6fc4def
Attachments: kernel logs

Description Leonidas Spyropoulos 2024-03-28 13:00:53 UTC
Created attachment 306054 [details]
kernel logs

Guest VM which runs 6.8.x kernel on Xen hosts leads to system unstable, kernel ring buffer flooded with "BUG: Bad page state in process <process>"

Full logs attached


Reverting to 6.7.9 solves it.


Similar reports [1] [2]


[1]: https://bbs.archlinux.org/viewtopic.php?pid=2160294
[2]: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2056706
Comment 1 Jakub Kicinski 2024-03-28 15:23:19 UTC
Fix is on the list:
https://lore.kernel.org/all/171154167446.2671062.9127105384591237363.stgit@firesoul/
Should be fixed in 6.9-rc3 and subsequent stable releases.
Comment 2 Leonidas Spyropoulos 2024-03-28 18:49:27 UTC
Thank you - feel free to close this.
Comment 3 Jakub Kicinski 2024-03-29 01:29:47 UTC
Now commit 037965402a01 ("xen-netfront: Add missing skb_mark_for_recycle") in netdev/net, on its way to -rc3.