I think I found a Mac kernel bug (2018)
Coincidentally, I also stumbled upon a way to make the kernel of Apple Silicon Macs panic and restart while developing the https://lowtechguys.com website.I distilled the problem in a repo so it can be reproduced with a single command: https://github.com/alin23/m1-panicI found it while on Monterey and reported it 2 times through Feedback Assistant, but it still happens on Ventura.NOTE: Don't try it without saving all your work, it has a very high chance of restarting your computer forcefully.