Kernel crashes after the 6.12.7 update? (solution found)

2 years ago by Lojcs to c/archlinux

Updated my system today and it started randomly crashing, usually with these messages in journal:

#PF: error_code(0x0011) - permissions violation
#PF: supervisor instruction fetch in kernel mode
BUG: unable to handle page fault for address: ffffffffc0abd540 
kernel tried to execute NX-protected page - exploit attempt? (uid: 1000)

Not sure if the kernel update's causing it. My mouse lags every once in a while too. Anyone else having problems?

Update:
Pinpointed the crash reason, it happens when memory usage exceeds some value. 20 ish gigs maybe? Ran memtest, got 1 pass but I'll leave it running. (Edit: left it for a couple hours, it kept passing) Also tried updating another arch system and filling its memory with stress, but that one didn't crash.

On mine I had a bunch of other packages update as well (mostly qemu stuff iirc, but qemu isn't running usually) and I also uninstalled some unnecessary dependencies listed via pacman -Qtd. I kinda want to restore a btrfs snapshot and be done with it, but that spooks me so I sense unpleasant debugging in my future.

Update 2:
Did more testing, when used RAM+filesystem cache exceeds total ram available it pagefaults instead of emptying the filesystem cache. -_- how tf do I fix this??

Update 3:
Solution is to uninstall binder_linux-dkms. For some reason with the new kernel it causes a pagefault when purging filesystem cache which delays the purge and if that happens while system is under memory pressure programs hang. Didn't even know I had this installed

30p87 4 points 2 years ago

Sure don't hope so, my server runs testing 200 km away πŸ’€

path: 0 14204957, hotness: undefined, score: 4, children: 3
Lojcs 7 points 2 years ago

Server's running arch on latest version?

path: 0 14204957 14205791, hotness: undefined, score: 7, children: 2
Hamartiogonic 5 points 2 years ago

Sounds wild, but there are surprisingly many people who use Arch on a server.

path: 0 14204957 14205791 14205935, hotness: undefined, score: 5, children: 0
30p87 3 points 2 years ago

Always, yes. All of my devices. I'm not even running bleeding edge anymore, that's a blade made of blood at this point. Yet, only NVidia ever fails me (excluding AUR packages).

path: 0 14204957 14205791 14205953, hotness: undefined, score: 3, children: 0
archlinux
archlinux

@lemmy.ml

login for more options
10009
427
77

The beloved lightweight distro

go to feed...