
In the name of better security, patches are pending that will likely be mainlined for Linux 7.3 to allow disabling Syscall User Dispatch either at kernel build time or run-time via sysctl.
This patch adds CONFIG_SYSCALL_USER_DISPATCH if wanting to disable Syscall User Dispatch at build time. Up to now it lacked a Kconfig knob but was simply enabled with the generic system call support.
There is a second patch adding the kernel.syscall_user_dispatch to disable Syscall User Dispatch support at run-time.
Syscall User Dispatch is remaining enabled by default but with these methods you can optionally restrict its usage if wanting to further lockdown your system. These patches have been queued into tip/tip.git's core/entry Git branch. With the patches now in a TIP branch they are expected to be submitted for the Linux 7.3 merge window in late August.