{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2"
            },
            {
              "fixed": "7405a29356b5f519434f90d04b1d6dd39e9fc858"
            },
            {
              "fixed": "9928b715e2daaa7fe12e810d213a2b0d8f4db5f0"
            },
            {
              "fixed": "21c5041e79a4764833e3b66e3efca508af0ddf90"
            },
            {
              "fixed": "79c636dffe63ac63a33145a9281cc7774ecb27d8"
            },
            {
              "fixed": "e47f875879259e16a0a16ded3236687b372efbe1"
            },
            {
              "fixed": "07b4cbae2060778e53e4b102f28b042abf1331c5"
            },
            {
              "fixed": "1460d772e2f28bf87f49414bc15886a26c15933c"
            },
            {
              "fixed": "020d2e70b7538b66eee3c3480d2b8921fb182f0c"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.12"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "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/100xxx/CVE-2026-100038.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nalpha: run check_mmu_context() from finish_arch_post_lock_switch()\n\ncheck_mmu_context() clears asn_lock and acts on need_new_asn, but it\nruns only as the tail of switch_to(), after alpha_switch_to() returns.\n\nA newly forked user task never gets there: its first context switch\nresumes at ret_from_fork and reaches schedule_tail() without returning\nto the code following alpha_switch_to().\n\nasn_lock is left set on that CPU, so the new user task can run with\ninterrupts enabled while shootdown IPIs keep taking the deferred path.\nThe handshake meant to complete those invalidations never runs.\n\nNew kernel threads also reach schedule_tail(), but context_switch()\ndoes not call switch_mm() for a task without an mm. They therefore do\nnot set asn_lock in the first place and are not affected by this bug.\n\nMove check_mmu_context() to finish_arch_post_lock_switch(), which is\ncalled by finish_task_switch() for both existing and newly created tasks.\nDrop the now redundant call from switch_to().\n\nThe hook runs after finish_lock_switch() releases the rq lock and enables\ninterrupts. An IPI arriving before asn_lock is cleared retires the slot\nthrough flush_tlb_other(); an IPI arriving afterwards can flush directly,\nsince PAL_swpctx has already installed the incoming context.\n\nSet need_new_asn whether ev5_switch_mm() reuses or allocates an ASN. An\nIPI in that interval can zero either slot. Without this, the allocated\ncase can return to user space with a live ASN but a zero context slot,\nwhich a later context-based shootdown shortcut could mistake for an\ninactive CPU. check_mmu_context() reloads only when the slot is zero.\n\nCall the hook unconditionally. Alpha selects ARCH_NO_PREEMPT, and neither\nkthread_use_mm() nor sched_force_init_mm() sleeps between the direct\nswitch and this hook. RCU_STRICT_GRACE_PERIOD can enable PREEMPT_COUNT,\nbut cannot make those callers migrate there. Testing preemptible() would\nonly leave asn_lock set in that configuration.\n\nThis requires the preceding direct-switch fix, \"alpha: load the MMU\ncontext when switch_mm() switches the current task\". It installs the\nborrowed context before kthread_use_mm() reaches this hook, so clearing\nasn_lock cannot expose a targeted invalidate against the wrong context.",
  "id": "CVE-2026-100038",
  "modified": "2026-11-30T14:45:27.878961314Z",
  "published": "2026-11-30T13:23:18.651Z",
  "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/020d2e70b7538b66eee3c3480d2b8921fb182f0c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/07b4cbae2060778e53e4b102f28b042abf1331c5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1460d772e2f28bf87f49414bc15886a26c15933c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/21c5041e79a4764833e3b66e3efca508af0ddf90"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7405a29356b5f519434f90d04b1d6dd39e9fc858"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/79c636dffe63ac63a33145a9281cc7774ecb27d8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9928b715e2daaa7fe12e810d213a2b0d8f4db5f0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e47f875879259e16a0a16ded3236687b372efbe1"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100038.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-100038"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "alpha: run check_mmu_context() from finish_arch_post_lock_switch()"
}