m68k: Fix seccomp filtering on ColdFire and 68000
Summary
| CVE | CVE-2026-138839 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:17:38 UTC |
| Updated | 2026-11-30 14:17:38 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 6baaade15594b28195da369962208b1f658e7342 01cbc458da4d083f513df6bfa7a9cc8d4fe9eda1 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6baaade15594b28195da369962208b1f658e7342 e8a5d8be883d7d47ba09ae187092b13ca87b71bb git |
Not specified |
| CNA |
Linux |
Linux |
affected 6baaade15594b28195da369962208b1f658e7342 51e553a273d05df47d98d2bcbbdd2b8b9c9ebc57 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6baaade15594b28195da369962208b1f658e7342 faf008eaf133a667923d33a6dbc282fec2a4cdce git |
Not specified |
| CNA |
Linux |
Linux |
affected 6baaade15594b28195da369962208b1f658e7342 48859f8018d93bd93ef35f7430fdf5b97f2f9715 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.3 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.3 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.118 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.64 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.4 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/faf008eaf133a667923d33a6dbc282fec2a4cdce |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/e8a5d8be883d7d47ba09ae187092b13ca87b71bb |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/48859f8018d93bd93ef35f7430fdf5b97f2f9715 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/01cbc458da4d083f513df6bfa7a9cc8d4fe9eda1 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/51e553a273d05df47d98d2bcbbdd2b8b9c9ebc57 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.