OPINIONATED OMARCHY
TROUBLESHOOTING CORPUS
790
RECORDS
790
AUDITED
0
UNCHECKED
2388
SOURCES
LIVE
apps-services high rare DISPUTE

Remove binder_linux-dkms when mounting binderfs oopses with "Missing ENDBR"

omarchylinux-omarchyarchwaydroiddkmsaurintelkernelliminegrub
CORRECTED An auditor found the fix wrong or incomplete and rewrote it. · checked against Omarchy omarchy 4.0.4-1 on 2026-10-05
AUDIT NOTE

The oops text and mechanism come from a comment on omacom/omarchy#12149 (Core Ultra 9 285H, linux-omarchy 7.2.5-3, binder_linux-dkms 7.1-1), and the Arch forum thread 293566 shows the same Missing ENDBR kallsyms_lookup_name trace, the binder-control FileNotFoundError and the mount segfault, solved with ibt=off. The Arch wiki Waydroid page documents ibt=off for the DKMS module. CONFIG_X86_KERNEL_IBT=y confirmed in /proc/config.gz on 7.2.5-3-omarchy and in the 7.2.3-arch1-3 .config here. This workstation is the negative control: an i9-9900K with no ibt flag runs binder_linux-dkms on linux-omarchy with binder registered and no oops. The Omarchy cmdline branch is right: limine-common-functions loads /etc/limine-entry-tool.d/*.conf before /etc/default/limine, and /etc/default/limine here uses +=. One error: the symptom attributes the full desktop freezes in #13032 to this oops, but that reporter's i5-3475S (Ivy Bridge) has no IBT, so it is a different failure. Removed that sentence and the #13032 citation. Nothing was installed, no parameter added.

The cause above was not rewritten and may still contain the error described. The fix below is the corrected version.
RISK

ibt=off disables Indirect Branch Tracking, a hardware defence against control-flow hijacking, for the entire kernel. Treat it as a stopgap. Leaving the DKMS module installed with Waydroid enabled oopses the kernel on every boot.

Symptom

I installed AUR binder_linux-dkms to get Waydroid on a kernel without binder. It builds, modprobe binder_linux works and binder appears in /proc/filesystems, but waydroid container start dies. mount segfaults, and Waydroid fails with FileNotFoundError: [Errno 2] No such file or directory: '/dev/binderfs/binder-control'. journalctl -k shows:


kernel: Missing ENDBR: kallsyms_lookup_name+0x4/0xd0
kernel: Oops: invalid opcode: 0000 [#1] SMP NOPTI
 get_init_ipc_ns_ptr+0x34/0x80 [binder_linux]
 binderfs_fill_super+0x1b4/0x5ea [binder_linux]

With waydroid-container.service enabled this oops happens on every boot.

Cause

binder_linux-dkms (choff/anbox-modules) finds kernel symbols that are not exported by calling kallsyms_lookup_name through a function pointer. Kernels built with CONFIG_X86_KERNEL_IBT=y, which includes both linux-omarchy 7.2.5-3 and stock Arch linux (confirmed in their .config), enforce Indirect Branch Tracking on CPUs that support it. An indirect call must land on an ENDBR instruction, and kallsyms_lookup_name does not start with one, so the CPU traps the call and the kernel oopses in binderfs_fill_super. On a CPU without IBT the same module loads and mounts cleanly, which is why it works for some people.

Fix

**1. Confirm the cause:**


grep -ow ibt /proc/cpuinfo | head -1          # prints 'ibt' on affected CPUs
journalctl -k -b | grep -E 'Missing ENDBR|binderfs_fill_super'

**2. Recommended: remove the module and use a kernel with built-in binder** (see waydroid-no-binder-on-linux-omarchy-kernel and waydroid-rust-binder-no-such-process-bad-bindgen-build):


sudo systemctl disable --now waydroid-container.service
sudo pacman -Rns binder_linux-dkms
sudo rm -f /etc/modules-load.d/binder_linux.conf /etc/modprobe.d/binder_linux.conf

If you added a binder /dev/binderfs binder ... line to /etc/fstab for the module, remove it as well.

**3. Workaround, with a security cost:** the Arch wiki and forums document booting with ibt=off, which switches off a control-flow protection for the whole kernel.

  • **Omarchy 4:** the command line lives inside the UKI, so use a drop-in and rebuild. First check that /etc/default/limine appends with KERNEL_CMDLINE[default]+= rather than =, because it overrides drop-ins:

grep KERNEL_CMDLINE /etc/default/limine
echo 'KERNEL_CMDLINE[default]+=" ibt=off"' | sudo tee /etc/limine-entry-tool.d/90-ibt-off.conf
sudo limine-mkinitcpio
  • **Plain Arch with GRUB:** add ibt=off to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub, then run sudo grub-mkconfig -o /boot/grub/grub.cfg.

Verify

After removing the module, journalctl -k -b has no Missing ENDBR line and the boot is clean. With the workaround instead, cat /proc/cmdline contains ibt=off and ls /dev/binderfs/binder-control succeeds once Waydroid starts.

Sources

binder-linux-dkms-oops-missing-endbr-ibt