CVE-2026-138839: Linux kernel seccomp filters are never consulted on ColdFire and 68000 m68k systems

ByLinuxtastic

December 1, 2026 #CVE, #Linux Kernel

The m68k architecture “selects HAVE_ARCH_SECCOMP_FILTER for all configurations”, so a sandbox that installs a seccomp filter on a ColdFire or 68000 board believes it is enforced. It was not: “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.” The classic MMU m68k entry path (the 68020 and later, and emulated Macs and Amigas) is not affected. The kernel CNA scores it 8.8 as a local scope-changing bug; Red Hat rates it Important at 7.8 and notes it does not build m68k kernels at all, so no RHEL is affected. If you run Linux on ColdFire or 68000 hardware and rely on seccomp anywhere, upgrade to a kernel at or above 6.6.163, 6.12.118, 6.18.64 or 7.3.4; on every other architecture there is nothing to do.

CVE-2026-138839 at a glance.

ComponentLinux kernel, m68k architecture, no-MMU entry code: arch/m68k/coldfire/entry.S and arch/m68k/68000/entry.S, the system-call entry paths for ColdFire and 68000 CPUs
Affected versionsmainline 6.3 up to 7.4-rc1 (from commit 6baaade1, which enabled seccomp filtering on m68k); 6.6.x below 6.6.163, 6.12.x below 6.12.118, 6.18.x below 6.18.64, 7.3.x below 7.3.4. Kernels before 6.3, which had no seccomp filtering on m68k, are not affected, nor is any other architecture or the classic-MMU m68k entry path
Fixed inmainline 7.4-rc1 (commit 48859f80, the one Debian cites as upstream) and stable 6.6.163, 6.12.118, 6.18.64, 7.3.4; five fix commits in the record. The fix tests “the combined TIF_SYSCALL_TRACE and TIF_SECCOMP mask in both paths” and routes either flag through the slow path; the classic MMU entry code is unchanged
Severitykernel CNA CVSS 3.1 8.8 High (AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H, scope changed because the sandbox is the security boundary that fails); NVD Received with no score, CWE or CPE of its own. Red Hat Important, 7.8 without the scope change (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), CWE-653 (improper isolation), score marked draft, with every RHEL product listed not affected; Ubuntu Medium, not yet evaluated per release; SUSE and Alpine not reachable
Exploited in the wildNot on CISA’s Known Exploited Vulnerabilities list as of 1 December 2026 (catalogue 2026.11.30, released 30 November). EPSS: no score yet on 1 December 2026
Who is exposedonly Linux on ColdFire or 68000 CPUs, which are no-MMU embedded boards (the record validated the fix under QEMU’s mcf5208evb ColdFire machine and compile-tested a uClinux 68000 configuration); on those systems, any program that is supposed to be confined by a seccomp filter. No mainstream distribution ships a ColdFire or 68000 kernel: Debian’s m68k port targets the classic MMU CPUs, which the record says are unaffected, and Red Hat’s position is that it does not build or support m68k kernels. The at-risk population is embedded products built from upstream or Buildroot/Yocto kernels 6.3 and later
PublishedCVE record 30 November 2026 (kernel CNA, updated 1 December); this page built 1 December 2026, last updated 1 December 2026

What it is

seccomp filtering works by marking a task with TIF_SECCOMP and having the architecture’s system-call entry code take a slow path, syscall_trace_enter(), which runs the BPF filter before the call is dispatched. On m68k that slow path existed, and HAVE_ARCH_SECCOMP_FILTER was selected for every m68k configuration from 6.3, but the two no-MMU entry implementations tested only TIF_SYSCALL_TRACE when deciding whether to take it. A task being traced by ptrace would have its filter consulted as a side effect; a task that was merely sandboxed would not.

The result is a sandbox that reports success and enforces nothing: prctl(PR_SET_SECCOMP) and seccomp() return 0, the filter is installed, and every system call proceeds as if it were not there. The CNA’s scope-changed vector reflects that the thing defeated is a security boundary the process was placed behind on purpose; Red Hat scores the same local escalation without the scope change. The record’s validation is concrete: under QEMU ColdFire, “filters denying getpid, openat, unlinkat, and reboot each returned -EPERM” with the fix, and a classic-MMU control (the q800 machine) “denied the filtered getpid syscall both before and after this change”.

The fix is in two assembly files, arch/m68k/coldfire/entry.S and arch/m68k/68000/entry.S: test the combined TIF_SYSCALL_TRACE | TIF_SECCOMP mask “in both paths and route either flag through the existing slow path”. The 68000 path “shares the same source-level omission and receives the identical masked test but was not separately emulated”; it was compile-tested with CONFIG_SECCOMP_FILTER=y on a custom no-MMU configuration. git.kernel.org refused our reader, so the change is described from the CNA’s copy of the commit message.

Who is affected on Linux

