{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-138839","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.897Z","datePublished":"2026-11-30T13:25:27.826Z","dateUpdated":"2026-12-01T05:40:15.045Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-01T05:40:15.045Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nm68k: Fix seccomp filtering on ColdFire and 68000\n\nm68k selects HAVE_ARCH_SECCOMP_FILTER for all configurations, but the\nColdFire and 68000 syscall entry paths only branch to\nsyscall_trace_enter() for TIF_SYSCALL_TRACE. TIF_SECCOMP alone falls\nthrough to syscall dispatch, leaving installed filters ineffective.\n\nTest the combined TIF_SYSCALL_TRACE and TIF_SECCOMP mask in both paths\nand route either flag through the existing slow path. Leave the classic\nMMU syscall entry implementation unchanged.\n\nValidated the combined test under QEMU mcf5208evb (ColdFire): filters\ndenying getpid, openat, unlinkat, and reboot each returned -EPERM. A\nclassic-MMU control (q800) denied the filtered getpid syscall both before\nand after this change. The 68000 path shares the same source-level\nomission and receives the identical masked test but was not separately\nemulated. Compile-tested W=1 with CONFIG_SECCOMP_FILTER=y on both\nm5208evb_defconfig and a custom no-MMU UCSIMM configuration; the latter\nbuilt arch/m68k/68000/entry.o and vmlinux."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"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.\nAC: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.\nPR: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.\nUI: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.\nS: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.\nC: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.\nI: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.\nA: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."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/m68k/68000/entry.S","arch/m68k/coldfire/entry.S"],"versions":[{"version":"6baaade15594b28195da369962208b1f658e7342","lessThan":"01cbc458da4d083f513df6bfa7a9cc8d4fe9eda1","status":"affected","versionType":"git"},{"version":"6baaade15594b28195da369962208b1f658e7342","lessThan":"e8a5d8be883d7d47ba09ae187092b13ca87b71bb","status":"affected","versionType":"git"},{"version":"6baaade15594b28195da369962208b1f658e7342","lessThan":"51e553a273d05df47d98d2bcbbdd2b8b9c9ebc57","status":"affected","versionType":"git"},{"version":"6baaade15594b28195da369962208b1f658e7342","lessThan":"faf008eaf133a667923d33a6dbc282fec2a4cdce","status":"affected","versionType":"git"},{"version":"6baaade15594b28195da369962208b1f658e7342","lessThan":"48859f8018d93bd93ef35f7430fdf5b97f2f9715","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/m68k/68000/entry.S","arch/m68k/coldfire/entry.S"],"versions":[{"version":"6.3","status":"affected"},{"version":"0","lessThan":"6.3","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.12.118"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"6.18.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.3","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/01cbc458da4d083f513df6bfa7a9cc8d4fe9eda1"},{"url":"https://git.kernel.org/stable/c/e8a5d8be883d7d47ba09ae187092b13ca87b71bb"},{"url":"https://git.kernel.org/stable/c/51e553a273d05df47d98d2bcbbdd2b8b9c9ebc57"},{"url":"https://git.kernel.org/stable/c/faf008eaf133a667923d33a6dbc282fec2a4cdce"},{"url":"https://git.kernel.org/stable/c/48859f8018d93bd93ef35f7430fdf5b97f2f9715"}],"title":"m68k: Fix seccomp filtering on ColdFire and 68000","x_generator":{"engine":"bippy-1.2.0"}}}}