I've been seeing sporadic messages of the form "BUG: soft lockup - CPU#0 stuck for 22s!" from the System Notifier for several months -- I've had at least three or four kernel version updates in that time period, and the problem appears to be getting worse -- just last night, I had two of my eight cores in this state, resulting in a browser lockup that I couldn't reset by any means I was aware of (had to use the hard reset button on the tower case). When this occurs, the affects core reads at 100% usage on system monitor.
I'm currently running Kubuntu 20.04, repository updates almost daily. Currently on kernel 5.4.077-generic, rebooting on an older kernel version won't help because updates keep only current and one older kernel versions, and I don't even recall precisely how long ago I started getting this (but I think I had it in 16.04 before upgrading last December).
I have an MSI mainboard, AMD FX8350 (8 cores, 8 threads, 4.1 GHz max clock), 16 GB RAM, nVidia GTx750. I have no reports of excessive CPU temperature from monitoring widgets (and I've usually had BOINC software that keeps all eight cores at 100% when I'm not using the computer; recent BOINC or project problems have prevented that for some weeks).
Bottom line question: how can I stop this behavior? Is this a kernel bug (if so, persisting since at least version 4.4.* and running to at least 5.7.*), a hardware problem, or something else?