Fn+brightness makes Laptop Shutdown Abruptly


If I decrease or increase the brightness via the fn key, the laptop shuts down abruptly. It’s kind of flickery first, then just immediately turned off. But if I adjust it over Gnome control center it works fine. I encounter this issue on many distros such as Debian and Ubuntu. All on a fresh installation, Xorg or Wayland, Noveau or Nvidia driver, it is all the same. Any idea how and where to debug it?


Device: Lenovo LOQ 15APH8
AMD Ryzen™ 5 7640HS
RTX 4050