Illegal instruction (core dumped)

kernel parameter gather_data_sampling=force is likely causing this on some CPUs on Debian bookworm based operating systems.

Solution: Comment out gather_data_sampling=force in the /etc/default/grub.d/40_cpu_mitigations.cfg configuration file and reboot.

Comment out explanation: Commenting Syntax and Effects

sudo str_replace 'GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX gather_data_sampling=force"' '#GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX gather_data_sampling=force"' /etc/default/grub.d/40_cpu_mitigations.cfg

For reference: `gather_data_sampling=force` - Enable Gather Data Sampling (GDS) mitigation - related to CPU `AVX` instruction; More CPU Mitigations and Additional References by raja-grewal · Pull Request #218 · Kicksecure/security-misc · GitHub

1 Like