I'm experiencing this problem since I installed Lubuntu on my ThinkPad L530 from Lenovo, in june 2023.
It was Lubuntu 22.04 LTS initially.At first the computer froze (generally after 7 days without restarting the PC), and I had a popup in my bios saying "the non volatile variable is about full, press F1 for settings", and had to save the changes (even tho I didnt do any), and then flush the content of efivars starting with dump-*
I thought it happened because the variable was progressively accumulating dumps so I made a cronjob to clean them every minute. No success, it still happened in the exact same manner, after some days, generally 4-7.
I got bored of this problem so I reinstalled in MBR mode and disabled EFI from the bios.
I still get the freezes but this time it's not mentioning any memory being full in the bios, it just freezes and I have to reboot.
I got suspicious about the version 22.04 and upgraded the pc to 24.04 LTS with the latest Linux kernel.
I still get the freezes, in the same manner: after some days not doing a full reboot, some minutes after my laptop goes out of sleep mode, it freezes.
I also played with some settings in the bios about sleep mode with no success.
What I can tell is the PC was not overheating, it was even colder than usual because it was just after going out of sleep mode.
The ram was not full, I was not doing anything special, just basic utilisation of my PC. Swap was also very far from being full, the laptop has 16 GB of RAM and 6 GB of Swap on an SSD.
The SSD is clean, checked with GSmartControl and smartctl.
I even replaced it with another one after cloning the disk with dd and it still happens
I updated the system to this version:6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Edit: now the system doesn't just freeze but performs a reboot after it freezes for a second.
Edit 2: 10 dec 2024:
I have collected kernel logs using journalctl -k -b -1 and -2 because -1 contained only very limited logs, but -2 contained all the logs starting at the last reboot date (2 dec. 2024).The last time I did a real reboot of my system was on the 2 of december. The crash happened the 10 at 15H52.If you want me to post the logs, let me know how to do it.