{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2"
            },
            {
              "fixed": "f46ad7a6fb199acbb70fbcbee74f42368aecbb03"
            },
            {
              "fixed": "c92003e46cd818c339598a77c1bcad5a517f6aa9"
            },
            {
              "fixed": "e4223344d89d70ad289494a0e92eef3ef58ccaa1"
            },
            {
              "fixed": "bc958129a57392adff6f2d374bbb0f32bbf9a5de"
            },
            {
              "fixed": "1af35afb40a355e5e50678792463509e0405d1a6"
            },
            {
              "fixed": "9b8be19d5dc9525a408942e2e8012873199e7455"
            }
          ],
          "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": "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-100039.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nalpha: load the MMU context when switch_mm() switches the current task\n\nev5_switch_mm() only prepares the incoming PCB. The context is installed\nby PAL_swpctx, which alpha_switch_to() issues against that PCB on the way\nout of the scheduler.\n\nDirect callers reach switch_mm() without going through alpha_switch_to():\nkthread_use_mm(), which borrows an mm for the current kernel thread,\nsched_force_init_mm() on the CPU-hotplug teardown path, and\ndo_shoot_lazy_tlb(), which switches to init_mm from an IPI. None explicitly\nloads the context, so the task can carry on running under whatever was\nloaded before. For kthread_use_mm(), current-\u003emm then names the borrowed\nmm even though its context has not been loaded. The other two callers\nchange active_mm while leaving current-\u003emm NULL.\n\nThe stale page-table root need not be swapper_pg_dir; it may belong to a\nuser process that ran on the CPU earlier, and the kthread's user accesses\ncan then read and write that process's memory wherever the stale mappings\nallow. Translations taken that way can also end up tagged with the\nborrowed mm's ASN: ev5_switch_mm() writes that ASN into the PCB, which the\nnext PAL_swpctx installs against the stale ptbr. An address the stale\ntables do not map faults instead, and since do_page_fault() resolves\nfaults against current-\u003emm without reloading the context, the same access\ncan fault again on return.\n\nsched_force_init_mm() needs CONFIG_HOTPLUG_CPU and do_shoot_lazy_tlb()\nneeds CONFIG_MMU_LAZY_TLB_SHOOTDOWN. Alpha selects neither, so only\nkthread_use_mm() is reachable in practice. Test the caller's identity\nrather than special-casing individual callers.\n\nThe scheduler passes the incoming task, which is not current until\nalpha_switch_to() runs; all three direct callers pass current. Test for\nthat and load the context the way activate_mm() does. All three run with\ninterrupts disabled across the switch, so this completes before any\nshootdown can be taken and needs no asn_lock handshake.",
  "id": "CVE-2026-100039",
  "modified": "2026-12-01T06:45:50.018300217Z",
  "published": "2026-11-30T13:23:19.184Z",
  "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/1af35afb40a355e5e50678792463509e0405d1a6"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9b8be19d5dc9525a408942e2e8012873199e7455"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bc958129a57392adff6f2d374bbb0f32bbf9a5de"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c92003e46cd818c339598a77c1bcad5a517f6aa9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e4223344d89d70ad289494a0e92eef3ef58ccaa1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f46ad7a6fb199acbb70fbcbee74f42368aecbb03"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100039.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-100039"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "alpha: load the MMU context when switch_mm() switches the current task"
}