Each row is what the distribution’s own security tracker said on 1 December 2026; the link in the row is the tracker page, which will be newer than this one.

DistributionStatusFixed package
AlpineNot consulted for this page—
DebianNot affected on bookworm (6.1, “Vulnerable code not present”); trixie (6.12.117-1) vulnerable, trixie’s security update, forky and sid fixed; no DSA or DLA. Debian’s m68k port is an unofficial classic-MMU port, which the record says is not affected in any casetrixie 6.12.118-1; forky and sid 7.3.6-1
UbuntuMedium; the linux package is needs evaluation on every release from 14.04 to 26.10, nothing released or in progress on 1 December 2026; Ubuntu builds no m68k kernel, so the rows are bookkeepingnothing needed
RHEL, Rocky, Alma, CentOS StreamImportant, 7.8, CWE-653 (bug 2586245); not affected on every RHEL release and every OpenShift image, because Red Hat builds no m68k kernelnone needed
openSUSE/SLETracker unreachable on 1 December 2026 (client error on two attempts); nothing inferred—
Fedora, Arch; self-built kernelsNot consulted; upstream stable versions apply to self-built ColdFire and 68000 kernels (Buildroot, Yocto, uClinux)6.6.163 / 6.12.118 / 6.18.64 / 7.3.4 or later

How to check

Two questions settle this one: is the CPU a ColdFire or 68000, and is anything on the board relying on seccomp. If the first answer is no, the page does not apply to that machine.

# 1. architecture and CPU: only m68k without an MMU (ColdFire, 68000) is in scope
uname -m
grep -E '^(CPU|MMU)' /proc/cpuinfo 2>/dev/null
grep -E 'CONFIG_(COLDFIRE|M68000|MMU)=' /boot/config-$(uname -r) /proc/config.gz 2>/dev/null

# 2. the running kernel, and whether seccomp filtering is built in
uname -r
grep -E 'CONFIG_SECCOMP(_FILTER)?=' /boot/config-$(uname -r) /proc/config.gz 2>/dev/null

# 3. which running tasks believe they are filtered (Seccomp: 2 is filter mode)
grep -l '^Seccomp:.*2' /proc/[0-9]*/status 2>/dev/null | head

Any CPU other than a ColdFire or 68000 is out of scope, whatever the kernel version. On a ColdFire or 68000 board, a kernel at or above the fixed stable version for its series is done; an older one at 6.3 or later with CONFIG_SECCOMP_FILTER=y and tasks showing Seccomp: 2 is the case the score is about, since those tasks are running unconfined while reporting otherwise. A board whose software never installs a filter has nothing to lose from this bug, though the fixed kernel costs nothing.

How to fix it

Install the fixed kernel and reboot; on an embedded board that means rebuilding the image from a fixed stable series and reflashing. No binary distribution ships an affected kernel, so the apt and dnf lines below are for completeness only.

# self-built kernels (Buildroot, Yocto, uClinux): rebuild from a fixed stable release
#   6.6.163 / 6.12.118 / 6.18.64 / 7.3.4 or later, then reflash and reboot
uname -r

# binary distributions carry no ColdFire or 68000 kernel; the usual lines are harmless
apt update && apt full-upgrade && systemctl reboot
dnf upgrade kernel && systemctl reboot

Until the rebuilt kernel is flashed, treat every seccomp-confined process on the board as unconfined and fall back on the other boundaries available on a no-MMU system, which are few: separate users, file permissions and not running untrusted code at all. What not to do: do not add ptrace tracing to sandboxed processes as a workaround on the theory that TIF_SYSCALL_TRACE takes the slow path, since that leaves a tracer attached to every confined task and is not what the record validated; and do not spend a maintenance window on this on x86, arm64 or classic-MMU m68k machines, which do not carry the bug.

Sources

  • CVE-2026-138839 at CVE.org — the kernel CNA record (30 November 2026, updated 1 December when the CNA added its CVSS 3.1 metric): the commit message with the QEMU validation on mcf5208evb and q800, the git and version ranges, CVSS 3.1 8.8
  • Fix commits on git.kernel.org: 48859f80 (mainline, 7.4-rc1, the commit Debian cites as upstream) and the backports 01cbc458, e8a5d8be, 51e553a2, faf008ea; git.kernel.org refuses automated readers, so the diffs were not read for this page and the fix is described from the CNA’s copy of the commit message
  • NVD entry — Received on 30 November, carrying the CNA’s ranges; no NVD score, CWE or CPE on 1 December
  • Distribution trackers: Debian (bookworm not affected, trixie security 6.12.118-1 fixed) · Ubuntu (Medium, needs evaluation) · Red Hat (Important 7.8, CWE-653, no product affected) · SUSE (unreachable on 1 December)
  • CISA KEV catalogue 2026.11.30, not listed · EPSS: no score for this CVE on 1 December 2026

Related reading

This advisory page was assembled from the primary sources listed above on 1 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.