8.8high
m68k: Fix seccomp filtering on ColdFire and 68000
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.18% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: m68k: Fix seccomp filtering on ColdFire and 68000 m68k selects HAVE_ARCH_SECCOMP_FILTER for all configurations, but the ColdFire and 68000 syscall entry paths only branch to syscall_trace_enter() for TIF_SYSCALL_TRACE. TIF_SECCOMP alone falls through to syscall dispatch, leaving installed filters ineffective. Test the combined TIF_SYSCALL_TRACE and TIF_SECCOMP 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 CONFIG_SECCOMP_FILTER=y on both m5208evb_defconfig and a custom no-MMU UCSIMM configuration; the latter built arch/m68k/68000/entry.o and vmlinux.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 6baaade15594b28195da369962208b1f658e7342 before 01cbc458da4d083f513df6bfa7a9cc8d4fe9eda1, from 6baaade15594b28195da369962208b1f658e7342 before e8a5d8be883d7d47ba09ae187092b13ca87b71bb, from 6baaade15594b28195da369962208b1f658e7342 before 51e553a273d05df47d98d2bcbbdd2b8b9c9ebc57, from 6baaade15594b28195da369962208b1f658e7342 before faf008eaf133a667923d33a6dbc282fec2a4cdce, from 6baaade15594b28195da369962208b1f658e7342 before 48859f8018d93bd93ef35f7430fdf5b97f2f9715, 6.3 Not affected: before 6.3, from 6.6.163 up to 6.6.*, from 6.12.118 up to 6.12.*, from 6.18.64 up to 6.18.*, from 7.3.4 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-138839 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-138839 changed 2026-12-01 | Public domain |