CVE-2026-138839 (GCVE-0-2026-138839)

Vulnerability from cvelistv5 – Published: 2026-11-30 13:25 – Updated: 2026-12-01 05:40
VLAI
Title
m68k: Fix seccomp filtering on ColdFire and 68000
Summary
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.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8585 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 6baaade15594b28195da369962208b1f658e7342 , < 01cbc458da4d083f513df6bfa7a9cc8d4fe9eda1 (git)
Affected: 6baaade15594b28195da369962208b1f658e7342 , < e8a5d8be883d7d47ba09ae187092b13ca87b71bb (git)
Affected: 6baaade15594b28195da369962208b1f658e7342 , < 51e553a273d05df47d98d2bcbbdd2b8b9c9ebc57 (git)
Affected: 6baaade15594b28195da369962208b1f658e7342 , < faf008eaf133a667923d33a6dbc282fec2a4cdce (git)
Affected: 6baaade15594b28195da369962208b1f658e7342 , < 48859f8018d93bd93ef35f7430fdf5b97f2f9715 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.3
Unaffected: 0 , < 6.3 (semver)
Unaffected: 6.6.163 , ≤ 6.6.* (semver)
Unaffected: 6.12.118 , ≤ 6.12.* (semver)
Unaffected: 6.18.64 , ≤ 6.18.* (semver)
Unaffected: 7.3.4 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "arch/m68k/68000/entry.S",
            "arch/m68k/coldfire/entry.S"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "01cbc458da4d083f513df6bfa7a9cc8d4fe9eda1",
              "status": "affected",
              "version": "6baaade15594b28195da369962208b1f658e7342",
              "versionType": "git"
            },
            {
              "lessThan": "e8a5d8be883d7d47ba09ae187092b13ca87b71bb",
              "status": "affected",
              "version": "6baaade15594b28195da369962208b1f658e7342",
              "versionType": "git"
            },
            {
              "lessThan": "51e553a273d05df47d98d2bcbbdd2b8b9c9ebc57",
              "status": "affected",
              "version": "6baaade15594b28195da369962208b1f658e7342",
              "versionType": "git"
            },
            {
              "lessThan": "faf008eaf133a667923d33a6dbc282fec2a4cdce",
              "status": "affected",
              "version": "6baaade15594b28195da369962208b1f658e7342",
              "versionType": "git"
            },
            {
              "lessThan": "48859f8018d93bd93ef35f7430fdf5b97f2f9715",
              "status": "affected",
              "version": "6baaade15594b28195da369962208b1f658e7342",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "arch/m68k/68000/entry.S",
            "arch/m68k/coldfire/entry.S"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.3"
            },
            {
              "lessThan": "6.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.163",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.118",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.64",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.4",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "6.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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": {
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
            "version": "3.1"
          },
          "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\u0027s own credentials permit.\nUI:N - The confined code just issues the syscall its filter denies, such as getpid, openat, unlinkat or reboot (the fix\u0027s 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\u0027s 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\u0027s 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\u0027s validation shows unlinkat- and openat-denying filters were ignored. Escaped code can write, unlink, execve, ptrace or clone without restriction, modifying anything the task\u0027s credentials reach that the filter was meant to protect.\nA:H - Every denied syscall runs, and the fix\u0027s 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."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-01T05:40:15.045Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-138839",
    "datePublished": "2026-11-30T13:25:27.826Z",
    "dateReserved": "2026-11-30T13:22:15.897Z",
    "dateUpdated": "2026-12-01T05:40:15.045Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-138839",
      "date": "2026-12-04",
      "epss": "0.00175",
      "percentile": "0.07315"
    },
    "microsoft_vex": {
      "current_release_date": "2026-12-02T01:05:39.000Z",
      "cve": "CVE-2026-138839",
      "id": "msrc_CVE-2026-138839",
      "initial_release_date": "2026-12-02T01:05:39.000Z",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "m68k: Fix seccomp filtering on ColdFire and 68000",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-138839.json",
      "version": "1"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "arch/m68k/68000/entry.S",
                  "arch/m68k/coldfire/entry.S"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "01cbc458da4d083f513df6bfa7a9cc8d4fe9eda1",
                    "status": "affected",
                    "version": "6baaade15594b28195da369962208b1f658e7342",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "e8a5d8be883d7d47ba09ae187092b13ca87b71bb",
                    "status": "affected",
                    "version": "6baaade15594b28195da369962208b1f658e7342",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "51e553a273d05df47d98d2bcbbdd2b8b9c9ebc57",
                    "status": "affected",
                    "version": "6baaade15594b28195da369962208b1f658e7342",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "faf008eaf133a667923d33a6dbc282fec2a4cdce",
                    "status": "affected",
                    "version": "6baaade15594b28195da369962208b1f658e7342",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "48859f8018d93bd93ef35f7430fdf5b97f2f9715",
                    "status": "affected",
                    "version": "6baaade15594b28195da369962208b1f658e7342",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "arch/m68k/68000/entry.S",
                  "arch/m68k/coldfire/entry.S"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.3"
                  },
                  {
                    "lessThan": "6.3",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.163",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.118",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.64",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.4",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "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."
          }
        ],
        "id": "CVE-2026-138839",
        "lastModified": "2026-12-01T06:17:28.447",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 8.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 2.0,
              "impactScore": 6.0,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-30T14:17:38.893",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/01cbc458da4d083f513df6bfa7a9cc8d4fe9eda1"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/48859f8018d93bd93ef35f7430fdf5b97f2f9715"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/51e553a273d05df47d98d2bcbbdd2b8b9c9ebc57"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/e8a5d8be883d7d47ba09ae187092b13ca87b71bb"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/faf008eaf133a667923d33a6dbc282fec2a4cdce"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-12-01T06:05:33+00:00",
      "cve": "CVE-2026-138839",
      "id": "CVE-2026-138839",
      "initial_release_date": "2026-11-30T13:25:27.826000+00:00",
      "product_status:known_not_affected": "280",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: seccomp sandbox bypass via omitted filter check on m68k",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-138839.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.