Plotter keeps crashing system, journal reports bad page state

I regularly get messages that a “program has encountered a problem” on Ubuntu, checking the journal after that happens reveals the following:

Apr 30 17:15:01 fred CRON[20988]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Apr 30 17:15:01 fred CRON[20987]: pam_unix(cron:session): session closed for user root
Apr 30 17:17:01 fred CRON[21007]: pam_unix(cron:session): session opened for user root by (uid=0)
Apr 30 17:17:01 fred CRON[21008]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
Apr 30 17:17:01 fred CRON[21007]: pam_unix(cron:session): session closed for user root
Apr 30 17:19:51 fred kernel: BUG: Bad page state in process chia  pfn:e0ccab
Apr 30 17:19:51 fred kernel: page:ffffe67738332ac0 refcount:0 mapcount:0 mapping:00000000be2e746d index:0x1
Apr 30 17:19:51 fred kernel: failed to read mapping->host or a_ops, mapping not a valid kernel address?
Apr 30 17:19:51 fred kernel: flags: 0x17ffffc0000000()
Apr 30 17:19:51 fred kernel: raw: 0017ffffc0000000 dead000000000100 dead000000000122 0040000000000000
Apr 30 17:19:51 fred kernel: raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000
Apr 30 17:19:51 fred kernel: page dumped because: non-NULL mapping
Apr 30 17:19:51 fred kernel: Modules linked in: xfs nls_iso8859_1 snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg snd_hda_codec edac_mce_amd snd_hda_cor>
Apr 30 17:19:51 fred kernel: CPU: 15 PID: 12339 Comm: chia Not tainted 5.8.0-50-generic #56~20.04.1-Ubuntu
Apr 30 17:19:51 fred kernel: Hardware name: ASUS System Product Name/PRIME B550-PLUS, BIOS 2006 03/19/2021
Apr 30 17:19:51 fred kernel: Call Trace:
Apr 30 17:19:51 fred kernel:  dump_stack+0x74/0x92
Apr 30 17:19:51 fred kernel:  bad_page.cold+0x63/0x94
Apr 30 17:19:51 fred kernel:  check_new_page_bad+0x6d/0x80
Apr 30 17:19:51 fred kernel:  rmqueue+0xb58/0xd30
Apr 30 17:19:51 fred kernel:  get_page_from_freelist+0x197/0x370
Apr 30 17:19:51 fred kernel:  __alloc_pages_nodemask+0x161/0x2f0
Apr 30 17:19:51 fred kernel:  alloc_pages_current+0x87/0xe0
Apr 30 17:19:51 fred kernel:  __page_cache_alloc+0x72/0x90
Apr 30 17:19:51 fred kernel:  page_cache_readahead_unbounded+0x93/0x200
Apr 30 17:19:51 fred kernel:  __do_page_cache_readahead+0x35/0x40
Apr 30 17:19:51 fred kernel:  ondemand_readahead+0x148/0x2a0
Apr 30 17:19:51 fred kernel:  ? inode_congested+0x63/0x140
Apr 30 17:19:51 fred kernel:  page_cache_async_readahead+0xb5/0xe0
Apr 30 17:19:51 fred kernel:  generic_file_buffered_read+0x178/0xc50
Apr 30 17:19:51 fred kernel:  ? lapic_resume+0x1/0x20
Apr 30 17:19:51 fred kernel:  ? __update_load_avg_cfs_rq+0x267/0x2e0
Apr 30 17:19:51 fred kernel:  generic_file_read_iter+0xdc/0x140
Apr 30 17:19:51 fred kernel:  ? down_read+0x13/0xa0
Apr 30 17:19:51 fred kernel:  xfs_file_buffered_aio_read+0x57/0xe0 [xfs]
Apr 30 17:19:51 fred kernel:  xfs_file_read_iter+0x72/0xe0 [xfs]
Apr 30 17:19:51 fred kernel:  new_sync_read+0x10c/0x1a0
Apr 30 17:19:51 fred kernel:  vfs_read+0x161/0x190
Apr 30 17:19:51 fred kernel:  ksys_read+0x67/0xe0
Apr 30 17:19:51 fred kernel: Modules linked in: xfs nls_iso8859_1 snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg snd_hda_codec edac_mce_amd snd_hda_cor>
Apr 30 17:19:51 fred kernel: CPU: 15 PID: 12339 Comm: chia Not tainted 5.8.0-50-generic #56~20.04.1-Ubuntu
Apr 30 17:19:51 fred kernel: Hardware name: ASUS System Product Name/PRIME B550-PLUS, BIOS 2006 03/19/2021
Apr 30 17:19:51 fred kernel: Call Trace:
Apr 30 17:19:51 fred kernel:  dump_stack+0x74/0x92
Apr 30 17:19:51 fred kernel:  bad_page.cold+0x63/0x94
Apr 30 17:19:51 fred kernel:  check_new_page_bad+0x6d/0x80
Apr 30 17:19:51 fred kernel:  rmqueue+0xb58/0xd30
Apr 30 17:19:51 fred kernel:  get_page_from_freelist+0x197/0x370
Apr 30 17:19:51 fred kernel:  __alloc_pages_nodemask+0x161/0x2f0
Apr 30 17:19:51 fred kernel:  alloc_pages_current+0x87/0xe0
Apr 30 17:19:51 fred kernel:  __page_cache_alloc+0x72/0x90
Apr 30 17:19:51 fred kernel:  page_cache_readahead_unbounded+0x93/0x200
Apr 30 17:19:51 fred kernel:  __do_page_cache_readahead+0x35/0x40
Apr 30 17:19:51 fred kernel:  ondemand_readahead+0x148/0x2a0
Apr 30 17:19:51 fred kernel:  ? inode_congested+0x63/0x140
Apr 30 17:19:51 fred kernel:  page_cache_async_readahead+0xb5/0xe0
Apr 30 17:19:51 fred kernel:  generic_file_buffered_read+0x178/0xc50
Apr 30 17:19:51 fred kernel:  ? lapic_resume+0x1/0x20
Apr 30 17:19:51 fred kernel:  ? __update_load_avg_cfs_rq+0x267/0x2e0
Apr 30 17:19:51 fred kernel:  generic_file_read_iter+0xdc/0x140
Apr 30 17:19:51 fred kernel:  ? down_read+0x13/0xa0
Apr 30 17:19:51 fred kernel:  xfs_file_buffered_aio_read+0x57/0xe0 [xfs]
Apr 30 17:19:51 fred kernel:  xfs_file_read_iter+0x72/0xe0 [xfs]
Apr 30 17:19:51 fred kernel:  new_sync_read+0x10c/0x1a0
Apr 30 17:19:51 fred kernel:  vfs_read+0x161/0x190
Apr 30 17:19:51 fred kernel:  ksys_read+0x67/0xe0
Apr 30 17:19:51 fred kernel:  __x64_sys_read+0x1a/0x20
Apr 30 17:19:51 fred kernel:  do_syscall_64+0x49/0xc0
Apr 30 17:19:51 fred kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Apr 30 17:19:51 fred kernel: RIP: 0033:0x7fce632bc17c
Apr 30 17:19:51 fred kernel: Code: ec 28 48 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 f9 65 f8 ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 30 44 89 c7 48 89 44 24 08 e>
Apr 30 17:19:51 fred kernel: RSP: 002b:00007fff43ca1490 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
Apr 30 17:19:51 fred kernel: RAX: ffffffffffffffda RBX: 00000000011b65c0 RCX: 00007fce632bc17c
Apr 30 17:19:51 fred kernel: RDX: 000000000003f000 RSI: 000000000129e3f8 RDI: 000000000000003f
Apr 30 17:19:51 fred kernel: RBP: 00007fce633984a0 R08: 0000000000000000 R09: 00000000012de330
Apr 30 17:19:51 fred kernel: R10: 000000000000000b R11: 0000000000000246 R12: 000000000003ff44
Apr 30 17:19:51 fred kernel: R13: 000000000129e3f8 R14: 0000000000000d68 R15: 00007fce633978a0
Apr 30 17:19:51 fred kernel: Disabling lock debugging due to kernel taint
Apr 30 17:22:37 fred budgie-panel[11523]: g_hash_table_foreach: assertion 'version == hash_table->version' failed
Apr 30 17:22:37 fred budgie-panel[11523]: g_hash_table_foreach: assertion 'version == hash_table->version' failed
Apr 30 17:25:01 fred CRON[21093]: pam_unix(cron:session): session opened for user root by (uid=0)
Apr 30 17:25:01 fred CRON[21094]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Apr 30 17:25:01 fred CRON[21093]: pam_unix(cron:session): session closed for user root
Apr 30 17:27:34 fred update-notifier.desktop[21109]: Refusing to render service to dead parents.
Apr 30 17:27:56 fred dbus-daemon[11092]: [session uid=1000 pid=11092] Activating service name='org.gnome.Screenshot' requested by ':1.44' (uid=1000 pid=11523 comm="budgie-panel " label="unconfined")
Apr 30 17:27:57 fred dbus-daemon[11092]: [session uid=1000 pid=11092] Successfully activated service 'org.gnome.Screenshot'
Apr 30 17:28:03 fred gnome-screensho[21115]: Unable to use GNOME Shell's builtin screenshot interface, resorting to fallback X11.
Apr 30 17:28:03 fred dbus-daemon[1072]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.241' (uid=1000 pid=21115 comm="/usr>
Apr 30 17:28:03 fred systemd[1]: Starting Hostname Service...
Apr 30 17:28:03 fred dbus-daemon[1072]: [system] Successfully activated service 'org.freedesktop.hostname1'
Apr 30 17:28:03 fred systemd[1]: Started Hostname Service.

Sometimes this causes a system crash, other times it just keeps going like nothing happened but creates a bad plot. I couldn’t find any other post referencing bad page states, what is causing this?

I guess this means my RAM is not stable, but I don’t know how to configure it to be more stable. DOCP/XMP is already disabled and I’m using the automatic RAM profile on my ASUS Prime B550-Plus. I’ve also tried switching to manual and lowering the speed, but it seems to have little effect on stability.

OS : Ubuntu Budgie 20.04
CPU : AMD Ryzen 9 5950X
RAM : 2x 32GB Corsair Vengeance LPX DDR4-3600 CL18-22-22-42
MBD : Asus Prime B550-Plus
SSD : 2x 2TB Corsair MP600
HDD : 12TB WD My Book over USB
PSU : Corsair HX750
GPU : Nvidia GeForce GT240

Definitely run memtest on your machine and see if it comes back clean.