m68k: Fix seccomp filtering on ColdFire and 68000
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 6baaade15594b28195da369962208b1f658e7342 to before 01cbc458da4d083f513df6bfa7a9cc8d4fe9eda1 Affected6baaade15594b28195da369962208b1f658e7342 to before e8a5d8be883d7d47ba09ae187092b13ca87b71bb Affected6baaade15594b28195da369962208b1f658e7342 to before 51e553a273d05df47d98d2bcbbdd2b8b9c9ebc57 Affected6baaade15594b28195da369962208b1f658e7342 to before faf008eaf133a667923d33a6dbc282fec2a4cdce Affected6baaade15594b28195da369962208b1f658e7342 to before 48859f8018d93bd93ef35f7430fdf5b97f2f9715 Affected |
| Linux Linux | 6.3 Affectedbefore 6.3 Not Affected6.6.163 through 6.6.* Not Affected6.12.118 through 6.12.* Not Affected6.18.64 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/01cbc458da4d083f513df6bfa7a9cc8d4fe9eda1
- https://git.kernel.org/stable/c/e8a5d8be883d7d47ba09ae187092b13ca87b71bb
- https://git.kernel.org/stable/c/51e553a273d05df47d98d2bcbbdd2b8b9c9ebc57
- https://git.kernel.org/stable/c/faf008eaf133a667923d33a6dbc282fec2a4cdce
- https://git.kernel.org/stable/c/48859f8018d93bd93ef35f7430fdf5b97f2f9715
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.