CVE-2026-138839
published high CVSS 3.1 · 8.8m68k: Fix seccomp filtering on ColdFire and 68000
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux6baaade15594b28195da369962208b1f658e7342 to < 01cbc458da4d083f513df6bfa7a9cc8d4fe9eda1 · 6baaade15594b28195da369962208b1f658e7342 to < e8a5d8be883d7d47ba09ae187092b13ca87b71bb · 6baaade15594b28195da369962208b1f658e7342 to < 51e553a273d05df47d98d2bcbbdd2b8b9c9ebc57 · 6baaade15594b28195da369962208b1f658e7342 to < faf008eaf133a667923d33a6dbc282fec2a4cdce · 6baaade15594b28195da369962208b1f658e7342 to < 48859f8018d93bd93ef35f7430fdf5b97f2f9715 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.3 (affected) · 0 to < 6.3 (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Scenarios
- en: AV:L - The input is the syscall a confined task issues with trap #0 into system_call in arch/m68k/coldfire/entry.S or arch/m68k/68000/entry.S. Before the fix, these paths tested only TIF_SYSCALL_TRACE before dispatching. That is a local syscall from code already running on the box; no protocol message carries it. AC:L - If TIF_SECCOMP is set and the task is not ptraced (TIF_SYSCALL_TRACE clear), every syscall skips syscall_trace_enter()/seccomp_permit_syscall() and jumps straight to sys_call_table. There is no race or layout dependence. SECCOMP and SECCOMP_FILTER are def_bool y (with NET), so the m5208evb and m54418evb defconfigs are affected. PR:L - The attacker is code running inside a process whose filter was installed through seccomp()/prctl(PR_SET_SECCOMP) (seccomp_assign_mode() sets TIF_SECCOMP). An ordinary local process context is enough, with no capabilities. The bypass then grants whatever the task's own credentials permit. UI:N - The confined code just issues the syscall its filter denies, such as getpid, openat, unlinkat or reboot (the fix's QEMU mcf5208evb validation used these). No other user has to act. S:C - The filter is the sandbox boundary set by the supervisor, and the ColdFire/68000 entry path never consults it, so confined code reaches files, processes and kernel interfaces outside its sandbox. This includes MMU ColdFire (MMU_COLDFIRE: m54418evb, m5475evb): kernel/entry.S's system_call is compiled out there, so coldfire/entry.S is used, and process isolation is real. C:H - Escaped code can openat()/read() any file and open any socket family its credentials allow. The fix's validation shows an openat-denying filter was ineffective on ColdFire before the change, so all data the policy was written to withhold is disclosable. I:H - The fix's validation shows unlinkat- and openat-denying filters were ignored. Escaped code can write, unlink, execve, ptrace or clone without restriction, modifying anything the task's credentials reach that the filter was meant to protect. A:H - Every denied syscall runs, and the fix's own test shows a reboot-denying filter was bypassed. Even without capabilities, kill(-1, SIGKILL) and unlinkat() let escaped code kill every same-uid process and delete their files, a sustained denial of service.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 6baaade15594b28195da369962208b1f658e7342 to < 01cbc458da4d083f513df6bfa7a9cc8d4fe9eda1 (affected · git)6baaade15594b28195da369962208b1f658e7342 to < e8a5d8be883d7d47ba09ae187092b13ca87b71bb (affected · git)6baaade15594b28195da369962208b1f658e7342 to < 51e553a273d05df47d98d2bcbbdd2b8b9c9ebc57 (affected · git)6baaade15594b28195da369962208b1f658e7342 to < faf008eaf133a667923d33a6dbc282fec2a4cdce (affected · git)6baaade15594b28195da369962208b1f658e7342 to < 48859f8018d93bd93ef35f7430fdf5b97f2f9715 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.3 (affected)0 to < 6.3 (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
5- https://git.kernel.org/stable/c/01cbc458da4d083f513df6bfa7a9cc8d4fe9eda1
- https://git.kernel.org/stable/c/48859f8018d93bd93ef35f7430fdf5b97f2f9715
- https://git.kernel.org/stable/c/51e553a273d05df47d98d2bcbbdd2b8b9c9ebc57
- https://git.kernel.org/stable/c/e8a5d8be883d7d47ba09ae187092b13ca87b71bb
- https://git.kernel.org/stable/c/faf008eaf133a667923d33a6dbc282fec2a4cdce
Provider assertions
1Linux · cna
m68k: Fix seccomp filtering on ColdFire and 68000
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 649f0f8b3fece8671895186e2e5af6d5661fa79690606ad73ae5c4e722437549
- Ingested
- 01 Dec 2026, 05:47:22 UTC
- Source record
- Official CVE record