CVE-2026-138839: m68k: Fix seccomp filtering on ColdFire and 68000
In the Linux kernel, the following vulnerability has been resolved:
m68k: Fix seccomp filtering on ColdFire and 68000
m68k selects HAVEARCHSECCOMPFILTER for all configurations, but the ColdFire and 68000 syscall entry paths only branch to syscalltraceenter() for TIFSYSCALLTRACE. TIFSECCOMP alone falls through to syscall dispatch, leaving installed filters ineffective.
Test the combined TIFSYSCALLTRACE and TIFSECCOMP mask in both paths and route either flag through the existing slow path. Leave the classic MMU syscall entry implementation unchanged.
Validated the combined test under QEMU mcf5208evb (ColdFire): filters denying getpid, openat, unlinkat, and reboot each returned -EPERM. A classic-MMU control (q800) denied the filtered getpid syscall both before and after this change. The 68000 path shares the same source-level omission and receives the identical masked test but was not separately emulated. Compile-tested W=1 with CONFIGSECCOMPFILTER=y on both m5208evbdefconfig and a custom no-MMU UCSIMM configuration; the latter built arch/m68k/68000/entry.o and vmlinux.