{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "6baaade15594b28195da369962208b1f658e7342"
            },
            {
              "fixed": "01cbc458da4d083f513df6bfa7a9cc8d4fe9eda1"
            },
            {
              "fixed": "e8a5d8be883d7d47ba09ae187092b13ca87b71bb"
            },
            {
              "fixed": "51e553a273d05df47d98d2bcbbdd2b8b9c9ebc57"
            },
            {
              "fixed": "faf008eaf133a667923d33a6dbc282fec2a4cdce"
            },
            {
              "fixed": "48859f8018d93bd93ef35f7430fdf5b97f2f9715"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.3.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.118"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.64"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138839.json"
  },
  "details": "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.",
  "id": "CVE-2026-138839",
  "modified": "2026-12-01T06:45:38.679198670Z",
  "published": "2026-11-30T13:25:27.826Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/01cbc458da4d083f513df6bfa7a9cc8d4fe9eda1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/48859f8018d93bd93ef35f7430fdf5b97f2f9715"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/51e553a273d05df47d98d2bcbbdd2b8b9c9ebc57"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e8a5d8be883d7d47ba09ae187092b13ca87b71bb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/faf008eaf133a667923d33a6dbc282fec2a4cdce"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138839.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138839"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "m68k: Fix seccomp filtering on ColdFire and 68000"
}