AZL-116767: CVE-2026-138839 affecting package kernel 6.6.161.1-1
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the ColdFire and 68000 syscall entry paths, test the combined TIF_SYSCALL_TRACE and TIF_SECCOMP mask and route either flag through the existing slow path; leave the classic-MMU syscall entry implementation unchanged.
Event History
Frequently Asked Questions
Which m68k systems are affected by the ineffective seccomp filtering?
The issue affects ColdFire and 68000 m68k syscall entry paths when seccomp filtering is enabled. The classic MMU syscall entry implementation is explicitly unchanged and was observed to enforce a filtered getpid syscall both before and after the fix.
What conditions are required for exploitation?
An attacker needs a workload where seccomp filters have been installed to restrict syscalls on an affected ColdFire or 68000 m68k system. On the affected entry paths, TIF_SECCOMP alone does not take the syscall slow path, allowing the syscall to proceed despite the installed filter.
How can I determine whether a system is affected?
Check whether the system uses a ColdFire or 68000 m68k configuration with CONFIG_SECCOMP_FILTER enabled. A practical test is to install a seccomp rule denying a syscall such as getpid, openat, unlinkat, or reboot; affected paths allow the syscall instead of returning -EPERM.