FKIE_CVE-2026-100032

Vulnerability from fkie_nvd - Published: 2026-11-30 14:17 - Updated: 2026-12-01 06:17
Summary
In the Linux kernel, the following vulnerability has been resolved: alpha: do not skip TLB shootdown IPIs for kthread-borrowed mms flush_tlb_mm(), flush_tlb_page() and flush_icache_user_page() skip the shootdown IPI when mm_users <= 1, on the assumption that no other CPU can be running the mm. A task that borrows an mm through kthread_use_mm() takes mmgrab() rather than mmget(), so it never appears in mm_users, and kthread_use_mm() may be handed an mm that is already the caller's active_mm and loaded on that CPU. Such a CPU was not only left without an IPI, its mm->context[cpu] was cleared from under it. mm->context[cpu] is already the record of which CPUs hold an ASN for the mm. Test it rather than clearing it: take the shortcut only when no other CPU has one, and otherwise fall through to the IPI, which invalidates those CPUs properly. A CPU that merely ran the mm in the past also holds a context and now costs an IPI, which errs in the safe direction. Change ipi_flush_tlb_mm(), ipi_flush_icache_page() and the migration callback ipi_flush_mm_and_page() to test current->mm, like ipi_flush_tlb_page(). A CPU that only retains the mm lazily then clears its own slot through flush_tlb_other(), rather than publishing a new ASN on every IPI or migration rendezvous. The migration callback still does its per-VA tbi() afterwards. Returning to the mm allocates a fresh ASN through ev5_switch_mm(), or through the direct-load path when kthread_use_mm() switches current's mm. Once these historical slots are gone, the shortcut is available again if mm_users remains at most one and no other CPU has taken or kept a context. An explicit kthread_use_mm() borrower has current->mm set and still receives the invalidate it needs. The caller-side tests in flush_tlb_mm() and flush_icache_user_page() remain current->active_mm. A kernel thread that flushes its lazily held mm can therefore publish its own context slot. Those branches also perform the shortcut check, which excludes the calling CPU's slot, so leave them unchanged. This is distinct from a remote lazy CPU keeping its slot populated through repeated callbacks. Together with the preceding patch, dropping these clearing loops leaves every runtime write to mm->context[] targeting the writing CPU's own slot, so the array becomes a lockless publication of which CPUs may be using the mm, with a single writer per slot. Mark the two stores that are now observed from other CPUs; flush_tlb_other() already uses WRITE_ONCE(). The uniprocessor flush_icache_user_page() is left alone, as nothing reads another CPU's slot there, and init_new_context() runs before the mm is shared. Order the slot reads after the page-table changes with smp_mb(). On the publishing CPU, the store in ev5_switch_mm() precedes the mb() in Alpha's arch_spin_unlock(), when finish_lock_switch() drops the rq lock. This relies on Alpha's unlock implementation, not a generic scheduler promise of a full barrier on unlock; document that reliance at the store. Also issue smp_mb() after publishing in __load_new_mm_context(), before loading and using the mm. This covers every caller, including check_mmu_context(), which can publish a replacement after finish_lock_switch() has already run. This requires the preceding removal of remote slot clearing from migrate_flush_tlb_page(). It also requires the stale-TLB series to set need_new_asn on both the reused and newly allocated ASN paths. Otherwise an IPI between finish_lock_switch() and check_mmu_context() can zero a new slot while asn_lock is set, and the task can return to user space with a live ASN that the shortcut cannot see.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "arch/alpha/include/asm/mmu_context.h",
            "arch/alpha/kernel/smp.c",
            "arch/alpha/mm/fault.c",
            "arch/alpha/mm/tlbflush.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "9bd62e1fd11c6fdc2145b449f067ae73f3b8960c",
              "status": "affected",
              "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
              "versionType": "git"
            },
            {
              "lessThan": "5cb3129c30e0b6ea9700ad4911c8a4c842dc285c",
              "status": "affected",
              "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
              "versionType": "git"
            },
            {
              "lessThan": "398aee3dd326d709801c8b530c30cbe6ee7dafb9",
              "status": "affected",
              "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
              "versionType": "git"
            },
            {
              "lessThan": "1ded6b545bade7167471e2b3f2d4fe0c6489cd6e",
              "status": "affected",
              "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
              "versionType": "git"
            },
            {
              "lessThan": "643c1e5912592d14de28643f0d30fdef5a85bd23",
              "status": "affected",
              "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
              "versionType": "git"
            },
            {
              "lessThan": "fe221b7b2d3ecd042dd391f74ff6a6fdeb7c2038",
              "status": "affected",
              "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "arch/alpha/include/asm/mmu_context.h",
            "arch/alpha/kernel/smp.c",
            "arch/alpha/mm/fault.c",
            "arch/alpha/mm/tlbflush.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.12"
            },
            {
              "lessThan": "2.6.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.63",
              "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\nalpha: do not skip TLB shootdown IPIs for kthread-borrowed mms\n\nflush_tlb_mm(), flush_tlb_page() and flush_icache_user_page() skip the\nshootdown IPI when mm_users \u003c= 1, on the assumption that no other CPU can\nbe running the mm. A task that borrows an mm through kthread_use_mm()\ntakes mmgrab() rather than mmget(), so it never appears in mm_users, and\nkthread_use_mm() may be handed an mm that is already the caller\u0027s\nactive_mm and loaded on that CPU. Such a CPU was not only left without\nan IPI, its mm-\u003econtext[cpu] was cleared from under it.\n\nmm-\u003econtext[cpu] is already the record of which CPUs hold an ASN for the\nmm. Test it rather than clearing it: take the shortcut only when no\nother CPU has one, and otherwise fall through to the IPI, which\ninvalidates those CPUs properly. A CPU that merely ran the mm in the\npast also holds a context and now costs an IPI, which errs in the safe\ndirection.\n\nChange ipi_flush_tlb_mm(), ipi_flush_icache_page() and the migration\ncallback ipi_flush_mm_and_page() to test current-\u003emm, like\nipi_flush_tlb_page(). A CPU that only retains the mm lazily then clears\nits own slot through flush_tlb_other(), rather than publishing a new ASN\non every IPI or migration rendezvous. The migration callback still does\nits per-VA tbi() afterwards. Returning to the mm allocates a fresh ASN\nthrough ev5_switch_mm(), or through the direct-load path when\nkthread_use_mm() switches current\u0027s mm.\n\nOnce these historical slots are gone, the shortcut is available again\nif mm_users remains at most one and no other CPU has taken or kept a\ncontext. An explicit kthread_use_mm() borrower has current-\u003emm set and\nstill receives the invalidate it needs.\n\nThe caller-side tests in flush_tlb_mm() and flush_icache_user_page()\nremain current-\u003eactive_mm. A kernel thread that flushes its lazily held\nmm can therefore publish its own context slot. Those branches also\nperform the shortcut check, which excludes the calling CPU\u0027s slot, so\nleave them unchanged. This is distinct from a remote lazy CPU keeping\nits slot populated through repeated callbacks.\n\nTogether with the preceding patch, dropping these clearing loops leaves\nevery runtime write to mm-\u003econtext[] targeting the writing CPU\u0027s own slot,\nso the array becomes a lockless publication of which CPUs may be using the\nmm, with a single writer per slot. Mark the two stores that are now\nobserved from other CPUs; flush_tlb_other() already uses WRITE_ONCE().\nThe uniprocessor flush_icache_user_page() is left alone, as nothing reads\nanother CPU\u0027s slot there, and init_new_context() runs before the mm is\nshared.\n\nOrder the slot reads after the page-table changes with smp_mb(). On the\npublishing CPU, the store in ev5_switch_mm() precedes the mb() in Alpha\u0027s\narch_spin_unlock(), when finish_lock_switch() drops the rq lock. This\nrelies on Alpha\u0027s unlock implementation, not a generic scheduler promise\nof a full barrier on unlock; document that reliance at the store. Also\nissue smp_mb() after publishing in __load_new_mm_context(), before loading\nand using the mm.\n\nThis covers every caller, including check_mmu_context(), which can\npublish a replacement after finish_lock_switch() has already run.\n\nThis requires the preceding removal of remote slot clearing from\nmigrate_flush_tlb_page(). It also requires the stale-TLB series to set\nneed_new_asn on both the reused and newly allocated ASN paths. Otherwise\nan IPI between finish_lock_switch() and check_mmu_context() can zero a\nnew slot while asn_lock is set, and the task can return to user space\nwith a live ASN that the shortcut cannot see."
    }
  ],
  "id": "CVE-2026-100032",
  "lastModified": "2026-12-01T06:17:19.987",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "HIGH",
          "attackVector": "LOCAL",
          "availabilityImpact": "HIGH",
          "baseScore": 7.0,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 1.0,
        "impactScore": 5.9,
        "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "type": "Secondary"
      }
    ]
  },
  "published": "2026-11-30T14:17:18.963",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/1ded6b545bade7167471e2b3f2d4fe0c6489cd6e"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/398aee3dd326d709801c8b530c30cbe6ee7dafb9"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/5cb3129c30e0b6ea9700ad4911c8a4c842dc285c"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/643c1e5912592d14de28643f0d30fdef5a85bd23"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/9bd62e1fd11c6fdc2145b449f067ae73f3b8960c"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/fe221b7b2d3ecd042dd391f74ff6a6fdeb7c2038"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



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.